[ 
https://issues.apache.org/activemq/browse/SM-1255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41480#action_41480
 ] 

Gert Vanthienen commented on SM-1255:
-------------------------------------

Guillaume,


Wouldn't it be a better solution to reuse the already existing 'overwrite' 
property to shortcut the if clause to avoid the check instead of adding another 
property with (almost) the same meaning?

Something like
{code}
if (overwrite || client.listFiles(name).length == 0) {
...
}


Gert

> Ability to not check duplicate files when uploading
> ---------------------------------------------------
>
>                 Key: SM-1255
>                 URL: https://issues.apache.org/activemq/browse/SM-1255
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-ftp
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 3.2.2, 3.3
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to