Github user olegz commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/1244#discussion_r88665853
  
    --- Diff: 
nifi-commons/nifi-utils/src/main/java/org/apache/nifi/util/file/classloader/ClassLoaderUtils.java
 ---
    @@ -66,12 +66,16 @@ public static ClassLoader getCustomClassLoader(String 
modulePath, ClassLoader pa
             if (modulePaths != null) {
                 modulePaths.stream()
                     .flatMap(path -> Arrays.stream(path.split(",")))
    -                .filter(StringUtils::isNotBlank)
    +                .filter(path -> isNotBlank(path))
                     .map(String::trim)
                     .forEach(m -> modules.add(m));
             }
             return toURLs(modules, filenameFilter, suppressExceptions);
         }
    +    
    +    private static boolean isNotBlank(final String value){
    +        return value != null && !value.trim().isEmpty();
    +    }
    --- End diff --
    
    Not sure why this operation was added since StringUtils actually checks for 
 white spaces


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to