experiemtnal save fn actualyl working

This commit is contained in:
Ondřej Hruška
2014-04-23 01:52:57 +02:00
parent facec9d6d3
commit 56aef90e83
4 changed files with 23 additions and 7 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ public class Ion {
*/
public static <T extends IonBundled> T fromStream(InputStream in, Class<? extends T> objClass) throws IOException
{
return unwrap(new IonInput(in).readBundle(), objClass);
return unwrap((IonBundle)new IonInput(in).readObject(), objClass);
}