added two assertions into the isDirectory method (located at /src/main/java/org/rauschig/jarchivelib/CommonsArchiveEntry.java). the added assertions are as follows:
// Entry should not be null
assert entry != null : "entry should not be null";
// Entry should be a directory
assert entry.isDirectory() : "entry should be a directory";
which would make running the program more reliable.
added two assertions into the isDirectory method (located at /src/main/java/org/rauschig/jarchivelib/CommonsArchiveEntry.java). the added assertions are as follows:
// Entry should not be null assert entry != null : "entry should not be null"; // Entry should be a directory assert entry.isDirectory() : "entry should be a directory";
which would make running the program more reliable.