You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2012/11/28 16:14:22 UTC
svn commit: r1414746 - in /directory:
apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/
apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/filtering/
apacheds/trunk/core-avl/src/main/java/org/apache/dir...
Author: elecharny
Date: Wed Nov 28 15:14:07 2012
New Revision: 1414746
URL: http://svn.apache.org/viewvc?rev=1414746&view=rev
Log:
Replaced tabs by four spaces
Modified:
directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/LdapCoreSessionConnection.java
directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/filtering/BaseEntryFilteringCursor.java
directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/filtering/CursorList.java
directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/ArrayTreeCursor.java
directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/AvlSingletonOrOrderedSetCursor.java
directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/AvlTreeCursor.java
directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/AvlTreeMapNoDupsWrapperCursor.java
directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/KeyTupleAvlCursor.java
directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/changelog/DefaultChangeLogIT.java
directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/EventListenerAdapter.java
directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/PersistentSearchListener.java
directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/consumer/ReplicationConsumerImpl.java
directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/EntryCursorAdaptor.java
directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/IndexCursorAdaptor.java
directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/EmptyIndexCursor.java
directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/KeyTupleArrayCursor.java
directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/SingletonIndexCursor.java
directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlTableDupsCursor.java
directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/AllEntriesCursor.java
directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/AndCursor.java
directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ApproximateCursor.java
directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ChildrenCursor.java
directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/DescendantCursor.java
directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/EqualityCursor.java
directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/GreaterEqCursor.java
directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/LessEqCursor.java
directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/NotCursor.java
directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/OrCursor.java
directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/PresenceCursor.java
directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/SubstringCursor.java
directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/DefaultOptimizer.java
directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/Dsmlv2ResponseGrammar.java
directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/EntryCursorImpl.java
directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/SearchCursorImpl.java
directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/cursor/EmptyCursor.java
directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/cursor/ListCursor.java
directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/cursor/SetCursor.java
directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/cursor/SingletonCursor.java
Modified: directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/LdapCoreSessionConnection.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/LdapCoreSessionConnection.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/LdapCoreSessionConnection.java (original)
+++ directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/LdapCoreSessionConnection.java Wed Nov 28 15:14:07 2012
@@ -1063,12 +1063,12 @@ public class LdapCoreSessionConnection e
if ( session != null )
{
- // No need to unbind if the session is anonymous
- if ( !session.isAnonymous() )
- {
- session.unbind();
- }
-
+ // No need to unbind if the session is anonymous
+ if ( !session.isAnonymous() )
+ {
+ session.unbind();
+ }
+
session = null;
}
}
Modified: directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/filtering/BaseEntryFilteringCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/filtering/BaseEntryFilteringCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/filtering/BaseEntryFilteringCursor.java (original)
+++ directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/filtering/BaseEntryFilteringCursor.java Wed Nov 28 15:14:07 2012
@@ -104,11 +104,11 @@ public class BaseEntryFilteringCursor ex
*/
public BaseEntryFilteringCursor( Cursor<Entry> wrapped, SearchingOperationContext operationContext )
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating BaseEntryFilteringCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating BaseEntryFilteringCursor {}", this );
+ }
+
this.wrapped = wrapped;
this.operationContext = operationContext;
this.filters = new ArrayList<EntryFilter>();
@@ -127,11 +127,11 @@ public class BaseEntryFilteringCursor ex
public BaseEntryFilteringCursor( Cursor<Entry> wrapped,
SearchingOperationContext operationContext, List<EntryFilter> filters )
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating BaseEntryFilteringCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating BaseEntryFilteringCursor {}", this );
+ }
+
this.wrapped = wrapped;
this.operationContext = operationContext;
this.filters = new ArrayList<EntryFilter>();
@@ -263,11 +263,11 @@ public class BaseEntryFilteringCursor ex
*/
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing BaseEntryFilteringCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing BaseEntryFilteringCursor {}", this );
+ }
+
wrapped.close();
prefetched = null;
}
@@ -278,11 +278,11 @@ public class BaseEntryFilteringCursor ex
*/
public void close( Exception reason ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing BaseEntryFilteringCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing BaseEntryFilteringCursor {}", this );
+ }
+
wrapped.close( reason );
prefetched = null;
}
Modified: directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/filtering/CursorList.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/filtering/CursorList.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/filtering/CursorList.java (original)
+++ directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/filtering/CursorList.java Wed Nov 28 15:14:07 2012
@@ -95,10 +95,10 @@ public class CursorList extends Abstract
*/
public CursorList( int start, List<EntryFilteringCursor> list, int end, SearchingOperationContext searchContext )
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating CursorList {}", this );
- }
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating CursorList {}", this );
+ }
if ( list != null )
{
@@ -458,22 +458,22 @@ public class CursorList extends Abstract
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing CursorList {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing CursorList {}", this );
+ }
+
close( null );
}
public void close( Exception reason ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing CursorList {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing CursorList {}", this );
+ }
+
closed = true;
for ( EntryFilteringCursor cursor : list )
Modified: directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/ArrayTreeCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/ArrayTreeCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/ArrayTreeCursor.java (original)
+++ directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/ArrayTreeCursor.java Wed Nov 28 15:14:07 2012
@@ -55,11 +55,11 @@ public class ArrayTreeCursor<E> extends
*/
public ArrayTreeCursor( ArrayTree<E> array )
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating ArrayTreeCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating ArrayTreeCursor {}", this );
+ }
+
this.array = array;
position = Position.BEFORE_FIRST;
}
@@ -312,11 +312,11 @@ public class ArrayTreeCursor<E> extends
*/
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing ArrayTreeCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing ArrayTreeCursor {}", this );
+ }
+
super.close();
}
@@ -326,11 +326,11 @@ public class ArrayTreeCursor<E> extends
*/
public void close( Exception reason ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing ArrayTreeCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing ArrayTreeCursor {}", this );
+ }
+
super.close( reason );
}
Modified: directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/AvlSingletonOrOrderedSetCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/AvlSingletonOrOrderedSetCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/AvlSingletonOrOrderedSetCursor.java (original)
+++ directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/AvlSingletonOrOrderedSetCursor.java Wed Nov 28 15:14:07 2012
@@ -56,11 +56,11 @@ public class AvlSingletonOrOrderedSetCur
public AvlSingletonOrOrderedSetCursor( AvlTreeMap<K, V> tree )
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating AvlSingletonOrOrderedSetCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating AvlSingletonOrOrderedSetCursor {}", this );
+ }
+
this.tree = tree;
}
@@ -307,11 +307,11 @@ public class AvlSingletonOrOrderedSetCur
*/
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing AvlSingletonOrOrderedSetCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing AvlSingletonOrOrderedSetCursor {}", this );
+ }
+
super.close();
}
@@ -321,11 +321,11 @@ public class AvlSingletonOrOrderedSetCur
*/
public void close( Exception reason ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing AvlSingletonOrOrderedSetCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing AvlSingletonOrOrderedSetCursor {}", this );
+ }
+
super.close( reason );
}
}
Modified: directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/AvlTreeCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/AvlTreeCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/AvlTreeCursor.java (original)
+++ directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/AvlTreeCursor.java Wed Nov 28 15:14:07 2012
@@ -51,11 +51,11 @@ public class AvlTreeCursor<E> extends Ab
public AvlTreeCursor( AvlTree<E> tree )
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating AvlTreeCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating AvlTreeCursor {}", this );
+ }
+
this.tree = tree;
}
@@ -262,11 +262,11 @@ public class AvlTreeCursor<E> extends Ab
*/
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing AvlTreeCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing AvlTreeCursor {}", this );
+ }
+
super.close();
}
@@ -276,11 +276,11 @@ public class AvlTreeCursor<E> extends Ab
*/
public void close( Exception reason ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing AvlTreeCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing AvlTreeCursor {}", this );
+ }
+
super.close( reason );
}
}
Modified: directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/AvlTreeMapNoDupsWrapperCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/AvlTreeMapNoDupsWrapperCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/AvlTreeMapNoDupsWrapperCursor.java (original)
+++ directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/AvlTreeMapNoDupsWrapperCursor.java Wed Nov 28 15:14:07 2012
@@ -47,11 +47,11 @@ public class AvlTreeMapNoDupsWrapperCurs
public AvlTreeMapNoDupsWrapperCursor( AvlSingletonOrOrderedSetCursor<K, V> wrapped )
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating AvlTreeMapNoDupsWrapperCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating AvlTreeMapNoDupsWrapperCursor {}", this );
+ }
+
this.wrapped = wrapped;
}
@@ -155,22 +155,22 @@ public class AvlTreeMapNoDupsWrapperCurs
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing AvlTreeMapNoDupsWrapperCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing AvlTreeMapNoDupsWrapperCursor {}", this );
+ }
+
wrapped.close();
}
public void close( Exception reason ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing AvlTreeMapNoDupsWrapperCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing AvlTreeMapNoDupsWrapperCursor {}", this );
+ }
+
wrapped.close( reason );
}
}
Modified: directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/KeyTupleAvlCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/KeyTupleAvlCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/KeyTupleAvlCursor.java (original)
+++ directory/apacheds/trunk/core-avl/src/main/java/org/apache/directory/server/core/avltree/KeyTupleAvlCursor.java Wed Nov 28 15:14:07 2012
@@ -57,11 +57,11 @@ public class KeyTupleAvlCursor<K, V> ext
*/
public KeyTupleAvlCursor( AvlTree<V> avlTree, K key )
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating KeyTupleAvlCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating KeyTupleAvlCursor {}", this );
+ }
+
this.key = key;
this.wrapped = new AvlTreeCursor<V>( avlTree );
}
@@ -224,11 +224,11 @@ public class KeyTupleAvlCursor<K, V> ext
*/
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing KeyTupleAvlCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing KeyTupleAvlCursor {}", this );
+ }
+
super.close();
if ( wrapped != null )
@@ -243,11 +243,11 @@ public class KeyTupleAvlCursor<K, V> ext
*/
public void close( Exception cause ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing KeyTupleAvlCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing KeyTupleAvlCursor {}", this );
+ }
+
super.close( cause );
if ( wrapped != null )
Modified: directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/changelog/DefaultChangeLogIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/changelog/DefaultChangeLogIT.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/changelog/DefaultChangeLogIT.java (original)
+++ directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/changelog/DefaultChangeLogIT.java Wed Nov 28 15:14:07 2012
@@ -76,8 +76,8 @@ public class DefaultChangeLogIT extends
// add new test entry
Entry entry = new DefaultEntry( "ou=test0,ou=system",
- "objectClass: organizationalUnit",
- "ou: test0" );
+ "objectClass: organizationalUnit",
+ "ou: test0" );
sysRoot.add( entry );
@@ -90,9 +90,9 @@ public class DefaultChangeLogIT extends
// add another test entry
entry = new DefaultEntry( "ou=test1,ou=system",
- "objectClass: organizationalUnit",
- "ou: test1" );
-
+ "objectClass: organizationalUnit",
+ "ou: test1" );
+
sysRoot.add( entry );
assertEquals( revision + 2, getService().getChangeLog().getCurrentRevision() );
@@ -111,8 +111,8 @@ public class DefaultChangeLogIT extends
// add third test entry
entry = new DefaultEntry( "ou=test2,ou=system",
- "objectClass: organizationalUnit",
- "ou: test2" );
+ "objectClass: organizationalUnit",
+ "ou: test2" );
sysRoot.add( entry );
assertEquals( revision + 3, getService().getChangeLog().getCurrentRevision() );
@@ -163,8 +163,8 @@ public class DefaultChangeLogIT extends
// add new test entry
Entry entry = new DefaultEntry( "ou=test,ou=system",
- "objectClass: organizationalUnit",
- "ou: test" );
+ "objectClass: organizationalUnit",
+ "ou: test" );
sysRoot.add( entry );
assertEquals( revision + 1, getService().getChangeLog().getCurrentRevision() );
Modified: directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/EventListenerAdapter.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/EventListenerAdapter.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/EventListenerAdapter.java (original)
+++ directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/EventListenerAdapter.java Wed Nov 28 15:14:07 2012
@@ -83,10 +83,10 @@ public class EventListenerAdapter implem
@Override
- public boolean isSynchronous()
+ public boolean isSynchronous()
{
- return false; // always asynchronous
- }
+ return false; // always asynchronous
+ }
private void deliverNamingExceptionEvent( Exception e )
Modified: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/PersistentSearchListener.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/PersistentSearchListener.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/PersistentSearchListener.java (original)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/PersistentSearchListener.java Wed Nov 28 15:14:07 2012
@@ -74,10 +74,10 @@ public class PersistentSearchListener im
@Override
- public boolean isSynchronous()
+ public boolean isSynchronous()
{
- return false; // always asynchronous
- }
+ return false; // always asynchronous
+ }
public void abandon() throws LdapException
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=1414746&r1=1414745&r2=1414746&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 Wed Nov 28 15:14:07 2012
@@ -386,10 +386,10 @@ public class ReplicationConsumerImpl imp
}
else
{
- // incase of a MODDN operation resulting in a branch to be moved out of scope
- // ApacheDS replication provider sends a single delete event on the Dn of the moved branch
- // so the branch needs to be recursively deleted here
- deleteRecursive( remoteEntry.getDn(), null );
+ // incase of a MODDN operation resulting in a branch to be moved out of scope
+ // ApacheDS replication provider sends a single delete event on the Dn of the moved branch
+ // so the branch needs to be recursively deleted here
+ deleteRecursive( remoteEntry.getDn(), null );
}
break;
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/EntryCursorAdaptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/EntryCursorAdaptor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/EntryCursorAdaptor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/EntryCursorAdaptor.java Wed Nov 28 15:14:07 2012
@@ -119,11 +119,11 @@ public class EntryCursorAdaptor extends
*/
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing EntryCursorAdaptor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing EntryCursorAdaptor {}", this );
+ }
+
indexCursor.close();
}
@@ -133,11 +133,11 @@ public class EntryCursorAdaptor extends
*/
public void close( Exception cause ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing EntryCursorAdaptor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing EntryCursorAdaptor {}", this );
+ }
+
indexCursor.close( cause );
}
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/IndexCursorAdaptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/IndexCursorAdaptor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/IndexCursorAdaptor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/IndexCursorAdaptor.java Wed Nov 28 15:14:07 2012
@@ -67,10 +67,10 @@ public class IndexCursorAdaptor<K> exten
forwardEntry = new IndexEntry<K, String>();
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating IndexCursorAdaptor {}", this );
- }
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating IndexCursorAdaptor {}", this );
+ }
}
@@ -152,22 +152,22 @@ public class IndexCursorAdaptor<K> exten
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing IndexCursorAdaptor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing IndexCursorAdaptor {}", this );
+ }
+
wrappedCursor.close();
}
public void close( Exception reason ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing IndexCursorAdaptor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing IndexCursorAdaptor {}", this );
+ }
+
wrappedCursor.close( reason );
}
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/EmptyIndexCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/EmptyIndexCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/EmptyIndexCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/EmptyIndexCursor.java Wed Nov 28 15:14:07 2012
@@ -40,10 +40,10 @@ public class EmptyIndexCursor<K> extends
public EmptyIndexCursor()
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating EmptyIndexCursor {}", this );
- }
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating EmptyIndexCursor {}", this );
+ }
}
@@ -144,11 +144,11 @@ public class EmptyIndexCursor<K> extends
*/
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing EmptyIndexCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing EmptyIndexCursor {}", this );
+ }
+
super.close();
}
@@ -158,11 +158,11 @@ public class EmptyIndexCursor<K> extends
*/
public void close( Exception cause ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing EmptyIndexCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing EmptyIndexCursor {}", this );
+ }
+
super.close( cause );
}
}
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/KeyTupleArrayCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/KeyTupleArrayCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/KeyTupleArrayCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/KeyTupleArrayCursor.java Wed Nov 28 15:14:07 2012
@@ -62,10 +62,10 @@ public class KeyTupleArrayCursor<K, V> e
this.key = key;
this.wrapped = new ArrayTreeCursor<V>( arrayTree );
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating KeyTupleArrayCursor {}", this );
- }
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating KeyTupleArrayCursor {}", this );
+ }
}
@@ -226,10 +226,10 @@ public class KeyTupleArrayCursor<K, V> e
*/
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing KeyTupleArrayCursor {}", this );
- }
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing KeyTupleArrayCursor {}", this );
+ }
if ( wrapped != null )
{
@@ -245,10 +245,10 @@ public class KeyTupleArrayCursor<K, V> e
*/
public void close( Exception reason ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing KeyTupleArrayCursor {}", this );
- }
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing KeyTupleArrayCursor {}", this );
+ }
if ( wrapped != null )
{
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/SingletonIndexCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/SingletonIndexCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/SingletonIndexCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/SingletonIndexCursor.java Wed Nov 28 15:14:07 2012
@@ -46,11 +46,11 @@ public class SingletonIndexCursor<V> ext
public SingletonIndexCursor( IndexEntry<V, String> singleton )
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating SingletonIndexCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating SingletonIndexCursor {}", this );
+ }
+
this.singleton = singleton;
}
@@ -206,22 +206,22 @@ public class SingletonIndexCursor<V> ext
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing SingletonIndexCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing SingletonIndexCursor {}", this );
+ }
+
super.close();
}
public void close( Exception cause ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing SingletonIndexCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing SingletonIndexCursor {}", this );
+ }
+
super.close( cause );
}
}
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlTableDupsCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlTableDupsCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlTableDupsCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/impl/avl/AvlTableDupsCursor.java Wed Nov 28 15:14:07 2012
@@ -89,11 +89,11 @@ public class AvlTableDupsCursor<K, V> ex
*/
public AvlTableDupsCursor( AvlTable<K, V> table )
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating AvlTableDupsCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating AvlTableDupsCursor {}", this );
+ }
+
this.table = table;
this.wrappedCursor = new AvlSingletonOrOrderedSetCursor<K, V>( table.getAvlTreeMap() );
LOG.debug( "Created on table {}", table.getName() );
@@ -555,10 +555,10 @@ public class AvlTableDupsCursor<K, V> ex
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing AvlTableDupsCursor {}", this );
- }
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing AvlTableDupsCursor {}", this );
+ }
if ( dupsCursor != null )
{
@@ -571,10 +571,10 @@ public class AvlTableDupsCursor<K, V> ex
public void close( Exception reason ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing AvlTableDupsCursor {}", this );
- }
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing AvlTableDupsCursor {}", this );
+ }
if ( dupsCursor != null )
{
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/AllEntriesCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/AllEntriesCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/AllEntriesCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/AllEntriesCursor.java Wed Nov 28 15:14:07 2012
@@ -65,11 +65,11 @@ public class AllEntriesCursor extends Ab
*/
public AllEntriesCursor( Store store ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating AllEntriesCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating AllEntriesCursor {}", this );
+ }
+
// Uses the MasterTable
wrapped = new IndexCursorAdaptor( store.getMasterTable().cursor(), true );
}
@@ -193,11 +193,11 @@ public class AllEntriesCursor extends Ab
@Override
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing AllEntriesCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing AllEntriesCursor {}", this );
+ }
+
wrapped.close();
}
@@ -208,11 +208,11 @@ public class AllEntriesCursor extends Ab
@Override
public void close( Exception cause ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing AllEntriesCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing AllEntriesCursor {}", this );
+ }
+
wrapped.close( cause );
}
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/AndCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/AndCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/AndCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/AndCursor.java Wed Nov 28 15:14:07 2012
@@ -69,11 +69,11 @@ public class AndCursor<V> extends Abstra
public AndCursor( Cursor<IndexEntry<V, String>> wrapped,
List<Evaluator<? extends ExprNode>> evaluators )
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating AndCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating AndCursor {}", this );
+ }
+
this.wrapped = wrapped;
this.evaluators = optimize( evaluators );
}
@@ -194,11 +194,11 @@ public class AndCursor<V> extends Abstra
*/
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing AndCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing AndCursor {}", this );
+ }
+
super.close();
wrapped.close();
}
@@ -209,11 +209,11 @@ public class AndCursor<V> extends Abstra
*/
public void close( Exception cause ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing AndCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing AndCursor {}", this );
+ }
+
super.close( cause );
wrapped.close( cause );
}
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ApproximateCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ApproximateCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ApproximateCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ApproximateCursor.java Wed Nov 28 15:14:07 2012
@@ -76,11 +76,11 @@ public class ApproximateCursor<V> extend
@SuppressWarnings("unchecked")
public ApproximateCursor( Store store, ApproximateEvaluator<V> approximateEvaluator ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating ApproximateCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating ApproximateCursor {}", this );
+ }
+
this.approximateEvaluator = approximateEvaluator;
AttributeType attributeType = approximateEvaluator.getExpression().getAttributeType();
@@ -296,11 +296,11 @@ public class ApproximateCursor<V> extend
*/
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing ApproximateCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing ApproximateCursor {}", this );
+ }
+
super.close();
if ( userIdxCursor != null )
@@ -319,11 +319,11 @@ public class ApproximateCursor<V> extend
*/
public void close( Exception cause ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing ApproximateCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing ApproximateCursor {}", this );
+ }
+
super.close( cause );
if ( userIdxCursor != null )
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ChildrenCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ChildrenCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ChildrenCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/ChildrenCursor.java Wed Nov 28 15:14:07 2012
@@ -70,10 +70,10 @@ public class ChildrenCursor extends Abst
this.parentId = parentId;
this.cursor = cursor;
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating ChildrenCursor {}", this );
- }
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating ChildrenCursor {}", this );
+ }
}
@@ -172,11 +172,11 @@ public class ChildrenCursor extends Abst
@Override
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing ChildrenCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing ChildrenCursor {}", this );
+ }
+
cursor.close();
super.close();
@@ -186,11 +186,11 @@ public class ChildrenCursor extends Abst
@Override
public void close( Exception cause ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing ChildrenCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing ChildrenCursor {}", this );
+ }
+
cursor.close( cause );
super.close( cause );
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/DescendantCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/DescendantCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/DescendantCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/DescendantCursor.java Wed Nov 28 15:14:07 2012
@@ -113,10 +113,10 @@ public class DescendantCursor extends Ab
this.baseId = baseId;
this.topLevel = topLevel;
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating ChildrenCursor {}", this );
- }
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating ChildrenCursor {}", this );
+ }
}
@@ -279,10 +279,10 @@ public class DescendantCursor extends Ab
@Override
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing ChildrenCursor {}", this );
- }
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing ChildrenCursor {}", this );
+ }
// Close the cursors stored in the stack, if we have some
for ( Object cursor : cursorStack )
@@ -300,10 +300,10 @@ public class DescendantCursor extends Ab
@Override
public void close( Exception cause ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing ChildrenCursor {}", this );
- }
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing ChildrenCursor {}", this );
+ }
// Close the cursors stored in the stack, if we have some
for ( Object cursor : cursorStack )
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/EqualityCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/EqualityCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/EqualityCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/EqualityCursor.java Wed Nov 28 15:14:07 2012
@@ -74,11 +74,11 @@ public class EqualityCursor<V> extends A
@SuppressWarnings("unchecked")
public EqualityCursor( Store store, EqualityEvaluator<V> equalityEvaluator ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating EqualityCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating EqualityCursor {}", this );
+ }
+
this.equalityEvaluator = equalityEvaluator;
AttributeType attributeType = equalityEvaluator.getExpression().getAttributeType();
@@ -296,11 +296,11 @@ public class EqualityCursor<V> extends A
*/
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing EqualityCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing EqualityCursor {}", this );
+ }
+
super.close();
if ( userIdxCursor != null )
@@ -319,11 +319,11 @@ public class EqualityCursor<V> extends A
*/
public void close( Exception cause ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing EqualityCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing EqualityCursor {}", this );
+ }
+
super.close( cause );
if ( userIdxCursor != null )
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/GreaterEqCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/GreaterEqCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/GreaterEqCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/GreaterEqCursor.java Wed Nov 28 15:14:07 2012
@@ -79,11 +79,11 @@ public class GreaterEqCursor<V> extends
@SuppressWarnings("unchecked")
public GreaterEqCursor( Store store, GreaterEqEvaluator<V> greaterEqEvaluator ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating GreaterEqCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating GreaterEqCursor {}", this );
+ }
+
this.greaterEqEvaluator = greaterEqEvaluator;
AttributeType attributeType = greaterEqEvaluator.getExpression().getAttributeType();
@@ -363,11 +363,11 @@ public class GreaterEqCursor<V> extends
*/
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing GreaterEqCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing GreaterEqCursor {}", this );
+ }
+
super.close();
if ( userIdxCursor != null )
@@ -387,11 +387,11 @@ public class GreaterEqCursor<V> extends
*/
public void close( Exception cause ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing GreaterEqCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing GreaterEqCursor {}", this );
+ }
+
super.close( cause );
if ( userIdxCursor != null )
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/LessEqCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/LessEqCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/LessEqCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/LessEqCursor.java Wed Nov 28 15:14:07 2012
@@ -73,11 +73,11 @@ public class LessEqCursor<V> extends Abs
@SuppressWarnings("unchecked")
public LessEqCursor( Store store, LessEqEvaluator<V> lessEqEvaluator ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating LessEqCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating LessEqCursor {}", this );
+ }
+
this.lessEqEvaluator = lessEqEvaluator;
AttributeType attributeType = lessEqEvaluator.getExpression().getAttributeType();
@@ -347,11 +347,11 @@ public class LessEqCursor<V> extends Abs
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing LessEqCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing LessEqCursor {}", this );
+ }
+
super.close();
if ( userIdxCursor != null )
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/NotCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/NotCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/NotCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/NotCursor.java Wed Nov 28 15:14:07 2012
@@ -53,11 +53,11 @@ public class NotCursor<V> extends Abstra
public NotCursor( Store store, Evaluator<? extends ExprNode> childEvaluator )
throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating NotCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating NotCursor {}", this );
+ }
+
this.childEvaluator = childEvaluator;
this.uuidCursor = new AllEntriesCursor( store );
@@ -154,11 +154,11 @@ public class NotCursor<V> extends Abstra
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing NotCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing NotCursor {}", this );
+ }
+
super.close();
uuidCursor.close();
}
@@ -166,11 +166,11 @@ public class NotCursor<V> extends Abstra
public void close( Exception cause ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing NotCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing NotCursor {}", this );
+ }
+
super.close( cause );
uuidCursor.close( cause );
}
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/OrCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/OrCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/OrCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/OrCursor.java Wed Nov 28 15:14:07 2012
@@ -63,10 +63,10 @@ public class OrCursor<V> extends Abstrac
public OrCursor( List<Cursor<IndexEntry<V, String>>> cursors,
List<Evaluator<? extends ExprNode>> evaluators )
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating OrCursor {}", this );
- }
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating OrCursor {}", this );
+ }
if ( cursors.size() <= 1 )
{
@@ -264,11 +264,11 @@ public class OrCursor<V> extends Abstrac
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing OrCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing OrCursor {}", this );
+ }
+
super.close();
for ( Cursor<?> cursor : cursors )
@@ -280,11 +280,11 @@ public class OrCursor<V> extends Abstrac
public void close( Exception cause ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing OrCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing OrCursor {}", this );
+ }
+
super.close( cause );
for ( Cursor<?> cursor : cursors )
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/PresenceCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/PresenceCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/PresenceCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/PresenceCursor.java Wed Nov 28 15:14:07 2012
@@ -56,11 +56,11 @@ public class PresenceCursor extends Abst
public PresenceCursor( Store store, PresenceEvaluator presenceEvaluator ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating PresenceCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating PresenceCursor {}", this );
+ }
+
this.presenceEvaluator = presenceEvaluator;
AttributeType type = presenceEvaluator.getAttributeType();
@@ -282,11 +282,11 @@ public class PresenceCursor extends Abst
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing PresenceCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing PresenceCursor {}", this );
+ }
+
super.close();
if ( presenceCursor != null )
@@ -302,11 +302,11 @@ public class PresenceCursor extends Abst
public void close( Exception cause ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing PresenceCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing PresenceCursor {}", this );
+ }
+
super.close( cause );
if ( presenceCursor != null )
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/SubstringCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/SubstringCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/SubstringCursor.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/cursor/SubstringCursor.java Wed Nov 28 15:14:07 2012
@@ -57,11 +57,11 @@ public class SubstringCursor extends Abs
public SubstringCursor( Store store, final SubstringEvaluator substringEvaluator )
throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating SubstringCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating SubstringCursor {}", this );
+ }
+
evaluator = substringEvaluator;
hasIndex = store.hasIndexOn( evaluator.getExpression().getAttributeType() );
@@ -227,11 +227,11 @@ public class SubstringCursor extends Abs
*/
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing SubstringCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing SubstringCursor {}", this );
+ }
+
super.close();
wrapped.close();
clear();
@@ -243,11 +243,11 @@ public class SubstringCursor extends Abs
*/
public void close( Exception cause ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing SubstringCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing SubstringCursor {}", this );
+ }
+
super.close( cause );
wrapped.close( cause );
clear();
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/DefaultOptimizer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/DefaultOptimizer.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/DefaultOptimizer.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/DefaultOptimizer.java Wed Nov 28 15:14:07 2012
@@ -342,18 +342,18 @@ public class DefaultOptimizer<E> impleme
if ( Strings.isEmpty( initial ) )
{
- // Not a (attr=ABC*) filter : full scan
+ // Not a (attr=ABC*) filter : full scan
return Long.MAX_VALUE;
}
else
{
- return idx.greaterThanCount( initial );
+ return idx.greaterThanCount( initial );
}
}
else
{
// count for non-indexed attribute is unknown so we presume da worst
- return Long.MAX_VALUE;
+ return Long.MAX_VALUE;
}
}
Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/Dsmlv2ResponseGrammar.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/Dsmlv2ResponseGrammar.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/Dsmlv2ResponseGrammar.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/Dsmlv2ResponseGrammar.java Wed Nov 28 15:14:07 2012
@@ -831,7 +831,7 @@ public final class Dsmlv2ResponseGrammar
// state: [SOAP_ENVELOPE_START_TAG] -> Tag: <header>
super.transitions[Dsmlv2StatesEnum.SOAP_ENVELOPE_START_TAG.ordinal()].put( new Tag( "header", Tag.START ),
new GrammarTransition( Dsmlv2StatesEnum.SOAP_ENVELOPE_START_TAG, Dsmlv2StatesEnum.SOAP_HEADER_START_TAG,
- ParserUtils.readSoapHeader ) );
+ ParserUtils.readSoapHeader ) );
// state: [SOAP_HEADER_START_TAG] -> Tag: </header>
super.transitions[Dsmlv2StatesEnum.SOAP_HEADER_START_TAG.ordinal()]
Modified: directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/EntryCursorImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/EntryCursorImpl.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/EntryCursorImpl.java (original)
+++ directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/EntryCursorImpl.java Wed Nov 28 15:14:07 2012
@@ -67,11 +67,11 @@ public class EntryCursorImpl extends Abs
*/
public EntryCursorImpl( SearchCursor searchCursor )
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating EntryCursorImpl {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating EntryCursorImpl {}", this );
+ }
+
this.searchCursor = searchCursor;
messageId = -1;
}
@@ -170,11 +170,11 @@ public class EntryCursorImpl extends Abs
@Override
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing EntryCursorImpl {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing EntryCursorImpl {}", this );
+ }
+
searchCursor.close();
}
@@ -185,11 +185,11 @@ public class EntryCursorImpl extends Abs
@Override
public void close( Exception cause ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing EntryCursorImpl {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing EntryCursorImpl {}", this );
+ }
+
searchCursor.close( cause );
}
Modified: directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/SearchCursorImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/SearchCursorImpl.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/SearchCursorImpl.java (original)
+++ directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/SearchCursorImpl.java Wed Nov 28 15:14:07 2012
@@ -85,7 +85,7 @@ public class SearchCursorImpl extends Ab
{
if ( IS_DEBUG )
{
- LOG_CURSOR.debug( "Creating SearchCursorImpl {}", this );
+ LOG_CURSOR.debug( "Creating SearchCursorImpl {}", this );
}
this.future = future;
@@ -190,7 +190,7 @@ public class SearchCursorImpl extends Ab
{
if ( IS_DEBUG )
{
- LOG_CURSOR.debug( "Closing SearchCursorImpl {}", this );
+ LOG_CURSOR.debug( "Closing SearchCursorImpl {}", this );
}
close( null );
@@ -205,7 +205,7 @@ public class SearchCursorImpl extends Ab
{
if ( IS_DEBUG )
{
- LOG_CURSOR.debug( "Closing SearchCursorImpl {}", this );
+ LOG_CURSOR.debug( "Closing SearchCursorImpl {}", this );
}
if ( done )
Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/cursor/EmptyCursor.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/cursor/EmptyCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/cursor/EmptyCursor.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/cursor/EmptyCursor.java Wed Nov 28 15:14:07 2012
@@ -40,10 +40,10 @@ public class EmptyCursor<E> extends Abst
public EmptyCursor()
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating EmptyCursor : {}", this );
- }
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating EmptyCursor : {}", this );
+ }
}
/**
@@ -147,11 +147,11 @@ public class EmptyCursor<E> extends Abst
@Override
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing EmptyCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing EmptyCursor {}", this );
+ }
+
super.close();
}
@@ -162,11 +162,11 @@ public class EmptyCursor<E> extends Abst
@Override
public void close( Exception cause ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing EmptyCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing EmptyCursor {}", this );
+ }
+
super.close( cause );
}
}
Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/cursor/ListCursor.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/cursor/ListCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/cursor/ListCursor.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/cursor/ListCursor.java Wed Nov 28 15:14:07 2012
@@ -99,7 +99,7 @@ public class ListCursor<E> extends Abstr
if ( IS_DEBUG )
{
- LOG_CURSOR.debug( "Creating ListCursor {}", this );
+ LOG_CURSOR.debug( "Creating ListCursor {}", this );
}
this.comparator = comparator;
@@ -512,7 +512,7 @@ public class ListCursor<E> extends Abstr
{
if ( IS_DEBUG )
{
- LOG_CURSOR.debug( "Closing ListCursor {}", this );
+ LOG_CURSOR.debug( "Closing ListCursor {}", this );
}
super.close();
@@ -527,7 +527,7 @@ public class ListCursor<E> extends Abstr
{
if ( IS_DEBUG )
{
- LOG_CURSOR.debug( "Closing ListCursor {}", this );
+ LOG_CURSOR.debug( "Closing ListCursor {}", this );
}
super.close( cause );
Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/cursor/SetCursor.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/cursor/SetCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/cursor/SetCursor.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/cursor/SetCursor.java Wed Nov 28 15:14:07 2012
@@ -71,11 +71,11 @@ public class SetCursor<E> extends Abstra
set = Collections.EMPTY_SET;
}
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Creating SetCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Creating SetCursor {}", this );
+ }
+
this.comparator = comparator;
this.set = ( E[] ) set.toArray();
}
@@ -395,11 +395,11 @@ public class SetCursor<E> extends Abstra
@Override
public void close() throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing ListCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing ListCursor {}", this );
+ }
+
super.close();
}
@@ -410,11 +410,11 @@ public class SetCursor<E> extends Abstra
@Override
public void close( Exception cause ) throws Exception
{
- if ( IS_DEBUG )
- {
- LOG_CURSOR.debug( "Closing ListCursor {}", this );
- }
-
+ if ( IS_DEBUG )
+ {
+ LOG_CURSOR.debug( "Closing ListCursor {}", this );
+ }
+
super.close( cause );
}
}
Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/cursor/SingletonCursor.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/cursor/SingletonCursor.java?rev=1414746&r1=1414745&r2=1414746&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/cursor/SingletonCursor.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/cursor/SingletonCursor.java Wed Nov 28 15:14:07 2012
@@ -78,7 +78,7 @@ public class SingletonCursor<E> extends
{
if ( IS_DEBUG )
{
- LOG_CURSOR.debug( "Creating SingletonCursor {}", this );
+ LOG_CURSOR.debug( "Creating SingletonCursor {}", this );
}
this.singleton = singleton;
@@ -336,7 +336,7 @@ public class SingletonCursor<E> extends
{
if ( IS_DEBUG )
{
- LOG_CURSOR.debug( "Closing SingletonCursor {}", this );
+ LOG_CURSOR.debug( "Closing SingletonCursor {}", this );
}
super.close();
@@ -351,7 +351,7 @@ public class SingletonCursor<E> extends
{
if ( IS_DEBUG )
{
- LOG_CURSOR.debug( "Closing SingletonCursor {}", this );
+ LOG_CURSOR.debug( "Closing SingletonCursor {}", this );
}
super.close( cause );