directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r433034 - /directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java
Date Sun, 20 Aug 2006 20:31:13 GMT
Author: elecharny
Date: Sun Aug 20 13:31:13 2006
New Revision: 433034

URL: http://svn.apache.org/viewvc?rev=433034&view=rev
Log:
As the AttributeValue now stores String or byte[], casted the
rdn.getValue(à to be a String

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

Modified: directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java?rev=433034&r1=433033&r2=433034&view=diff
==============================================================================
--- directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java
(original)
+++ directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java
Sun Aug 20 13:31:13 2006
@@ -338,7 +338,7 @@
         if ( rdn.size() == 1 )
         {
             String rdnAttribute = rdn.getType();
-            String rdnValue = rdn.getValue();
+            String rdnValue = (String)rdn.getValue();
 
             // Add the Rdn attribute
             boolean doRdnPut = attributes.get( rdnAttribute ) == null;



Mime
View raw message