directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1786547 - /directory/apacheds/trunk/service/src/main/java/org/apache/directory/server/ApacheDsService.java
Date Sun, 12 Mar 2017 00:44:04 GMT
Author: elecharny
Date: Sun Mar 12 00:44:04 2017
New Revision: 1786547

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

Modified:
    directory/apacheds/trunk/service/src/main/java/org/apache/directory/server/ApacheDsService.java

Modified: directory/apacheds/trunk/service/src/main/java/org/apache/directory/server/ApacheDsService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/service/src/main/java/org/apache/directory/server/ApacheDsService.java?rev=1786547&r1=1786546&r2=1786547&view=diff
==============================================================================
--- directory/apacheds/trunk/service/src/main/java/org/apache/directory/server/ApacheDsService.java
(original)
+++ directory/apacheds/trunk/service/src/main/java/org/apache/directory/server/ApacheDsService.java
Sun Mar 12 00:44:04 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