mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-12-23 10:38:01 +00:00
Fix some FindBugs issues.
This commit is contained in:
parent
f201cdc4e8
commit
b375b5402d
@ -94,7 +94,7 @@ public final class RedisBungee extends Plugin {
|
||||
Map<String, String> heartbeats = jedis.hgetAll("heartbeats");
|
||||
for (Map.Entry<String, String> entry : heartbeats.entrySet()) {
|
||||
try {
|
||||
long stamp = Long.valueOf(entry.getValue());
|
||||
long stamp = Long.parseLong(entry.getValue());
|
||||
if (System.currentTimeMillis() < stamp + 30000)
|
||||
servers.add(entry.getKey());
|
||||
else if (nag <= 0) {
|
||||
|
@ -74,7 +74,7 @@ class UUIDFetcher implements Callable<Map<String, UUID>> {
|
||||
return uuidMap;
|
||||
}
|
||||
|
||||
private class Profile {
|
||||
private static class Profile {
|
||||
String id;
|
||||
String name;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user