From 6ee2bd5211b82e4b02b82468d242c91dcc4537f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 7 Oct 2015 20:49:05 +0200 Subject: [PATCH] Clean up class constants --- src/main/java/net/pterodactylus/sone/data/Id.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/net/pterodactylus/sone/data/Id.java b/src/main/java/net/pterodactylus/sone/data/Id.java index f32627c..75f9bc6 100644 --- a/src/main/java/net/pterodactylus/sone/data/Id.java +++ b/src/main/java/net/pterodactylus/sone/data/Id.java @@ -12,10 +12,8 @@ import com.google.common.hash.Hashing; */ public class Id { - private static final HashFunction HASH_FUNCTION = Hashing.sha256(); - public static final int LENGTH = HASH_FUNCTION.bits() / 4; + private static final HashFunction sha256 = Hashing.sha256(); - private final HashFunction sha256 = HASH_FUNCTION; private final String soneId; private final String elementId; -- 2.7.4