directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r514793 - /directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/jndi/ServerContext.java
Date Mon, 05 Mar 2007 18:38:53 GMT
Author: elecharny
Date: Mon Mar  5 10:38:52 2007
New Revision: 514793

URL: http://svn.apache.org/viewvc?view=rev&rev=514793
Log:
Reflected the change done in Rdn (getType() removed and replaced by
getNormType() and getUpType())

Modified:
    directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/jndi/ServerContext.java

Modified: directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/jndi/ServerContext.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/jndi/ServerContext.java?view=diff&rev=514793&r1=514792&r2=514793
==============================================================================
--- directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/jndi/ServerContext.java
(original)
+++ directory/apacheds/branches/1.0/core/src/main/java/org/apache/directory/server/core/jndi/ServerContext.java
Mon Mar  5 10:38:52 2007
@@ -347,14 +347,14 @@
         Rdn rdn = target.getRdn( target.size() - 1 );
         if ( rdn.size() == 1 )
         {
-            attributes.put( rdn.getType(), rdn.getValue() );
+            attributes.put( rdn.getUpType(), rdn.getValue() );
         }
         else
         {
             for ( Iterator ii = rdn.iterator(); ii.hasNext(); /**/ )
             {
                 AttributeTypeAndValue atav = ( AttributeTypeAndValue ) ii.next();
-                attributes.put( atav.getType(), atav.getValue() );
+                attributes.put( atav.getUpType(), atav.getValue() );
             }
         }
     }



Mime
View raw message