directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1561718 - /directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/consumer/ReplicationConsumerImpl.java
Date Mon, 27 Jan 2014 16:06:53 GMT
Author: kayyagari
Date: Mon Jan 27 16:06:53 2014
New Revision: 1561718

URL: http://svn.apache.org/r1561718
Log:
fixed warnings

Modified:
    directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/consumer/ReplicationConsumerImpl.java

Modified: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/consumer/ReplicationConsumerImpl.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/consumer/ReplicationConsumerImpl.java?rev=1561718&r1=1561717&r2=1561718&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/consumer/ReplicationConsumerImpl.java
(original)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/consumer/ReplicationConsumerImpl.java
Mon Jan 27 16:06:53 2014
@@ -1104,8 +1104,7 @@ public class ReplicationConsumerImpl imp
                     break;
 
                 case RENAME:
-                    CONSUMER_LOG.debug( "renaming the Dn {} with new Rdn {} and deleteOldRdn
flag set to {}", new String[]
-                        { localDn.getName(), remoteRdn.getName(), String.valueOf( deleteOldRdn
) } );
+                    CONSUMER_LOG.debug( "renaming the Dn {} with new Rdn {} and deleteOldRdn
flag set to {}", localDn.getName(), remoteRdn.getName(), String.valueOf( deleteOldRdn ) );
 
                     RenameOperationContext renCtx = new RenameOperationContext( session,
localDn, remoteRdn,
                         deleteOldRdn );
@@ -1118,12 +1117,10 @@ public class ReplicationConsumerImpl imp
                 case MOVE_AND_RENAME:
                     CONSUMER_LOG.debug(
                         "moveAndRename on the Dn {} with new newParent Dn {}, new Rdn {}
and deleteOldRdn flag set to {}",
-                        new String[]
-                            {
                                 localDn.getName(),
                                 remoteParentDn.getName(),
                                 remoteRdn.getName(),
-                                String.valueOf( deleteOldRdn ) } );
+                                String.valueOf( deleteOldRdn ) );
 
                     MoveAndRenameOperationContext movRenCtx = new MoveAndRenameOperationContext(
session, localDn,
                         remoteParentDn, remoteRdn, deleteOldRdn );



Mime
View raw message