INT-1945 Polishing
Change constant name; fix @since
This commit is contained in:
committed by
Mark Fisher
parent
874c3f518f
commit
962e089bf0
@@ -61,7 +61,7 @@ public abstract class AbstractRemoteFileOutboundGateway<F> extends AbstractReply
|
||||
|
||||
protected Set<String> options = new HashSet<String>();
|
||||
|
||||
public static final String OPTION_JUST_NAME = "-1";
|
||||
public static final String OPTION_NAME_ONLY = "-1";
|
||||
|
||||
public static final String OPTION_ALL = "-a";
|
||||
|
||||
@@ -199,7 +199,7 @@ public abstract class AbstractRemoteFileOutboundGateway<F> extends AbstractReply
|
||||
if (!this.options.contains(OPTION_ALL)) {
|
||||
purgeDots(lsFiles);
|
||||
}
|
||||
if (this.options.contains(OPTION_JUST_NAME)) {
|
||||
if (this.options.contains(OPTION_NAME_ONLY)) {
|
||||
List<String> results = new ArrayList<String>();
|
||||
for (F file : lsFiles) {
|
||||
results.add(getFilename(file));
|
||||
|
||||
@@ -29,7 +29,7 @@ import com.jcraft.jsch.ChannelSftp.LsEntry;
|
||||
|
||||
/**
|
||||
* @author Gary Russell
|
||||
* @since 2.0.4
|
||||
* @since 2.1
|
||||
*/
|
||||
public class SftpOutboundGateway extends AbstractRemoteFileOutboundGateway<LsEntry> {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user