directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r489742 - /directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeService.java
Date Fri, 22 Dec 2006 19:56:45 GMT
Author: elecharny
Date: Fri Dec 22 11:56:44 2006
New Revision: 489742

URL: http://svn.apache.org/viewvc?view=rev&rev=489742
Log:
Fixed Jira DIRSERVER-804

Modified:
    directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeService.java

Modified: directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeService.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeService.java?view=diff&rev=489742&r1=489741&r2=489742
==============================================================================
--- directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeService.java
(original)
+++ directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeService.java
Fri Dec 22 11:56:44 2006
@@ -379,17 +379,22 @@
             if ( attr != null )
             {
                 LdapDN creatorsName = new LdapDN( ( String ) attr.get() );
-                attr.set( 0, denormalizeTypes( creatorsName ).getUpName() );
+                
+                attr.clear();
+                attr.add( denormalizeTypes( creatorsName ).getUpName() );
             }
             
             type = null;
             type = registry.lookup( "modifiersName" );
             attr = null;
             attr = AttributeUtils.getAttribute( entry, type );
+            
             if ( attr != null )
             {
                 LdapDN modifiersName = new LdapDN( ( String ) attr.get() );
-                attr.set( 0, denormalizeTypes( modifiersName ).getUpName() );
+
+                attr.clear();
+                attr.add( denormalizeTypes( modifiersName ).getUpName() );
             }
         }
     }



Mime
View raw message