directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1066261 - /directory/shared/trunk/integ/src/test/java/org/apache/directory/shared/ldap/subtree/SubtreeSpecificationParserTest.java
Date Tue, 01 Feb 2011 23:08:55 GMT
Author: akarasulu
Date: Tue Feb  1 23:08:55 2011
New Revision: 1066261

URL: http://svn.apache.org/viewvc?rev=1066261&view=rev
Log:
removing some useless static members

Modified:
    directory/shared/trunk/integ/src/test/java/org/apache/directory/shared/ldap/subtree/SubtreeSpecificationParserTest.java

Modified: directory/shared/trunk/integ/src/test/java/org/apache/directory/shared/ldap/subtree/SubtreeSpecificationParserTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ/src/test/java/org/apache/directory/shared/ldap/subtree/SubtreeSpecificationParserTest.java?rev=1066261&r1=1066260&r2=1066261&view=diff
==============================================================================
--- directory/shared/trunk/integ/src/test/java/org/apache/directory/shared/ldap/subtree/SubtreeSpecificationParserTest.java
(original)
+++ directory/shared/trunk/integ/src/test/java/org/apache/directory/shared/ldap/subtree/SubtreeSpecificationParserTest.java
Tue Feb  1 23:08:55 2011
@@ -52,9 +52,6 @@ import org.junit.runner.RunWith;
 @Concurrent()
 public class SubtreeSpecificationParserTest
 {
-    /** the ACIItem checker wrapper */
-    private static SubtreeSpecificationChecker checker;
-
     /** the ss parser wrapper */
     private static SubtreeSpecificationParser parser;
 
@@ -115,7 +112,6 @@ public class SubtreeSpecificationParserT
     private static ObjectClass TOP_OC;      // 2.5.6.0
     private static ObjectClass ALIAS_OC;    // 2.5.6.1
     private static ObjectClass COUNTRY_OC;  // 2.5.6.2
-    private static ObjectClass LOCALITY_OC; // 2.5.6.3
     private static ObjectClass PERSON_OC;   // 2.5.6.6
 
     /**
@@ -129,13 +125,11 @@ public class SubtreeSpecificationParserT
 
         schemaManager.loadAllEnabled();
 
-        checker = new SubtreeSpecificationChecker( schemaManager );
         parser = new SubtreeSpecificationParser( schemaManager );
 
         TOP_OC = schemaManager.lookupObjectClassRegistry( "top" );
         ALIAS_OC = schemaManager.lookupObjectClassRegistry( "alias" );
         COUNTRY_OC = schemaManager.lookupObjectClassRegistry( "country" );
-        LOCALITY_OC = schemaManager.lookupObjectClassRegistry( "locality" );
         PERSON_OC = schemaManager.lookupObjectClassRegistry( "person" );
     }
 
@@ -327,8 +321,6 @@ public class SubtreeSpecificationParserT
         outerAndList.add( innerAndRefinement );
         outerAndList.add( notRefinement );
 
-        Refinement outerAndRefinement = new AndRefinement( outerAndList );
-
         StringBuilder buffer = new StringBuilder();
         ss.getRefinement().printRefinementToBuffer( buffer );
 



Mime
View raw message