code clean up

This commit is contained in:
Daniel Gultsch 2019-07-02 11:10:21 +02:00
parent 8c526de0af
commit feba9a71ee
1 changed files with 2 additions and 2 deletions

View File

@ -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;