directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r153803 - incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message/LockableAttributeImpl.java
Date Mon, 14 Feb 2005 17:06:44 GMT
Author: akarasulu
Date: Mon Feb 14 09:06:41 2005
New Revision: 153803

URL: http://svn.apache.org/viewcvs?view=rev&rev=153803
Log:
fixed constructor ambiguity

Modified:
    incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message/LockableAttributeImpl.java

Modified: incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message/LockableAttributeImpl.java
URL: http://svn.apache.org/viewcvs/incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message/LockableAttributeImpl.java?view=diff&r1=153802&r2=153803
==============================================================================
--- incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message/LockableAttributeImpl.java
(original)
+++ incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message/LockableAttributeImpl.java
Mon Feb 14 09:06:41 2005
@@ -72,7 +72,27 @@
      * @param id the id or name of this attribute.
      * @param value a value for the attribute
      */
-    public LockableAttributeImpl( final String id, final Object value )
+    public LockableAttributeImpl( final String id, final String value )
+    {
+        super( false ) ;
+
+        this.id = id ;
+
+        list = new ArrayList() ;
+
+        list.add( value );
+    }
+
+
+
+
+    /**
+     * Creates a permanently LockableAttribute on id with a single value.
+     *
+     * @param id the id or name of this attribute.
+     * @param value a value for the attribute
+     */
+    public LockableAttributeImpl( final String id, final byte[] value )
     {
         super( false ) ;
 



Mime
View raw message