directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1376109 - /directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/SubstringEvaluator.java
Date Wed, 22 Aug 2012 16:00:10 GMT
Author: elecharny
Date: Wed Aug 22 16:00:10 2012
New Revision: 1376109

URL: http://svn.apache.org/viewvc?rev=1376109&view=rev
Log:
Removed redondant code

Modified:
    directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/SubstringEvaluator.java

Modified: directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/SubstringEvaluator.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/SubstringEvaluator.java?rev=1376109&r1=1376108&r2=1376109&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/SubstringEvaluator.java
(original)
+++ directory/apacheds/branches/apacheds-mvbt/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/SubstringEvaluator.java
Wed Aug 22 16:00:10 2012
@@ -139,16 +139,7 @@ public class SubstringEvaluator<ID exten
 
     public boolean evaluateEntry( Entry entry ) throws Exception
     {
-
-        if ( idx == null )
-        {
-            //noinspection unchecked
-            return evaluateWithoutIndex( entry );
-        }
-        else
-        {
-            return evaluateWithoutIndex( entry );
-        }
+        return evaluateWithoutIndex( entry );
     }
 
 



Mime
View raw message