Migrate to commons-text StringEscapeUtils 34/67734/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 30 Jan 2018 19:00:36 +0000 (20:00 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 30 Jan 2018 19:01:30 +0000 (20:01 +0100)
The utilities from commons-lang3 are deprecated, move on to their
replacement.

Change-Id: I7ed6f163d8414ef6db27876101ceaa43218ead37
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-generator-impl/pom.xml
binding/mdsal-binding-generator-impl/src/main/java/org/opendaylight/mdsal/binding/yang/types/TypeProviderImpl.java

index 29bee1f4e3764d52142f6307b298a2acae62ac44..5058c5eebf453f71b767ae7a31788c717446e26e 100644 (file)
@@ -76,7 +76,7 @@
 
         <dependency>
             <groupId>org.apache.commons</groupId>
-            <artifactId>commons-lang3</artifactId>
+            <artifactId>commons-text</artifactId>
         </dependency>
         <dependency>
             <groupId>com.google.guava</groupId>
index 69d9e17c17296fb3e5164e2e9fdedbf745dc1e16..696acce07b71dbbc8c1df259e6d91b36fdc506f1 100644 (file)
@@ -33,7 +33,7 @@ import java.util.Set;
 import java.util.TreeMap;
 import java.util.regex.Matcher;
 import java.util.regex.Pattern;
-import org.apache.commons.lang3.StringEscapeUtils;
+import org.apache.commons.text.StringEscapeUtils;
 import org.opendaylight.mdsal.binding.generator.spi.TypeProvider;
 import org.opendaylight.mdsal.binding.model.api.AccessModifier;
 import org.opendaylight.mdsal.binding.model.api.ConcreteType;