directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r723055 - in /directory/apacheds/branches/apacheds-mina2/mitosis/src: main/java/org/apache/directory/mitosis/service/ main/java/org/apache/directory/mitosis/service/protocol/handler/ test/java/org/apache/directory/mitosis/service/protocol/c...
Date Wed, 03 Dec 2008 20:11:26 GMT
Author: elecharny
Date: Wed Dec  3 12:11:26 2008
New Revision: 723055

URL: http://svn.apache.org/viewvc?rev=723055&view=rev
Log:
Replaced tabs by 4 spaces.

Modified:
    directory/apacheds/branches/apacheds-mina2/mitosis/src/main/java/org/apache/directory/mitosis/service/ReplicationInterceptor.java
    directory/apacheds/branches/apacheds-mina2/mitosis/src/main/java/org/apache/directory/mitosis/service/protocol/handler/ReplicationServerContextHandler.java
    directory/apacheds/branches/apacheds-mina2/mitosis/src/test/java/org/apache/directory/mitosis/service/protocol/codec/AbstractMessageCodecTest.java

Modified: directory/apacheds/branches/apacheds-mina2/mitosis/src/main/java/org/apache/directory/mitosis/service/ReplicationInterceptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-mina2/mitosis/src/main/java/org/apache/directory/mitosis/service/ReplicationInterceptor.java?rev=723055&r1=723054&r2=723055&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-mina2/mitosis/src/main/java/org/apache/directory/mitosis/service/ReplicationInterceptor.java
(original)
+++ directory/apacheds/branches/apacheds-mina2/mitosis/src/main/java/org/apache/directory/mitosis/service/ReplicationInterceptor.java
Wed Dec  3 12:11:26 2008
@@ -382,7 +382,7 @@
         {
             while ( cursor.next() )
             {
-            	ServerEntry entry = cursor.get();
+                ServerEntry entry = cursor.get();
                 LdapDN name = entry.getDn();
                 
                 if ( name.size() > contextName.size() )
@@ -524,14 +524,14 @@
     @Override
     public EntryFilteringCursor list( NextInterceptor nextInterceptor, ListOperationContext
opContext ) throws Exception
     {
-    	EntryFilteringCursor cursor = nextInterceptor.search(
-	            new SearchOperationContext(
-	                opContext.getSession(), opContext.getDn(), opContext.getAliasDerefMode(),
-	                new PresenceNode( SchemaConstants.OBJECT_CLASS_AT_OID ),
-	                new SearchControls() ) );
+        EntryFilteringCursor cursor = nextInterceptor.search(
+                new SearchOperationContext(
+                    opContext.getSession(), opContext.getDn(), opContext.getAliasDerefMode(),
+                    new PresenceNode( SchemaConstants.OBJECT_CLASS_AT_OID ),
+                    new SearchControls() ) );
 
-    	cursor.addEntryFilter( Constants.DELETED_ENTRIES_FILTER );
-    	return cursor;
+        cursor.addEntryFilter( Constants.DELETED_ENTRIES_FILTER );
+        return cursor;
     }
 
 
@@ -550,10 +550,10 @@
             searchControls.setReturningAttributes( newAttrIds );
         }
 
-    	EntryFilteringCursor cursor = nextInterceptor.search( new SearchOperationContext( opContext.getSession(),

-    	    opContext.getDn(), opContext.getAliasDerefMode(), opContext.getFilter(), searchControls
) );
-    	cursor.addEntryFilter( Constants.DELETED_ENTRIES_FILTER );
-    	return cursor;
+        EntryFilteringCursor cursor = nextInterceptor.search( new SearchOperationContext(
opContext.getSession(), 
+            opContext.getDn(), opContext.getAliasDerefMode(), opContext.getFilter(), searchControls
) );
+        cursor.addEntryFilter( Constants.DELETED_ENTRIES_FILTER );
+        return cursor;
     }
 
 

Modified: directory/apacheds/branches/apacheds-mina2/mitosis/src/main/java/org/apache/directory/mitosis/service/protocol/handler/ReplicationServerContextHandler.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-mina2/mitosis/src/main/java/org/apache/directory/mitosis/service/protocol/handler/ReplicationServerContextHandler.java?rev=723055&r1=723054&r2=723055&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-mina2/mitosis/src/main/java/org/apache/directory/mitosis/service/protocol/handler/ReplicationServerContextHandler.java
(original)
+++ directory/apacheds/branches/apacheds-mina2/mitosis/src/main/java/org/apache/directory/mitosis/service/protocol/handler/ReplicationServerContextHandler.java
Wed Dec  3 12:11:26 2008
@@ -196,7 +196,7 @@
         try
         {
             op.execute( ctx.getDirectoryService().getPartitionNexus(), ctx.getConfiguration().getStore(),
-            		ctx.getDirectoryService().getSession() );
+                        ctx.getDirectoryService().getSession() );
             
             ack = new LogEntryAckMessage( message.getSequence(), Constants.OK );
         }

Modified: directory/apacheds/branches/apacheds-mina2/mitosis/src/test/java/org/apache/directory/mitosis/service/protocol/codec/AbstractMessageCodecTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-mina2/mitosis/src/test/java/org/apache/directory/mitosis/service/protocol/codec/AbstractMessageCodecTest.java?rev=723055&r1=723054&r2=723055&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-mina2/mitosis/src/test/java/org/apache/directory/mitosis/service/protocol/codec/AbstractMessageCodecTest.java
(original)
+++ directory/apacheds/branches/apacheds-mina2/mitosis/src/test/java/org/apache/directory/mitosis/service/protocol/codec/AbstractMessageCodecTest.java
Wed Dec  3 12:11:26 2008
@@ -162,9 +162,10 @@
         }
         
         
-        public WriteFuture write(Object message) {
-        	this.message = message;
-        	return null;
+        public WriteFuture write(Object message) 
+        {
+            this.message = message;
+            return null;
         }
     }
 }



Mime
View raw message