Skip to content

Commit 8dca0f4

Browse files
committed
Remove unnecessary parentheses
1 parent 2f18e22 commit 8dca0f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/apache/commons/io/build/AbstractOriginTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public void testGetRandomAccessFile() throws IOException {
181181
// Write, first access
182182
try (final RandomAccessFile raf = getOriginRw().getRandomAccessFile(StandardOpenOption.WRITE)) {
183183
assertNotNull(raf);
184-
if (isRafOriginRw || (getOriginRw().getFile() != null)) {
184+
if (isRafOriginRw || getOriginRw().getFile() != null) {
185185
assertTrue(isValid(raf), () -> getOriginRw().toString());
186186
} else {
187187
// Can't get there from here.

0 commit comments

Comments
 (0)