Code style: move private constructors for singleton classes to the top of the file
This commit is contained in:
@@ -31,6 +31,7 @@ import java.util.Optional;
|
||||
import java.util.UUID;
|
||||
|
||||
public final class RedisBungeeUtil {
|
||||
private RedisBungeeUtil() {}
|
||||
|
||||
/**
|
||||
* Looks up a UUID from username via RedisBungee's uuid cache.
|
||||
@@ -46,6 +47,4 @@ public final class RedisBungeeUtil {
|
||||
return Optional.ofNullable(RedisBungee.getApi()).map(a -> a.getNameFromUuid(uuid, true));
|
||||
}
|
||||
|
||||
private RedisBungeeUtil() {}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user