sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject svn commit: r1733923 - in /sling/trunk/bundles/extensions/validation/api: pom.xml src/main/java/org/apache/sling/validation/spi/DefaultValidationFailure.java
Date Mon, 07 Mar 2016 13:06:46 GMT
Author: olli
Date: Mon Mar  7 13:06:46 2016
New Revision: 1733923

URL: http://svn.apache.org/viewvc?rev=1733923&view=rev
Log:
SLING-5588 Remove dependency commons-lang 2.4

Modified:
    sling/trunk/bundles/extensions/validation/api/pom.xml
    sling/trunk/bundles/extensions/validation/api/src/main/java/org/apache/sling/validation/spi/DefaultValidationFailure.java

Modified: sling/trunk/bundles/extensions/validation/api/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/validation/api/pom.xml?rev=1733923&r1=1733922&r2=1733923&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/validation/api/pom.xml (original)
+++ sling/trunk/bundles/extensions/validation/api/pom.xml Mon Mar  7 13:06:46 2016
@@ -72,12 +72,5 @@
             <version>3.2.1</version>
             <scope>provided</scope>
         </dependency>
-        
-        <dependency>
-            <groupId>commons-lang</groupId>
-            <artifactId>commons-lang</artifactId>
-            <version>2.4</version>
-            <scope>provided</scope>
-        </dependency>
     </dependencies>
 </project>

Modified: sling/trunk/bundles/extensions/validation/api/src/main/java/org/apache/sling/validation/spi/DefaultValidationFailure.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/validation/api/src/main/java/org/apache/sling/validation/spi/DefaultValidationFailure.java?rev=1733923&r1=1733922&r2=1733923&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/validation/api/src/main/java/org/apache/sling/validation/spi/DefaultValidationFailure.java
(original)
+++ sling/trunk/bundles/extensions/validation/api/src/main/java/org/apache/sling/validation/spi/DefaultValidationFailure.java
Mon Mar  7 13:06:46 2016
@@ -24,7 +24,6 @@ import java.util.ResourceBundle;
 
 import javax.annotation.Nonnull;
 
-import org.apache.commons.lang.StringUtils;
 import org.apache.sling.validation.ValidationFailure;
 
 /**
@@ -63,7 +62,7 @@ public class DefaultValidationFailure im
 
     @Override
     public String toString() {
-        return "DefaultValidationFailure [location=" + location + ", messageKey=" + messageKey
+ ", messageArguments=" + StringUtils.join(messageArguments) + "]";
+        return "DefaultValidationFailure [location=" + location + ", messageKey=" + messageKey
+ ", messageArguments=" + Arrays.toString(messageArguments) + "]";
     }
 
     @Override



Mime
View raw message