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

[tor-commits] [metrics-web/release] Resolve a few checkstyle issues.



commit a0e9033ed36024d90b0971afa2e5e197939c7876
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Thu Oct 25 11:30:38 2018 +0200

    Resolve a few checkstyle issues.
---
 src/main/java/org/torproject/metrics/stats/totalcw/Parser.java         | 3 ++-
 .../metrics/stats/totalcw/TotalcwRelayNetworkStatusVoteTest.java       | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/torproject/metrics/stats/totalcw/Parser.java b/src/main/java/org/torproject/metrics/stats/totalcw/Parser.java
index 155b6b0..4367200 100644
--- a/src/main/java/org/torproject/metrics/stats/totalcw/Parser.java
+++ b/src/main/java/org/torproject/metrics/stats/totalcw/Parser.java
@@ -3,10 +3,11 @@
 
 package org.torproject.metrics.stats.totalcw;
 
-import org.apache.commons.math3.stat.descriptive.rank.Percentile;
 import org.torproject.descriptor.NetworkStatusEntry;
 import org.torproject.descriptor.RelayNetworkStatusVote;
 
+import org.apache.commons.math3.stat.descriptive.rank.Percentile;
+
 import java.time.Instant;
 import java.time.ZoneId;
 import java.util.ArrayList;
diff --git a/src/test/java/org/torproject/metrics/stats/totalcw/TotalcwRelayNetworkStatusVoteTest.java b/src/test/java/org/torproject/metrics/stats/totalcw/TotalcwRelayNetworkStatusVoteTest.java
index 085a976..dc9df7f 100644
--- a/src/test/java/org/torproject/metrics/stats/totalcw/TotalcwRelayNetworkStatusVoteTest.java
+++ b/src/test/java/org/torproject/metrics/stats/totalcw/TotalcwRelayNetworkStatusVoteTest.java
@@ -28,6 +28,7 @@ import java.util.Collection;
 @RunWith(Parameterized.class)
 public class TotalcwRelayNetworkStatusVoteTest {
 
+  /** Provide test data. */
   @Parameters
   public static Collection<Object[]> data() {
     return Arrays.asList(new Object[][] {



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