Skip to content

Commit

Permalink
Review.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkocher committed Oct 12, 2023
1 parent 39d53c5 commit c49ab6b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public String fingerprint(final InputStream in) throws BackgroundException {
final String undelimited = ChecksumComputeFactory.get(HashAlgorithm.md5).compute(in, new TransferStatus()).hash;
final StringBuilder fp = new StringBuilder(undelimited.substring(0, 2));
for(int i = 2; i <= undelimited.length() - 2; i += 2) {
fp.append(":").append(undelimited.substring(i, i + 2));
fp.append(":").append(undelimited, i, i + 2);
}
return fp.toString();
}
Expand Down

0 comments on commit c49ab6b

Please sign in to comment.