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

    https://github.com/apache/nifi/pull/1692#discussion_r113590955
  
    --- Diff: 
nifi-nar-bundles/nifi-cybersecurity-bundle/nifi-cybersecurity-processors/src/main/java/org/apache/nifi/processors/cybersecurity/FuzzyHashContent.java
 ---
    @@ -178,11 +161,11 @@ public void process(final InputStream in) throws 
IOException {
                         try (ByteArrayOutputStream holder = new 
ByteArrayOutputStream()) {
                             StreamUtils.copy(in,holder);
     
    -                        if 
(context.getProperty(HASH_ALGORITHM).getValue().equals(allowableValueSSDEEP.getValue()))
 {
    +                        if 
(algorithm.equals(allowableValueSSDEEP.getValue())) {
    --- End diff --
    
    These can probably be extracted to the interface as well. 


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