From 115a72da6562646b5bbc8ffb3aafd6830d7a165f Mon Sep 17 00:00:00 2001 From: Jan Bartel Date: Tue, 1 Dec 2020 17:19:46 +0100 Subject: [PATCH] Issue #5086 Fix checkstyle in test Signed-off-by: Jan Bartel --- .../src/test/java/org/eclipse/jetty/util/ScannerTest.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/jetty-util/src/test/java/org/eclipse/jetty/util/ScannerTest.java b/jetty-util/src/test/java/org/eclipse/jetty/util/ScannerTest.java index 05677ffdfe4..09b5b0261d6 100644 --- a/jetty-util/src/test/java/org/eclipse/jetty/util/ScannerTest.java +++ b/jetty-util/src/test/java/org/eclipse/jetty/util/ScannerTest.java @@ -38,7 +38,6 @@ import org.hamcrest.Matchers; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.condition.DisabledIfSystemProperty; import org.junit.jupiter.api.condition.DisabledOnOs; import static org.hamcrest.MatcherAssert.assertThat; @@ -127,7 +126,7 @@ public class ScannerTest @Override public boolean equals(Object obj) { - return ((Event)obj)._filename.equals(_filename) && ((Event)obj)._notification == _notification; + return ((Event)obj)._filename.equals(_filename) && ((Event)obj)._notification == _notification; } @Override @@ -135,8 +134,6 @@ public class ScannerTest { return ("File: " + _filename + ":" + _notification); } - - } @Test