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

[tor-commits] [onionoo/master] Remove an unnecessary return statement.



commit 91588c989c0c4cd489b3a13f11683266247399cb
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Tue Aug 21 11:47:29 2018 +0200

    Remove an unnecessary return statement.
---
 src/main/java/org/torproject/onionoo/server/RequestHandler.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/main/java/org/torproject/onionoo/server/RequestHandler.java b/src/main/java/org/torproject/onionoo/server/RequestHandler.java
index 81cd8dc..d1e9cce 100644
--- a/src/main/java/org/torproject/onionoo/server/RequestHandler.java
+++ b/src/main/java/org/torproject/onionoo/server/RequestHandler.java
@@ -209,7 +209,6 @@ public class RequestHandler {
   private void filterByType() {
     if (this.type == null) {
       /* Not filtering by type. */
-      return;
     } else if (this.type.equals("relay")) {
       this.filteredBridges.clear();
     } else {



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