Remove check that is never triggered.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 31 Jul 2014 12:33:05 +0000 (14:33 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 31 Jul 2014 12:33:05 +0000 (14:33 +0200)
src/main/java/net/pterodactylus/sone/core/SoneModificationDetector.java

index 2dd4d78..aba329c 100644 (file)
@@ -75,7 +75,7 @@ class SoneModificationDetector {
        }
 
        private boolean insertionDelayHasPassed() {
-               return lastModificationTime.isPresent() && (NANOSECONDS.toSeconds(ticker.read() - lastModificationTime.get()) >= insertionDelay.get());
+               return NANOSECONDS.toSeconds(ticker.read() - lastModificationTime.get()) >= insertionDelay.get();
        }
 
        public boolean isModified() {