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-io.git

commit 8dca0f4ce98b3c9ddc2fc1614919d23df2c7dabf
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Nov 11 10:36:33 2024 -0500

    Remove unnecessary parentheses
---
 src/test/java/org/apache/commons/io/build/AbstractOriginTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/io/build/AbstractOriginTest.java 
b/src/test/java/org/apache/commons/io/build/AbstractOriginTest.java
index 0a872ffd8..9a6416c0e 100644
--- a/src/test/java/org/apache/commons/io/build/AbstractOriginTest.java
+++ b/src/test/java/org/apache/commons/io/build/AbstractOriginTest.java
@@ -181,7 +181,7 @@ public abstract class AbstractOriginTest<T, B extends 
AbstractOrigin<T, B>> {
         // Write, first access
         try (final RandomAccessFile raf = 
getOriginRw().getRandomAccessFile(StandardOpenOption.WRITE)) {
             assertNotNull(raf);
-            if (isRafOriginRw || (getOriginRw().getFile() != null)) {
+            if (isRafOriginRw || getOriginRw().getFile() != null) {
                 assertTrue(isValid(raf), () -> getOriginRw().toString());
             } else {
                 // Can't get there from here.

Reply via email to