This is an automated email from the ASF dual-hosted git repository.

exceptionfactory 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 e24d3bc3d7 NIFI-12294 Corrected generics usage in NarUnpackerTest for 
Java 8
e24d3bc3d7 is described below

commit e24d3bc3d7f001c1218909c067fdf9027e879f75
Author: exceptionfactory <[email protected]>
AuthorDate: Thu Nov 2 10:56:05 2023 -0500

    NIFI-12294 Corrected generics usage in NarUnpackerTest for Java 8
    
    Signed-off-by: David Handermann <[email protected]>
---
 .../src/test/java/org/apache/nifi/nar/NarUnpackerTest.java              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-nar-utils/src/test/java/org/apache/nifi/nar/NarUnpackerTest.java
 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-nar-utils/src/test/java/org/apache/nifi/nar/NarUnpackerTest.java
index 5733d1bb60..00974d5b2c 100644
--- 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-nar-utils/src/test/java/org/apache/nifi/nar/NarUnpackerTest.java
+++ 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-nar-utils/src/test/java/org/apache/nifi/nar/NarUnpackerTest.java
@@ -52,7 +52,7 @@ public class NarUnpackerTest {
         final Path sourcePath = Paths.get("./src/test/resources");
         final Path targetPath = Paths.get("./target");
 
-        Files.walkFileTree(sourcePath, new SimpleFileVisitor<>() {
+        Files.walkFileTree(sourcePath, new SimpleFileVisitor<Path>() {
 
             @Override
             public FileVisitResult preVisitDirectory(Path dir, 
BasicFileAttributes attrs) throws IOException {

Reply via email to