directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1157029 - in /directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication: ReplicaEventMessage.java SyncReplConsumer.java SyncReplSearchListener.java
Date Fri, 12 Aug 2011 10:00:43 GMT
Author: pamarcelot
Date: Fri Aug 12 10:00:42 2011
New Revision: 1157029

URL: http://svn.apache.org/viewvc?rev=1157029&view=rev
Log:
Fixed compilation failures

Modified:
    directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventMessage.java
    directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/SyncReplConsumer.java
    directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/SyncReplSearchListener.java

Modified: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventMessage.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventMessage.java?rev=1157029&r1=1157028&r2=1157029&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventMessage.java
(original)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventMessage.java
Fri Aug 12 10:00:42 2011
@@ -163,7 +163,7 @@ public class ReplicaEventMessage impleme
                     modDnControl.setDeleteOldRdn( in.readBoolean() );
                     break;
                     
-                case MOVEANDRENAME:
+                case MOVE_AND_RENAME:
                     modDnControl.setNewSuperiorDn( in.readUTF() );
                     modDnControl.setNewRdn( in.readUTF() );
                     modDnControl.setDeleteOldRdn( in.readBoolean() );
@@ -249,7 +249,7 @@ public class ReplicaEventMessage impleme
                     out.writeBoolean( modDnControl.isDeleteOldRdn() );
                     break;
                     
-                case MOVEANDRENAME:
+                case MOVE_AND_RENAME:
                     out.writeUTF( modDnControl.getNewSuperiorDn() );
                     out.writeUTF( modDnControl.getNewRdn() );
                     out.writeBoolean( modDnControl.isDeleteOldRdn() );

Modified: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/SyncReplConsumer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/SyncReplConsumer.java?rev=1157029&r1=1157028&r2=1157029&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/SyncReplConsumer.java
(original)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/SyncReplConsumer.java
Fri Aug 12 10:00:42 2011
@@ -819,7 +819,7 @@ public class SyncReplConsumer implements
                 session.rename( entryDn, newRdn, deleteOldRdn );
                 break;
 
-            case MOVEANDRENAME:
+            case MOVE_AND_RENAME:
 
                 Dn newParentDn = directoryService.getDnFactory().create( modDnControl.getNewSuperiorDn()
);
                 newRdn = new Rdn( schemaManager, modDnControl.getNewRdn() );

Modified: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/SyncReplSearchListener.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/SyncReplSearchListener.java?rev=1157029&r1=1157028&r2=1157029&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/SyncReplSearchListener.java
(original)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/SyncReplSearchListener.java
Fri Aug 12 10:00:42 2011
@@ -370,7 +370,7 @@ public class SyncReplSearchListener impl
             }
 
             SyncModifyDnDecorator modDnControl = 
-                new SyncModifyDnDecorator( directoryService.getLdapCodecService(), SyncModifyDnType.MOVEANDRENAME
);
+                new SyncModifyDnDecorator( directoryService.getLdapCodecService(), SyncModifyDnType.MOVE_AND_RENAME
);
             modDnControl.setEntryDn( moveAndRenameContext.getDn().getNormName() );
             modDnControl.setNewSuperiorDn( moveAndRenameContext.getNewSuperiorDn().getNormName()
);
             modDnControl.setNewRdn( moveAndRenameContext.getNewRdn().getNormName() );



Mime
View raw message