-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Description
In CheckstyleValidator.configuration():
if (!parent.exists() && !parent.mkdirs()) { throw new IllegalStateException( String.format( "Unable to create directories needed for %s", cache.getPath() ) ); }
-
Problem: If parent.exists() returns true but the directory is not actually writable, this will not be caught.
-
Consequence: Later file operations may fail.
-
Fix: Consider checking for writability as well.
Metadata
Metadata
Assignees
Labels
No labels