This is an automated email from the ASF dual-hosted git repository. mattyb149 pushed a commit to branch support/nifi-1.x in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/support/nifi-1.x by this push: new a84a7cb60a NIFI-11557: Fixed error with Java 11 code a84a7cb60a is described below commit a84a7cb60aa3bbae900ade5d1f2413b71dabdf38 Author: Matthew Burgess <mattyb...@apache.org> AuthorDate: Tue May 23 16:05:26 2023 -0400 NIFI-11557: Fixed error with Java 11 code --- .../org/apache/nifi/controller/repository/FileSystemRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/FileSystemRepository.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/FileSystemRepository.java index f6118334ed..d99c79f116 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/FileSystemRepository.java +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/FileSystemRepository.java @@ -1371,7 +1371,7 @@ public class FileSystemRepository implements ContentRepository { try { final long timestampThreshold = removalTimeThreshold; - Files.walkFileTree(archive, new SimpleFileVisitor<>() { + Files.walkFileTree(archive, new SimpleFileVisitor<Path>() { @Override public FileVisitResult visitFile(final Path file, final BasicFileAttributes attrs) throws IOException { if (attrs.isDirectory()) {