directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r524793 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/trigger/TriggerUtils.java
Date Mon, 02 Apr 2007 14:25:14 GMT
Author: elecharny
Date: Mon Apr  2 07:25:13 2007
New Revision: 524793

URL: http://svn.apache.org/viewvc?view=rev&rev=524793
Log:
Replaced "subtreeSpecification" by the declared constant in SchemaConstants

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/trigger/TriggerUtils.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/trigger/TriggerUtils.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/trigger/TriggerUtils.java?view=diff&rev=524793&r1=524792&r2=524793
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/trigger/TriggerUtils.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/trigger/TriggerUtils.java
Mon Apr  2 07:25:13 2007
@@ -41,7 +41,6 @@
  */
 public class TriggerUtils
 {
-    public static final String SUBTREE_SPECIFICATION_ATTR = "subtreeSpecification";
     public static final String ADMINISTRATIVE_ROLE_ATTR = "administrativeRole";
     public static final String TRIGGER_EXECUTION_SPECIFIC_AREA_ATTR_VALUE = "triggerExecutionSpecificArea";
     public static final String TRIGGER_EXECUTION_SUBENTRY_OC = "triggerExecutionSubentry";
@@ -74,7 +73,7 @@
         objectClass.add( SchemaConstants.TOP_OC );
         objectClass.add( SchemaConstants.SUBENTRY_OC );
         objectClass.add( TRIGGER_EXECUTION_SUBENTRY_OC );
-        subentry.put( SUBTREE_SPECIFICATION_ATTR, subtreeSpec );
+        subentry.put( SchemaConstants.SUBTREE_SPECIFICATION_AT, subtreeSpec );
         subentry.put( PRESCRIPTIVE_TRIGGER_SPECIFICATION_ATTR, prescriptiveTriggerSpec );
         apCtx.createSubcontext( "cn=" + subentryCN, subentry );
     }



Mime
View raw message