Make loadSone() method private.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 7 Dec 2014 10:53:21 +0000 (11:53 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 7 Dec 2014 10:53:21 +0000 (11:53 +0100)
src/main/java/net/pterodactylus/sone/database/memory/MemoryDatabase.java

index 2d80ca5..330f588 100644 (file)
@@ -194,7 +194,7 @@ public class MemoryDatabase extends AbstractService implements Database {
                return localSone;
        }
 
-       public void loadSone(LocalSone sone) {
+       private void loadSone(LocalSone sone) {
                long soneTime = configurationLoader.getLocalSoneTime(sone.getId());
                if (soneTime == -1) {
                        return;