mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-29 08:24:46 +01:00
code clean up
This commit is contained in:
parent
8c526de0af
commit
feba9a71ee
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue