From 8e5165e6dd908f3ec6b67007c42cb1ce90a079ee Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 31 Jul 2014 14:33:05 +0200 Subject: [PATCH] Remove check that is never triggered. --- src/main/java/net/pterodactylus/sone/core/SoneModificationDetector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.7.4