[tor-commits] [metrics-web/release] Remove some more redundant modifiers.

karsten at torproject.org karsten at torproject.org
Wed Sep 26 15:20:35 UTC 2018


commit 9892034b2d9df696c618e11cc0bd8d563128e79f
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Tue Aug 21 09:45:59 2018 +0200

    Remove some more redundant modifiers.
---
 src/main/java/org/torproject/metrics/stats/hidserv/Document.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/torproject/metrics/stats/hidserv/Document.java b/src/main/java/org/torproject/metrics/stats/hidserv/Document.java
index 7c915a1..5711a53 100644
--- a/src/main/java/org/torproject/metrics/stats/hidserv/Document.java
+++ b/src/main/java/org/torproject/metrics/stats/hidserv/Document.java
@@ -15,12 +15,12 @@ public interface Document {
    * group.  Ideally, the first string is equivalent for many documents
    * stored in the same file, and the second string is different for those
    * documents.</p> */
-  public String[] format();
+  String[] format();
 
   /** Initializes an object using the given array of two strings.
    *
    * <p>These are the same two strings that the format method
    * provides.</p> */
-  public boolean parse(String[] formattedStrings);
+  boolean parse(String[] formattedStrings);
 }
 





More information about the tor-commits mailing list