This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jci.git

commit 5720053189b2271a00a22bcc394531ada8781ab0
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Tue Jul 9 14:29:47 2024 -0400

    Remove redundant parens
---
 .../commons/jci2/fam/monitor/FilesystemAlterationMonitorTestCase.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/fam/src/test/java/org/apache/commons/jci2/fam/monitor/FilesystemAlterationMonitorTestCase.java
 
b/fam/src/test/java/org/apache/commons/jci2/fam/monitor/FilesystemAlterationMonitorTestCase.java
index 83d5058..314473f 100644
--- 
a/fam/src/test/java/org/apache/commons/jci2/fam/monitor/FilesystemAlterationMonitorTestCase.java
+++ 
b/fam/src/test/java/org/apache/commons/jci2/fam/monitor/FilesystemAlterationMonitorTestCase.java
@@ -343,7 +343,7 @@ public final class FilesystemAlterationMonitorTestCase 
extends TestCase {
         final long diff = t2-t1;
 
         // interval should be at around the same interval
-        assertTrue("the interval was set to " + interval + " but the time 
difference was " + diff, (diff > (interval-50)) && (diff < (interval+50)));
+        assertTrue("the interval was set to " + interval + " but the time 
difference was " + diff, diff > interval-50 && diff < interval+50);
 
         stop();
     }

Reply via email to