You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2007/05/02 16:20:25 UTC
svn commit: r534474 -
/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeService.java
Author: elecharny
Date: Wed May 2 07:20:25 2007
New Revision: 534474
URL: http://svn.apache.org/viewvc?view=rev&rev=534474
Log:
Trivial refactoring of the code to avoid too long lines
Modified:
directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeService.java
Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeService.java?view=diff&rev=534474&r1=534473&r2=534474
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeService.java (original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeService.java Wed May 2 07:20:25 2007
@@ -459,7 +459,9 @@
}
else if ( rdn.size() == 1 )
{
- newDn.add( new Rdn( registry.lookup( rdn.getNormType() ).getName(), (String)rdn.getAtav().getValue() ) );
+ String name = registry.lookup( rdn.getNormType() ).getName();
+ String value = (String)rdn.getAtav().getValue();
+ newDn.add( new Rdn( name, name, value, value ) );
continue;
}