[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [metrics-lib/release] Extended JavaDoc explanation. Part of task-22190.



commit 3e3636b8d8f0aac26dd05ea513040674baf3f8f5
Author: iwakeh <iwakeh@xxxxxxxxxxxxxx>
Date:   Tue May 9 15:17:07 2017 +0000

    Extended JavaDoc explanation. Part of task-22190.
---
 src/main/java/org/torproject/descriptor/DescriptorCollector.java | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/torproject/descriptor/DescriptorCollector.java b/src/main/java/org/torproject/descriptor/DescriptorCollector.java
index 1ec0a62..fb0668c 100644
--- a/src/main/java/org/torproject/descriptor/DescriptorCollector.java
+++ b/src/main/java/org/torproject/descriptor/DescriptorCollector.java
@@ -45,8 +45,10 @@ public interface DescriptorCollector {
    *     e.g., {@code "https://collector.torproject.org"}
    * @param remoteDirectories Remote directories to collect descriptors
    *     from, e.g.,
-   *     {@code "/recent/relay-descriptors/server-descriptors/"}, without
-   *     processing subdirectories unless they are explicitly listed
+   *     {@code "recent/relay-descriptors/server-descriptors"}, without
+   *     processing subdirectories unless they are explicitly listed.
+   *     Leading and trailing slashes will be ignored, i.e., {@code "/abc/xyz/"}
+   *     results in the same downloads as  {@code "abc/xyz"}.
    * @param minLastModified Minimum last-modified time in milliseconds of
    *     files to be collected, or 0 for collecting all files
    * @param localDirectory Directory where collected files will be written



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits