From 92b722b141636fddb1b0e2ad8dfc49ba44fa49ca Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Mon, 28 Oct 2024 13:00:13 -0700 Subject: [PATCH] Remove debug statements --- src/main/java/zander/library/RemoteStore.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/main/java/zander/library/RemoteStore.java b/src/main/java/zander/library/RemoteStore.java index 156ee12..01bd132 100644 --- a/src/main/java/zander/library/RemoteStore.java +++ b/src/main/java/zander/library/RemoteStore.java @@ -49,7 +49,8 @@ public class RemoteStore { } else { throw new ProtocolException("unknown protocol: '" + url.getScheme() + "'"); } - ftp.addProtocolCommandListener(new PrintCommandListener(System.out, true)); + // Uncomment this to print all FTP commands + // ftp.addProtocolCommandListener(new PrintCommandListener(System.out, true)); ftp.setListHiddenFiles(true); this.secrets = secrets; } @@ -238,11 +239,7 @@ public class RemoteStore { } String name = getFileName(path); FTPFile[] files = ftp.listFiles(pp); - System.out.println("STAT " + name + " in " + pp); for (FTPFile f : files) { - System.out.println( - (f.isDirectory() ? "D " : "F ") + - f.getName()); if (f.getName().equals(name)) { file.set(f); }