EA-79283 - IAE: JBZipEntry.setComment

This commit is contained in:
Dmitry Avdeev
2016-11-02 16:24:52 +03:00
parent 4763dd5436
commit 2abc92c568
@@ -126,7 +126,7 @@ public class WorkingContextManager {
}
JBZipEntry entry = archive.getOrCreateEntry("/" + entryName);
if (comment != null) {
entry.setComment(comment);
entry.setComment(comment.substring(0, 200));
}
Element element = new Element("context");
saveContext(element);