INT-1945 Polishing

Change constant name; fix @since
This commit is contained in:
Gary Russell
2011-09-02 00:04:11 -04:00
committed by Mark Fisher
parent 874c3f518f
commit 962e089bf0
2 changed files with 3 additions and 3 deletions

View File

@@ -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));

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