Details
-
Improvement
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
2.8.1
-
None
-
None
Description
i found the method is unused method,and is internal implementation.In order to keep the code clean,I think it should be deleted or marked as unused.
/**
- internal implementation of directory creation.
* - @param path path to file
- @return boolean file is created; false: no need to create
- @throws IOException if specified path is file instead of directory
*/
private boolean mkdir(Path path) throws IOExceptionUnknown macro: { Path directory = makeAbsolute(path); boolean shouldCreate = shouldCreate(directory); if (shouldCreate) { forceMkdir(directory); } return shouldCreate; }