From feba9a71ee6bf0094829daf6e5aab03deb0d835c Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Tue, 2 Jul 2019 11:10:21 +0200 Subject: [PATCH] code clean up --- src/main/java/eu/siacs/conversations/utils/XEP0392Helper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/utils/XEP0392Helper.java b/src/main/java/eu/siacs/conversations/utils/XEP0392Helper.java index a482c80ac..ee6a90e1e 100644 --- a/src/main/java/eu/siacs/conversations/utils/XEP0392Helper.java +++ b/src/main/java/eu/siacs/conversations/utils/XEP0392Helper.java @@ -7,7 +7,7 @@ import org.hsluv.HUSLColorConverter; import java.security.MessageDigest; -public class XEP0392Helper { +class XEP0392Helper { private static double angle(String nickname) { try { @@ -20,7 +20,7 @@ public class XEP0392Helper { } } - public static int rgbFromNick(String name) { + static int rgbFromNick(String name) { double[] hsluv = new double[3]; hsluv[0] = angle(name) * 360; hsluv[1] = 100;