[tor-commits] [metrics-web/release] Remove now redundant mapping.
karsten at torproject.org
karsten at torproject.org
Wed Sep 26 15:20:35 UTC 2018
commit e75bc297c2d4728946dffd369a2a8fb6c914d52a
Author: Karsten Loesing <karsten.loesing at 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()),
More information about the tor-commits
mailing list