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

[tor-commits] [metrics-web/master] Use empty parameterized Map when generating tables.



commit 175d4c8aeb49db5907fa6591a9513c22dd1486e0
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Tue Aug 21 09:46:30 2018 +0200

    Use empty parameterized Map when generating tables.
---
 src/main/java/org/torproject/metrics/web/RObjectGenerator.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/torproject/metrics/web/RObjectGenerator.java b/src/main/java/org/torproject/metrics/web/RObjectGenerator.java
index 196e834..8490eef 100644
--- a/src/main/java/org/torproject/metrics/web/RObjectGenerator.java
+++ b/src/main/java/org/torproject/metrics/web/RObjectGenerator.java
@@ -89,7 +89,7 @@ public class RObjectGenerator implements ServletContextListener {
           }
         }
         for (String tableId : availableTables.keySet()) {
-          generateTable(tableId, new HashMap(), false);
+          generateTable(tableId, new HashMap<>(), false);
         }
         for (String graphId : availableGraphs.keySet()) {
           generateGraph(graphId, "png", new HashMap<>(), false);



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