directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r498858 - /directory/shared/branches/0.9.5/ldap/src/main/antlr/ACIItem.g
Date Mon, 22 Jan 2007 23:55:48 GMT
Author: akarasulu
Date: Mon Jan 22 15:55:44 2007
New Revision: 498858

URL: http://svn.apache.org/viewvc?view=rev&rev=498858
Log:
fixing LockableAttributeImpl rename problem in aci parser

Modified:
    directory/shared/branches/0.9.5/ldap/src/main/antlr/ACIItem.g

Modified: directory/shared/branches/0.9.5/ldap/src/main/antlr/ACIItem.g
URL: http://svn.apache.org/viewvc/directory/shared/branches/0.9.5/ldap/src/main/antlr/ACIItem.g?view=diff&rev=498858&r1=498857&r2=498858
==============================================================================
--- directory/shared/branches/0.9.5/ldap/src/main/antlr/ACIItem.g (original)
+++ directory/shared/branches/0.9.5/ldap/src/main/antlr/ACIItem.g Mon Jan 22 15:55:44 2007
@@ -46,7 +46,7 @@
 import org.apache.directory.shared.ldap.util.NoDuplicateKeysMap;
 import org.apache.directory.shared.ldap.util.OptionalComponentsMonitor;
 import org.apache.directory.shared.ldap.name.LdapDN;
-import org.apache.directory.shared.ldap.message.AttributeImpl;
+import org.apache.directory.shared.ldap.message.LockableAttributeImpl;
 
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -496,7 +496,7 @@
             attributeTypeAndValue = ( String ) attributeTypeAndValueSet.nextElement();
             attributeType = NamespaceTools.getRdnAttribute( attributeTypeAndValue );
             attributeValue = NamespaceTools.getRdnValue( attributeTypeAndValue );
-            attributeSet.add( new AttributeImpl( attributeType, attributeValue ) );
+            attributeSet.add( new LockableAttributeImpl( attributeType, attributeValue )
);
             log.debug( "An attributeTypeAndValue from the set: " + attributeType + "=" +
 attributeValue);
         }
         m_protectedItemsMap.put( "attributeValue", new ProtectedItem.AttributeValue( attributeSet
) );



Mime
View raw message