Skip to content

Commit a8b3ae6

Browse files
committed
Remove useless parens.
1 parent 3ca0590 commit a8b3ae6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/apache/commons/io/FileUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2195,7 +2195,7 @@ public static Collection<File> listFilesAndDirs(
21952195
* @see File#mkdirs()
21962196
*/
21972197
private static File mkdirs(final File directory) throws IOException {
2198-
if ((directory != null) && (!directory.mkdirs() && !directory.isDirectory())) {
2198+
if (directory != null && !directory.mkdirs() && !directory.isDirectory()) {
21992199
throw new IOException("Cannot create directory '" + directory + "'.");
22002200
}
22012201
return directory;

0 commit comments

Comments
 (0)