Add Sone change collector
[Sone.git] / src / main / java / net / pterodactylus / sone / database / memory / MemoryDatabase.java
index 07bcf2f..4a8b6f0 100644 (file)
@@ -17,7 +17,6 @@
 
 package net.pterodactylus.sone.database.memory;
 
-import static com.google.common.base.Optional.fromNullable;
 import static com.google.common.base.Preconditions.checkNotNull;
 import static com.google.common.base.Predicates.not;
 import static com.google.common.collect.FluentIterable.from;
@@ -320,6 +319,12 @@ public class MemoryDatabase extends AbstractService implements Database {
                memoryFriendDatabase.removeFriend(localSone.getId(), friendSoneId);
        }
 
+       @Nullable
+       @Override
+       public Long getFollowingTime(@Nonnull String friendSoneId) {
+               return memoryFriendDatabase.getFollowingTime(friendSoneId);
+       }
+
        //
        // POSTPROVIDER METHODS
        //