[tor-commits] [metrics-web/master] Throw out Apache Commons Lang 2 in favor of 3.

karsten at torproject.org karsten at torproject.org
Fri May 18 14:06:08 UTC 2018


commit f4c98122da6b21f93e00b149724e33f689cfc580
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Wed May 16 12:42:26 2018 +0200

    Throw out Apache Commons Lang 2 in favor of 3.
    
    Part of #25699.
---
 build.xml                                                          | 1 -
 src/main/java/org/torproject/metrics/stats/ipv6servers/Parser.java | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/build.xml b/build.xml
index 9b29452..bdb908b 100644
--- a/build.xml
+++ b/build.xml
@@ -44,7 +44,6 @@
   <patternset id="common" >
     <include name="commons-codec-1.10.jar"/>
     <include name="commons-lang3-3.5.jar"/>
-    <include name="commons-lang-2.6.jar"/>
     <include name="gson-2.4.jar" />
     <include name="logback-core-1.1.9.jar" />
     <include name="logback-classic-1.1.9.jar" />
diff --git a/src/main/java/org/torproject/metrics/stats/ipv6servers/Parser.java b/src/main/java/org/torproject/metrics/stats/ipv6servers/Parser.java
index 9959b93..cfbdd6c 100644
--- a/src/main/java/org/torproject/metrics/stats/ipv6servers/Parser.java
+++ b/src/main/java/org/torproject/metrics/stats/ipv6servers/Parser.java
@@ -9,7 +9,7 @@ import org.torproject.descriptor.RelayNetworkStatusConsensus;
 import org.torproject.descriptor.RelayServerDescriptor;
 import org.torproject.descriptor.ServerDescriptor;
 
-import org.apache.commons.lang.StringUtils;
+import org.apache.commons.lang3.StringUtils;
 
 import java.time.Instant;
 import java.time.ZoneId;





More information about the tor-commits mailing list