directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r420143 - /directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmDirectoryPartition.java
Date Sat, 08 Jul 2006 15:47:50 GMT
Author: elecharny
Date: Sat Jul  8 08:47:50 2006
New Revision: 420143

URL: http://svn.apache.org/viewvc?rev=420143&view=rev
Log:
Switched from toUpName() to getUpName();

Modified:
    directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmDirectoryPartition.java

Modified: directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmDirectoryPartition.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmDirectoryPartition.java?rev=420143&r1=420142&r2=420143&view=diff
==============================================================================
--- directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmDirectoryPartition.java
(original)
+++ directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmDirectoryPartition.java
Sat Jul  8 08:47:50 2006
@@ -695,7 +695,7 @@
         {
             // Complain specifically about aliases to outside naming contexts
             throw new NamingException( "[36] aliasDereferencingProblem -"
-                + " the alias points to an entry outside of the " + upSuffix.toUpName()
+                + " the alias points to an entry outside of the " + upSuffix.getUpName()
                 + " namingContext to an object whose existance cannot be" + " determined."
);
         }
 
@@ -813,7 +813,7 @@
 
         if ( objectClass == null )
         {
-            String msg = "Entry " + normName.toUpName() + " contains no objectClass attribute:
" + entry;
+            String msg = "Entry " + normName.getUpName() + " contains no objectClass attribute:
" + entry;
             throw new LdapSchemaViolationException( msg, ResultCodeEnum.OBJECTCLASSVIOLATION
);
         }
 
@@ -828,7 +828,7 @@
         }
 
         ndnIdx.add( normName.toNormName(), id );
-        updnIdx.add( normName.toUpName(), id );
+        updnIdx.add( normName.getUpName(), id );
         hierarchyIdx.add( parentId, id );
 
         // Now work on the user defined indices
@@ -1425,7 +1425,7 @@
         ndnIdx.add( ndnIdx.getNormalized( normalizedDn.toNormName() ), id );
 
         updnIdx.drop( id );
-        updnIdx.add( updn.toUpName(), id );
+        updnIdx.add( updn.getUpName(), id );
 
         /* 
          * Read Alias Index Tuples



Mime
View raw message