commit e75bc297c2d4728946dffd369a2a8fb6c914d52a
Author: Karsten Loesing <karsten.loes...@gmx.net>
Date:   Mon Aug 20 15:54:31 2018 +0200

    Remove now redundant mapping.
---
 src/main/java/org/torproject/metrics/stats/webstats/Main.java | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/main/java/org/torproject/metrics/stats/webstats/Main.java 
b/src/main/java/org/torproject/metrics/stats/webstats/Main.java
index 5d11114..a154e64 100644
--- a/src/main/java/org/torproject/metrics/stats/webstats/Main.java
+++ b/src/main/java/org/torproject/metrics/stats/webstats/Main.java
@@ -122,9 +122,6 @@ public class Main {
       }
       try {
         Map<String, Long> parsedLogLines = logFile.logLines().parallel()
-            /* The following mapping can be removed with metrics-lib
-               version > 2.2.0 */
-            .map(line -> (WebServerAccessLog.Line) line)
             .collect(groupingByConcurrent(line
                 -> String.format("%s %s %d", line.getMethod().name(),
                 truncateString(line.getRequest(), 2048), line.getResponse()),



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

Reply via email to