Skip to content

Commit a56225c

Browse files
author
Richard van Heest
committed
add final keyword to checkHashes as well
1 parent 8869467 commit a56225c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/gov/loc/repository/bagit/verify/BagVerifier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public final void isValid(final Bag bag, final boolean ignoreHiddenFiles) throws
149149
* Check the supplied checksum hashes against the generated checksum hashes
150150
*/
151151
@SuppressWarnings("PMD.AvoidInstantiatingObjectsInLoops")
152-
protected void checkHashes(final Manifest manifest) throws CorruptChecksumException, InterruptedException, VerificationException{
152+
protected final void checkHashes(final Manifest manifest) throws CorruptChecksumException, InterruptedException, VerificationException{
153153
final CountDownLatch latch = new CountDownLatch( manifest.getFileToChecksumMap().size());
154154

155155
//TODO maybe return all of these at some point...

0 commit comments

Comments
 (0)