directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r642589 - /directory/sandbox/akarasulu/bigbang/apacheds/xdbm-search/src/main/java/org/apache/directory/server/xdbm/search/impl/CursorBuilder.java
Date Sat, 29 Mar 2008 19:26:11 GMT
Author: akarasulu
Date: Sat Mar 29 12:26:10 2008
New Revision: 642589

URL: http://svn.apache.org/viewvc?rev=642589&view=rev
Log:
cleanup dead commented out code in CursorBuilder

Modified:
    directory/sandbox/akarasulu/bigbang/apacheds/xdbm-search/src/main/java/org/apache/directory/server/xdbm/search/impl/CursorBuilder.java

Modified: directory/sandbox/akarasulu/bigbang/apacheds/xdbm-search/src/main/java/org/apache/directory/server/xdbm/search/impl/CursorBuilder.java
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/bigbang/apacheds/xdbm-search/src/main/java/org/apache/directory/server/xdbm/search/impl/CursorBuilder.java?rev=642589&r1=642588&r2=642589&view=diff
==============================================================================
--- directory/sandbox/akarasulu/bigbang/apacheds/xdbm-search/src/main/java/org/apache/directory/server/xdbm/search/impl/CursorBuilder.java
(original)
+++ directory/sandbox/akarasulu/bigbang/apacheds/xdbm-search/src/main/java/org/apache/directory/server/xdbm/search/impl/CursorBuilder.java
Sat Mar 29 12:26:10 2008
@@ -181,60 +181,4 @@
         Cursor<IndexEntry<?,Attributes>> childCursor = build( minChild );
         return new AndCursor( childCursor, childEvaluators );
     }
-
-
-//    /**
-//     * Returns an enumeration over candidates that satisfy a presence attribute
-//     * value assertion.
-//     *
-//     * @param node the presence AVA node
-//     * @return an enumeration over the index records matching the AVA
-//     * @throws NamingException if there is a failure while accessing the db
-//     */
-//    private NamingEnumeration<ForwardIndexEntry> enumPresence( final PresenceNode
node ) throws NamingException
-//    {
-//        if ( db.hasUserIndexOn( node.getAttribute() ) )
-//        {
-//            Index idx = db.getExistanceIndex();
-//            try
-//            {
-//                return idx.listIndices( node.getAttribute() );
-//            }
-//            catch ( java.io.IOException e )
-//            {
-//                e.printStackTrace();  //To change body of catch statement use File | Settings
| File Templates.
-//            }
-//        }
-//
-//        return nonIndexedScan( node );
-//    }
-//
-//
-//    /**
-//     * Returns an enumeration over candidates that satisfy a simple greater than
-//     * or less than or equal to attribute value assertion.
-//     *
-//     * @param node the AVA node
-//     * @param isGreater true if >= false if <= is used
-//     * @return an enumeration over the index records matching the AVA
-//     * @throws NamingException if there is a failure while accessing the db
-//     */
-//    private NamingEnumeration<ForwardIndexEntry> enumGreaterOrLesser( final SimpleNode
node, final boolean isGreaterOrLesser ) throws NamingException
-//    {
-//        if ( db.hasUserIndexOn( node.getAttribute() ) )
-//        {
-//            Index idx = db.getUserIndex( node.getAttribute() );
-//
-//            try
-//            {
-//                return idx.listIndices( node.getValue(), isGreaterOrLesser );
-//            }
-//            catch ( java.io.IOException e )
-//            {
-//                e.printStackTrace();  //To change body of catch statement use File | Settings
| File Templates.
-//            }
-//        }
-//
-//        return nonIndexedScan( node );
-//    }
 }



Mime
View raw message