Skip to content
Snippets Groups Projects
Commit 32218684 authored by srosse's avatar srosse
Browse files

no-jira: fix the xstream settings which make the whole package independent

parent abfe756d
No related branches found
No related tags found
No related merge requests found
...@@ -429,7 +429,7 @@ public class PersistingCourseImpl implements ICourse, OLATResourceable, Serializ ...@@ -429,7 +429,7 @@ public class PersistingCourseImpl implements ICourse, OLATResourceable, Serializ
if (vfsItem == null || !(vfsItem instanceof VFSLeaf)) { if (vfsItem == null || !(vfsItem instanceof VFSLeaf)) {
throw new AssertException("Cannot resolve file: " + fileName + " course=" + toString()); throw new AssertException("Cannot resolve file: " + fileName + " course=" + toString());
} }
XStream xstream = CourseXStreamAliases.getWriteCourseXStream(); XStream xstream = CourseXStreamAliases.getReadCourseXStream();
return XStreamHelper.readObject(xstream, ((VFSLeaf)vfsItem).getInputStream()); return XStreamHelper.readObject(xstream, ((VFSLeaf)vfsItem).getInputStream());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment