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

    https://github.com/apache/nifi/pull/501#discussion_r67608435
  
    --- Diff: 
nifi-commons/nifi-properties/src/main/java/org/apache/nifi/util/NiFiProperties.java
 ---
    @@ -1073,4 +1078,28 @@ public File getEmbeddedZooKeeperPropertiesFile() {
         public boolean isStartEmbeddedZooKeeper() {
             return 
Boolean.parseBoolean(getProperty(STATE_MANAGEMENT_START_EMBEDDED_ZOOKEEPER));
         }
    +
    +    public String getVariableRegistryProperties(){
    +        return getProperty(VARIABLE_REGISTRY_PROPERTIES);
    +    }
    +
    +    public Path[] getVariableRegistryPropertiesPaths() {
    +        final List<Path> vrPropertiesPaths = new ArrayList<>();
    +
    +        final String vrPropertiesFiles = getVariableRegistryProperties();
    +        if(!StringUtils.isEmpty(vrPropertiesFiles)) {
    +
    +            final List<String> vrPropertiesFileList = 
Arrays.asList(vrPropertiesFiles.split(","));
    +
    +            for(String propertiesFile : vrPropertiesFileList){
    +                vrPropertiesPaths.add(Paths.get(propertiesFile));
    --- End diff --
    
    I think we need to call propertiesFile.trim() here


---
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