You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by bb...@apache.org on 2019/04/29 15:03:45 UTC

[nifi-maven] branch master updated: NIFI-6248 Fixing checkstyle issues for release

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

bbende pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi-maven.git


The following commit(s) were added to refs/heads/master by this push:
     new 79353df  NIFI-6248 Fixing checkstyle issues for release
79353df is described below

commit 79353df814d87ad2462172edff0fd1e7d116802a
Author: Bryan Bende <bb...@apache.org>
AuthorDate: Mon Apr 29 11:02:28 2019 -0400

    NIFI-6248 Fixing checkstyle issues for release
---
 src/main/java/org/apache/nifi/NarMojo.java                       | 9 ++++++---
 .../definition/extraction/ExtensionClassLoaderFactory.java       | 1 -
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/nifi/NarMojo.java b/src/main/java/org/apache/nifi/NarMojo.java
index 2ec5cc7..ada7b60 100644
--- a/src/main/java/org/apache/nifi/NarMojo.java
+++ b/src/main/java/org/apache/nifi/NarMojo.java
@@ -648,7 +648,8 @@ public class NarMojo extends AbstractMojo {
         }
     }
 
-    private List<Object> getDocumentationServiceAPIs(Class<?> serviceApiClass, Set<ServiceAPIDefinition> serviceDefinitions) throws NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException {
+    private List<Object> getDocumentationServiceAPIs(Class<?> serviceApiClass, Set<ServiceAPIDefinition> serviceDefinitions)
+            throws NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException {
         final Constructor<?> ctr = serviceApiClass.getConstructor(String.class, String.class, String.class, String.class);
 
         final List<Object> providedServices = new ArrayList<>();
@@ -660,7 +661,8 @@ public class NarMojo extends AbstractMojo {
         return providedServices;
     }
 
-    private Map<String,Object> getDocumentationServiceAPIs(Class<?> serviceApiClass, Map<String,ServiceAPIDefinition> serviceDefinitions) throws NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException {
+    private Map<String,Object> getDocumentationServiceAPIs(Class<?> serviceApiClass, Map<String,ServiceAPIDefinition> serviceDefinitions)
+            throws NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException {
         final Constructor<?> ctr = serviceApiClass.getConstructor(String.class, String.class, String.class, String.class);
 
         final Map<String,Object> providedServices = new HashMap<>();
@@ -675,7 +677,8 @@ public class NarMojo extends AbstractMojo {
         return providedServices;
     }
 
-    private Map<String,ServiceAPIDefinition> getRequiredServiceDefinitions(final Class<?> extensionClass, final Object extensionInstance) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException {
+    private Map<String,ServiceAPIDefinition> getRequiredServiceDefinitions(final Class<?> extensionClass, final Object extensionInstance)
+            throws NoSuchMethodException, InvocationTargetException, IllegalAccessException {
         final Map<String,ServiceAPIDefinition> requiredServiceAPIDefinitions = new HashMap<>();
 
         final Method writeMethod = extensionClass.getMethod("getPropertyDescriptors");
diff --git a/src/main/java/org/apache/nifi/extension/definition/extraction/ExtensionClassLoaderFactory.java b/src/main/java/org/apache/nifi/extension/definition/extraction/ExtensionClassLoaderFactory.java
index 1147698..ce27810 100644
--- a/src/main/java/org/apache/nifi/extension/definition/extraction/ExtensionClassLoaderFactory.java
+++ b/src/main/java/org/apache/nifi/extension/definition/extraction/ExtensionClassLoaderFactory.java
@@ -44,7 +44,6 @@ import java.net.MalformedURLException;
 import java.net.URL;
 import java.util.ArrayList;
 import java.util.Collections;
-import java.util.Comparator;
 import java.util.HashSet;
 import java.util.Iterator;
 import java.util.List;