directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 54003 - incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/config
Date Thu, 07 Oct 2004 18:06:32 GMT
Author: akarasulu
Date: Thu Oct  7 11:06:31 2004
New Revision: 54003

Added:
   incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/config/CoreSyntaxes.java
      - copied, changed from rev 54002, incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/config/SyntaxConfig.java
Removed:
   incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/config/SyntaxConfig.java
Log:
cleaning up constants

Copied: incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/config/CoreSyntaxes.java
(from rev 54002, incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/config/SyntaxConfig.java)
==============================================================================
--- incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/config/SyntaxConfig.java
(original)
+++ incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/schema/config/CoreSyntaxes.java
Thu Oct  7 11:06:31 2004
@@ -28,10 +28,14 @@
  * @author <a href="mailto:directory-dev@incubator.apache.org">Apache Directory Project</a>
  * @version $Rev$
  */
-public class SyntaxConfig implements SyntaxConfigSet
+public class CoreSyntaxes implements SyntaxConfigSet
 {
-    /** an empty array */
+    /** an empty string array */
     private final static String[] EMPTY_ARRAY = new String[0];
+    /** the DN of the owner of the objects within this SyntaxConfigSet */
+    private static final String OWNER = "uid=admin,ou=system";
+    /** the logical schema the objects within this SyntaxConfigSet belong to */  
+    private static final String SCHEMA = "core";
 
 
     // ------------------------------------------------------------------------
@@ -41,13 +45,13 @@
 
     public String getOwner()
     {
-        return "uid=admin,ou=system";
+        return OWNER;
     }
 
 
     public String getSchemaName()
     {
-        return "core";
+        return SCHEMA;
     }
 
 

Mime
View raw message