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

    https://github.com/apache/nifi/pull/1220#discussion_r87898225
  
    --- Diff: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-properties-loader/src/main/java/org/apache/nifi/properties/NiFiPropertiesLoader.java
 ---
    @@ -158,9 +158,7 @@ private static String getDefaultProviderKey() {
         }
     
         private void initializeSensitivePropertyProviderFactory() {
    -        if (sensitivePropertyProviderFactory == null) {
    -            sensitivePropertyProviderFactory = new 
AESSensitivePropertyProviderFactory(keyHex);
    -        }
    +        sensitivePropertyProviderFactory = new 
AESSensitivePropertyProviderFactory(keyHex);
    --- End diff --
    
    Makes sense, probably not worth the effort since it won't be used that way.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to