diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-nar-utils/src/main/java/org/apache/nifi/nar/NarUnpacker.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-nar-utils/src/main/java/org/apache/nifi/nar/NarUnpacker.java index 13d6f9d0e5..bb87ec37af 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-nar-utils/src/main/java/org/apache/nifi/nar/NarUnpacker.java +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-nar-utils/src/main/java/org/apache/nifi/nar/NarUnpacker.java @@ -201,9 +201,9 @@ public final class NarUnpacker { } /** - * Creates a map containing the nar directory mapped to it's bundle-coordinate. - * @param extensionsWorkingDir - * @return + * Creates a map containing the nar directory mapped to it's bundle-coordinate. + * @param extensionsWorkingDir where to find extensions + * @return map of coordinates for bundles */ private static Map createUnpackedNarBundleCoordinateMap(File extensionsWorkingDir) { Map result = new HashMap<>(); @@ -216,7 +216,7 @@ public final class NarUnpacker { result.put(unpackedDir, bundleCoordinate); } catch (IOException e) { logger.error(format("Unable to parse NAR information from unpacked nar directory [%s].", unpackedDir.getAbsoluteFile()), e); - } + } } return result; }