From: David ‘Bombe’ Roden Date: Thu, 31 Jul 2014 12:33:05 +0000 (+0200) Subject: Remove check that is never triggered. X-Git-Tag: 0.9-rc1^2~3^2~192 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8e5165e6dd908f3ec6b67007c42cb1ce90a079ee;p=Sone.git Remove check that is never triggered. --- diff --git a/src/main/java/net/pterodactylus/sone/core/SoneModificationDetector.java b/src/main/java/net/pterodactylus/sone/core/SoneModificationDetector.java index 2dd4d78..aba329c 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneModificationDetector.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneModificationDetector.java @@ -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() {