directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1786546 - /directory/apacheds/branches/apacheds-value/service/src/main/java/org/apache/directory/server/ApacheDsService.java
Date Sun, 12 Mar 2017 00:43:46 GMT
Author: elecharny
Date: Sun Mar 12 00:43:46 2017
New Revision: 1786546

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

Modified:
    directory/apacheds/branches/apacheds-value/service/src/main/java/org/apache/directory/server/ApacheDsService.java

Modified: directory/apacheds/branches/apacheds-value/service/src/main/java/org/apache/directory/server/ApacheDsService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/service/src/main/java/org/apache/directory/server/ApacheDsService.java?rev=1786546&r1=1786545&r2=1786546&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-value/service/src/main/java/org/apache/directory/server/ApacheDsService.java
(original)
+++ directory/apacheds/branches/apacheds-value/service/src/main/java/org/apache/directory/server/ApacheDsService.java
Sun Mar 12 00:43:46 2017
@@ -128,12 +128,12 @@ public class ApacheDsService
     // variables used during the initial startup to update the mandatory operational
     // attributes
     /** The UUID syntax checker instance */
-    private UuidSyntaxChecker uuidChecker = new UuidSyntaxChecker();
+    private UuidSyntaxChecker uuidChecker = UuidSyntaxChecker.INSTANCE;
 
     /** The CSN syntax checker instance */
-    private CsnSyntaxChecker csnChecker = new CsnSyntaxChecker();
+    private CsnSyntaxChecker csnChecker = CsnSyntaxChecker.INSTANCE;
 
-    private GeneralizedTimeSyntaxChecker timeChecker = new GeneralizedTimeSyntaxChecker();
+    private GeneralizedTimeSyntaxChecker timeChecker = GeneralizedTimeSyntaxChecker.INSTANCE;
 
     private static final Map<String, AttributeTypeOptions> MANDATORY_ENTRY_ATOP_MAP
= new HashMap<String, AttributeTypeOptions>();
     private static final String[] MANDATORY_ENTRY_ATOP_AT = new String[5];



Mime
View raw message