-
Enhancement
-
Resolution: Won't Fix
-
P3
-
None
-
7
-
generic
-
generic
Better for ZipFileAttributes.comments() to return String instead of raw byte[]. That way, users don't need to convert it to String with proper Charset, which actually should have been done when createing a new zip fils system instance.
public byte[] comment() {
if (e.comment != null)
return Arrays.copyOf(e.comment, e.comment.length);
return null;
}
public byte[] comment() {
if (e.comment != null)
return Arrays.copyOf(e.comment, e.comment.length);
return null;
}