[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-web/master] Remove unnecessary continue statements.
commit 482a8dd7ebd0e7df3a54eb535baa8c079ae412b0
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Tue Aug 21 15:19:47 2018 +0200
Remove unnecessary continue statements.
---
src/main/java/org/torproject/metrics/stats/hidserv/DocumentStore.java | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/main/java/org/torproject/metrics/stats/hidserv/DocumentStore.java b/src/main/java/org/torproject/metrics/stats/hidserv/DocumentStore.java
index 61b9fa8..f3163e1 100644
--- a/src/main/java/org/torproject/metrics/stats/hidserv/DocumentStore.java
+++ b/src/main/java/org/torproject/metrics/stats/hidserv/DocumentStore.java
@@ -132,11 +132,9 @@ public class DocumentStore<T extends Document> {
&& !(formattedString0 + line.substring(1))
.startsWith(prefix)) {
/* Skip combined line not starting with prefix. */
- continue;
} else if (prefix.length() > 0
&& !formattedString0.startsWith(prefix)) {
/* Skip line not starting with prefix. */
- continue;
} else {
T document = this.clazz.newInstance();
if (!document.parse(new String[] { formattedString0,
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits