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

    https://github.com/apache/nifi/pull/2260#discussion_r149995922
  
    --- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/FetchDistributedMapCache.java
 ---
    @@ -151,6 +164,35 @@ public FetchDistributedMapCache() {
         }
     
         @Override
    +    protected Collection<ValidationResult> 
customValidate(ValidationContext validationContext) {
    +        List<ValidationResult> results = new 
ArrayList<>(super.customValidate(validationContext));
    +
    +        PropertyValue cacheEntryIdentifier = 
validationContext.getProperty(PROP_CACHE_ENTRY_IDENTIFIER);
    +        boolean elPresent = false;
    +        try {
    --- End diff --
    
    Hoping to remove this try/catch if 
[NIFI-4590](https://issues.apache.org/jira/browse/NIFI-4590) is implemented 
first.


---

Reply via email to