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

[tor-commits] [onionoo/master] Remove redundant modifiers from interface methods.



commit 6abd4270eea261d06d6f4619aec1004539539955
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Mon Aug 20 20:23:20 2018 +0200

    Remove redundant modifiers from interface methods.
---
 src/main/java/org/torproject/onionoo/updater/DescriptorListener.java | 2 +-
 src/main/java/org/torproject/onionoo/updater/StatusUpdater.java      | 4 ++--
 src/main/java/org/torproject/onionoo/writer/DocumentWriter.java      | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main/java/org/torproject/onionoo/updater/DescriptorListener.java b/src/main/java/org/torproject/onionoo/updater/DescriptorListener.java
index 5362ce2..6269772 100644
--- a/src/main/java/org/torproject/onionoo/updater/DescriptorListener.java
+++ b/src/main/java/org/torproject/onionoo/updater/DescriptorListener.java
@@ -6,6 +6,6 @@ package org.torproject.onionoo.updater;
 import org.torproject.descriptor.Descriptor;
 
 public interface DescriptorListener {
-  abstract void processDescriptor(Descriptor descriptor, boolean relay);
+  void processDescriptor(Descriptor descriptor, boolean relay);
 }
 
diff --git a/src/main/java/org/torproject/onionoo/updater/StatusUpdater.java b/src/main/java/org/torproject/onionoo/updater/StatusUpdater.java
index f17d797..9f6328a 100644
--- a/src/main/java/org/torproject/onionoo/updater/StatusUpdater.java
+++ b/src/main/java/org/torproject/onionoo/updater/StatusUpdater.java
@@ -5,8 +5,8 @@ package org.torproject.onionoo.updater;
 
 public interface StatusUpdater {
 
-  public abstract void updateStatuses();
+  void updateStatuses();
 
-  public abstract String getStatsString();
+  String getStatsString();
 }
 
diff --git a/src/main/java/org/torproject/onionoo/writer/DocumentWriter.java b/src/main/java/org/torproject/onionoo/writer/DocumentWriter.java
index 9fc893f..bf90d3e 100644
--- a/src/main/java/org/torproject/onionoo/writer/DocumentWriter.java
+++ b/src/main/java/org/torproject/onionoo/writer/DocumentWriter.java
@@ -5,8 +5,8 @@ package org.torproject.onionoo.writer;
 
 public interface DocumentWriter {
 
-  public abstract void writeDocuments(long mostRecentStatusMillis);
+  void writeDocuments(long mostRecentStatusMillis);
 
-  public abstract String getStatsString();
+  String getStatsString();
 }
 



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