mirror of https://github.com/apache/nifi.git
NIFI-1051: Fixed checkstyle violations
This commit is contained in:
parent
7a73867c46
commit
abf2c62884
|
@ -309,7 +309,7 @@ public class FileSystemRepository implements ContentRepository {
|
|||
// the path already exists, so scan the path to find any files and update maxIndex to the max of
|
||||
// all filenames seen.
|
||||
Files.walkFileTree(realPath, new SimpleFileVisitor<Path>() {
|
||||
|
||||
@Override
|
||||
public FileVisitResult visitFileFailed(Path file, IOException exc) throws IOException {
|
||||
LOG.warn("Content repository contains un-readable file or directory '" + file.getFileName() + "'. Skipping. ", exc);
|
||||
return FileVisitResult.SKIP_SUBTREE;
|
||||
|
|
Loading…
Reference in New Issue