directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1786548 - in /directory/apacheds/branches/apacheds-value/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl: BogusSyntax.java NestedFilterTest.java NotCursorTest.java
Date Sun, 12 Mar 2017 00:46:16 GMT
Author: elecharny
Date: Sun Mar 12 00:46:16 2017
New Revision: 1786548

URL: http://svn.apache.org/viewvc?rev=1786548&view=rev
Log:
o Used SyntaxChecker.INSTANCE when needed

Modified:
    directory/apacheds/branches/apacheds-value/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/BogusSyntax.java
    directory/apacheds/branches/apacheds-value/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/NestedFilterTest.java
    directory/apacheds/branches/apacheds-value/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/NotCursorTest.java

Modified: directory/apacheds/branches/apacheds-value/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/BogusSyntax.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/BogusSyntax.java?rev=1786548&r1=1786547&r2=1786548&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-value/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/BogusSyntax.java
(original)
+++ directory/apacheds/branches/apacheds-value/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/BogusSyntax.java
Sun Mar 12 00:46:16 2017
@@ -45,6 +45,6 @@ public class BogusSyntax extends LdapSyn
 
     public SyntaxChecker getSyntaxChecker()
     {
-        return new OctetStringSyntaxChecker();
+        return OctetStringSyntaxChecker.INSTANCE;
     }
 }

Modified: directory/apacheds/branches/apacheds-value/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/NestedFilterTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/NestedFilterTest.java?rev=1786548&r1=1786547&r2=1786548&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-value/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/NestedFilterTest.java
(original)
+++ directory/apacheds/branches/apacheds-value/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/NestedFilterTest.java
Sun Mar 12 00:46:16 2017
@@ -245,7 +245,7 @@ public class NestedFilterTest extends Ab
     {
         String filter = "(&(|(postalCode=5)(postalCode=6))(!(ou=sales)))";
 
-        UuidSyntaxChecker uuidSynChecker = new UuidSyntaxChecker();
+        UuidSyntaxChecker uuidSynChecker = UuidSyntaxChecker.INSTANCE;
 
         ExprNode exprNode = FilterParser.parse( schemaManager, filter );
         optimizer.annotate( exprNode );

Modified: directory/apacheds/branches/apacheds-value/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/NotCursorTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/NotCursorTest.java?rev=1786548&r1=1786547&r2=1786548&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-value/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/NotCursorTest.java
(original)
+++ directory/apacheds/branches/apacheds-value/xdbm-partition/src/test/java/org/apache/directory/server/xdbm/search/impl/NotCursorTest.java
Sun Mar 12 00:46:16 2017
@@ -77,7 +77,7 @@ public class NotCursorTest extends Abstr
 {
     private static final Logger LOG = LoggerFactory.getLogger( NotCursorTest.class );
 
-    UuidSyntaxChecker uuidSynChecker = new UuidSyntaxChecker();
+    UuidSyntaxChecker uuidSynChecker = UuidSyntaxChecker.INSTANCE;
 
     File wkdir;
     static SchemaManager schemaManager = null;



Mime
View raw message