Skip to content
Permalink
Browse files

Fix NullPointer

  • Loading branch information...
t-oster committed May 3, 2019
1 parent 57b7c89 commit a0c2fb83c6664ceac535f16d084817e986eba4aa
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/com/t_oster/visicut/managers/FilebasedManager.java
@@ -201,7 +201,7 @@ public void save(T mp, File f) throws FileNotFoundException, IOException
this.setThumbnail(mp, Helper.removeParentPath(f.getParentFile(), this.getThumbnail(mp)));
}
FileOutputStream out = new FileOutputStream(f);
writeObjectToXmlStream(mp, out, xstream);
writeObjectToXmlStream(mp, out, getXStream());
out.close();
this.setThumbnail(mp, Helper.addParentPath(f.getParentFile(), this.getThumbnail(mp)));
}

0 comments on commit a0c2fb8

Please sign in to comment.
You can’t perform that action at this time.