projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
🔊 Log element loader’s decisions and results
[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
..
268f1a2
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/database/memory/ConfigurationLoader.java
+++ b/
src/main/java/net/pterodactylus/sone/database/memory/ConfigurationLoader.java
@@
-18,8
+18,6
@@
import net.pterodactylus.util.config.ConfigurationException;
/**
* Helper class for interacting with a {@link Configuration}.
/**
* Helper class for interacting with a {@link Configuration}.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
public class ConfigurationLoader {
*/
public class ConfigurationLoader {
@@
-75,7
+73,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;
}
@@
-95,7
+93,7
@@
public class ConfigurationLoader {
}
private Set<String> loadIds(String prefix) {
}
private Set<String> loadIds(String prefix) {
- Set<String> ids = new HashSet<
String
>();
+ Set<String> ids = new HashSet<>();
int idCounter = 0;
while (true) {
String id = configuration
int idCounter = 0;
while (true) {
String id = configuration