You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ma...@apache.org on 2018/04/09 20:03:36 UTC

[archiva-redback-components-spring-apacheds] 21/35: remove System.out

This is an automated email from the ASF dual-hosted git repository.

martin_s pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-redback-components-spring-apacheds.git

commit 70903a8c311c05f02c91853e8dcb198563b0bcef
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Tue Nov 20 21:10:07 2012 +0000

    remove System.out
    
    git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-components/trunk@1411870 13f79535-47bb-0310-9956-ffa450edef68
---
 .../apache/archiva/redback/components/apacheds/ApacheDsTest.java    | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/archiva/redback/components/apacheds/ApacheDsTest.java b/src/test/java/org/apache/archiva/redback/components/apacheds/ApacheDsTest.java
index 0228c11..7293b87 100644
--- a/src/test/java/org/apache/archiva/redback/components/apacheds/ApacheDsTest.java
+++ b/src/test/java/org/apache/archiva/redback/components/apacheds/ApacheDsTest.java
@@ -24,6 +24,8 @@ import org.apache.directory.shared.ldap.util.AttributeUtils;
 import org.apache.archiva.redback.components.apacheds.ApacheDs;
 import org.junit.Test;
 import org.junit.runner.RunWith;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 import org.springframework.test.context.ContextConfiguration;
 import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
 
@@ -56,6 +58,8 @@ public class ApacheDsTest
     @Inject
     private ApacheDs apacheDs;
 
+    private Logger logger = LoggerFactory.getLogger( getClass() );
+
     protected void setUp()
         throws Exception
     {
@@ -101,7 +105,7 @@ public class ApacheDsTest
         
         Attributes attrs = result.getAttributes();
         
-        System.out.println( AttributeUtils.toString( attrs ) );
+        logger.info("Attributes {}", AttributeUtils.toString( attrs ) );
         
         assertFalse( "should only have one result returned", results.hasMoreElements() );
         

-- 
To stop receiving notification emails like this one, please contact
martin_s@apache.org.