We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f18e22 commit 8dca0f4Copy full SHA for 8dca0f4
src/test/java/org/apache/commons/io/build/AbstractOriginTest.java
@@ -181,7 +181,7 @@ public void testGetRandomAccessFile() throws IOException {
181
// Write, first access
182
try (final RandomAccessFile raf = getOriginRw().getRandomAccessFile(StandardOpenOption.WRITE)) {
183
assertNotNull(raf);
184
- if (isRafOriginRw || (getOriginRw().getFile() != null)) {
+ if (isRafOriginRw || getOriginRw().getFile() != null) {
185
assertTrue(isValid(raf), () -> getOriginRw().toString());
186
} else {
187
// Can't get there from here.
0 commit comments