[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-web/master] Added default in switch statement.
commit 4cdd00dae29fb17d6a496984e2362639f2fe348e
Author: iwakeh <iwakeh@xxxxxxxxxxxxxx>
Date: Mon Dec 18 09:11:59 2017 +0000
Added default in switch statement.
Avoid checkstyle complaint.
---
src/main/java/org/torproject/metrics/web/GraphServlet.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/main/java/org/torproject/metrics/web/GraphServlet.java b/src/main/java/org/torproject/metrics/web/GraphServlet.java
index 02f1cee..7df5294 100644
--- a/src/main/java/org/torproject/metrics/web/GraphServlet.java
+++ b/src/main/java/org/torproject/metrics/web/GraphServlet.java
@@ -241,6 +241,7 @@ public class GraphServlet extends MetricServlet {
case "events":
eventsParameter = checkedParameter.getValue()[0];
break;
+ default: // don't care about other parameters
}
}
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits