commit be5b9e3ae6d3a781e81944834b6f1a3e781d2035 Author: Karsten Loesing karsten.loesing@gmx.net Date: Fri May 29 11:33:32 2015 +0200
Rename method while it's not in wide use. --- src/org/torproject/descriptor/DescriptorCollector.java | 2 +- src/org/torproject/descriptor/impl/DescriptorCollectorImpl.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/org/torproject/descriptor/DescriptorCollector.java b/src/org/torproject/descriptor/DescriptorCollector.java index bd29fb0..18e594d 100644 --- a/src/org/torproject/descriptor/DescriptorCollector.java +++ b/src/org/torproject/descriptor/DescriptorCollector.java @@ -27,7 +27,7 @@ public interface DescriptorCollector { * @param deleteExtraneousLocalFiles Whether to delete all local files * that do not exist remotely anymore. */ - public void collectRemoteFiles(String collecTorBaseUrl, + public void collectDescriptors(String collecTorBaseUrl, String[] remoteDirectories, long minLastModified, File localDirectory, boolean deleteExtraneousLocalFiles); } diff --git a/src/org/torproject/descriptor/impl/DescriptorCollectorImpl.java b/src/org/torproject/descriptor/impl/DescriptorCollectorImpl.java index ed88906..e5f2f9c 100644 --- a/src/org/torproject/descriptor/impl/DescriptorCollectorImpl.java +++ b/src/org/torproject/descriptor/impl/DescriptorCollectorImpl.java @@ -30,7 +30,7 @@ import org.torproject.descriptor.DescriptorCollector; public class DescriptorCollectorImpl implements DescriptorCollector {
@Override - public void collectRemoteFiles(String collecTorBaseUrl, + public void collectDescriptors(String collecTorBaseUrl, String[] remoteDirectories, long minLastModified, File localDirectory, boolean deleteExtraneousLocalFiles) { collecTorBaseUrl = collecTorBaseUrl.endsWith("/")