directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r476875 - in /directory/trunks/apacheds/core-plugin/src/main: antlr/openldap.g java/org/apache/directory/server/core/tools/schema/AttributeTypeLiteral.java
Date Sun, 19 Nov 2006 18:38:13 GMT
Author: elecharny
Date: Sun Nov 19 10:38:12 2006
New Revision: 476875

URL: http://svn.apache.org/viewvc?view=rev&rev=476875
Log:
Changed the UsageTypeEnum to become an enum instead of an subclass
of ValuedEnum (Java 5 migration)

Modified:
    directory/trunks/apacheds/core-plugin/src/main/antlr/openldap.g
    directory/trunks/apacheds/core-plugin/src/main/java/org/apache/directory/server/core/tools/schema/AttributeTypeLiteral.java

Modified: directory/trunks/apacheds/core-plugin/src/main/antlr/openldap.g
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/core-plugin/src/main/antlr/openldap.g?view=diff&rev=476875&r1=476874&r2=476875
==============================================================================
--- directory/trunks/apacheds/core-plugin/src/main/antlr/openldap.g (original)
+++ directory/trunks/apacheds/core-plugin/src/main/antlr/openldap.g Sun Nov 19 10:38:12 2006
@@ -547,8 +547,8 @@
     :
     "USAGE"
     (
-        "userApplications" { type.setUsage( UsageEnum.USERAPPLICATIONS ); } |
-        "directoryOperation" { type.setUsage( UsageEnum.DIRECTORYOPERATION ); } |
-        "distributedOperation" { type.setUsage( UsageEnum.DISTRIBUTEDOPERATION ); } |
-        "dSAOperation" { type.setUsage( UsageEnum.DSAOPERATION ); }
+        "userApplications" { type.setUsage( UsageEnum.USER_APPLICATIONS ); } |
+        "directoryOperation" { type.setUsage( UsageEnum.DIRECTORY_OPERATION ); } |
+        "distributedOperation" { type.setUsage( UsageEnum.DISTRIBUTED_OPERATION ); } |
+        "dSAOperation" { type.setUsage( UsageEnum.DSA_OPERATION ); }
     );

Modified: directory/trunks/apacheds/core-plugin/src/main/java/org/apache/directory/server/core/tools/schema/AttributeTypeLiteral.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/core-plugin/src/main/java/org/apache/directory/server/core/tools/schema/AttributeTypeLiteral.java?view=diff&rev=476875&r1=476874&r2=476875
==============================================================================
--- directory/trunks/apacheds/core-plugin/src/main/java/org/apache/directory/server/core/tools/schema/AttributeTypeLiteral.java
(original)
+++ directory/trunks/apacheds/core-plugin/src/main/java/org/apache/directory/server/core/tools/schema/AttributeTypeLiteral.java
Sun Nov 19 10:38:12 2006
@@ -46,7 +46,7 @@
     private String substr;
     private String syntax;
 
-    private UsageEnum usage = UsageEnum.USERAPPLICATIONS;
+    private UsageEnum usage = UsageEnum.USER_APPLICATIONS;
 
     private String[] names = ArrayUtils.EMPTY_STRING_ARRAY;
 



Mime
View raw message