[ 
https://issues.apache.org/jira/browse/NIFI-10074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17545085#comment-17545085
 ] 

ASF subversion and git services commented on NIFI-10074:
--------------------------------------------------------

Commit 0d45fef7027758339b05d77b742a6bbdb398d6be in nifi's branch 
refs/heads/main from tpalfy
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=0d45fef702 ]

NIFI-10074 Fix potential UnsupportedOperationException in 
PutSmbFile.customValidate. (#6088)



> PutSmbFile.customValidate may throw  UnsupportedOperationException
> ------------------------------------------------------------------
>
>                 Key: NIFI-10074
>                 URL: https://issues.apache.org/jira/browse/NIFI-10074
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Tamas Palfy
>            Assignee: Tamas Palfy
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The current _PutSmbFile.customValidate_ implementation initializes a 
> _Collections.emptySet()_ to collect validation results into. Being an 
> immutable collection it throws an _UnsupportedOperationException_ when an 
> actual ValidationResult is added.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to