commit 4cdd00dae29fb17d6a496984e2362639f2fe348e Author: iwakeh iwakeh@torproject.org 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 } } }