MCPcopy Index your code
hub / github.com/dumbledore/AlbiteREADER / setComment

Method setComment

src/gnu/zip/ZipEntry.java:399–404  ·  view source on GitHub ↗

Sets the entry comment. @exception IllegalArgumentException if comment is longer than 0xffff.

(String comment)

Source from the content-addressed store, hash-verified

397 * @exception IllegalArgumentException if comment is longer than 0xffff.
398 */
399 public void setComment(String comment)
400 {
401 if (comment != null && comment.length() > 0xffff)
402 throw new IllegalArgumentException();
403 this.comment = comment;
404 }
405
406 /**
407 * Gets the comment.

Callers 1

readEntriesMethod · 0.95

Calls 1

lengthMethod · 0.80

Tested by

no test coverage detected