Skip to content

Commit

Permalink
Lance's suggestion - better comment on the method
Browse files Browse the repository at this point in the history
  • Loading branch information
jaikiran committed Dec 4, 2024
1 parent 60416aa commit 6c153ea
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,10 @@ private void ensureOpen() throws IOException {
}
}

/* Throws if the given jar file does not start with the correct LOC */
/*
* Throws an IOException if the LOC file Header Signature (0x04034b50),
* is not found starting at byte 0 of the given jar.
*/
static JarFile checkJar(JarFile jar) throws IOException {
if (!JAR_CHECKING_ENABLED) {
return jar;
Expand Down

0 comments on commit 6c153ea

Please sign in to comment.