You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/11/11 15:38:27 UTC
(commons-io) 02/02: Remove unnecessary parentheses
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 <ga...@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.