projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don’t load missing following times as Long.MAX_VALUE
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
database
/
memory
/
ConfigurationLoader.java
diff --git
a/src/main/java/net/pterodactylus/sone/database/memory/ConfigurationLoader.java
b/src/main/java/net/pterodactylus/sone/database/memory/ConfigurationLoader.java
index
bb82ee2
..
e471f0d
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/database/memory/ConfigurationLoader.java
+++ b/
src/main/java/net/pterodactylus/sone/database/memory/ConfigurationLoader.java
@@
-75,7
+75,7
@@
public class ConfigurationLoader {
if (soneId == null) {
break;
}
if (soneId == null) {
break;
}
- soneFollowingTimes.put(soneId, configuration.getLongValue("SoneFollowingTimes/" + soneCounter++ + "/Time").getValue(
Long.MAX_VALUE
));
+ soneFollowingTimes.put(soneId, configuration.getLongValue("SoneFollowingTimes/" + soneCounter++ + "/Time").getValue(
null
));
}
return soneFollowingTimes;
}
}
return soneFollowingTimes;
}