Commit 1e50becd authored by Karsten Loesing's avatar Karsten Loesing
Browse files

Fix deprecation warning from Apache Commons Codec.

parent f191927e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ public class SummaryDocument extends Document {
  public String getHashedFingerprint() {
    if (this.hashedFingerprint == null && this.f != null) {
      try {
        this.hashedFingerprint = DigestUtils.shaHex(Hex.decodeHex(
        this.hashedFingerprint = DigestUtils.sha1Hex(Hex.decodeHex(
            this.f.toCharArray())).toUpperCase();
      } catch (DecoderException e) {
        /* Format tested in setFingerprint(). */