directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r420142 - /directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/referral/ReferralService.java
Date Sat, 08 Jul 2006 15:47:33 GMT
Author: elecharny
Date: Sat Jul  8 08:47:33 2006
New Revision: 420142

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

Modified:
    directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/referral/ReferralService.java

Modified: directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/referral/ReferralService.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/referral/ReferralService.java?rev=420142&r1=420141&r2=420142&view=diff
==============================================================================
--- directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/referral/ReferralService.java
(original)
+++ directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/referral/ReferralService.java
Sat Jul  8 08:47:33 2006
@@ -240,7 +240,7 @@
                 buf.append( ldapUrl.getPort() );
             }
             buf.append( "/" );
-            buf.append( urlDn.toUpName() );
+            buf.append( urlDn.getUpName() );
             list.add( buf.toString() );
         }
         LdapReferralException lre = new LdapReferralException( list );
@@ -281,7 +281,7 @@
             Attributes referral = invocation.getProxy().lookup( farthest, DirectoryPartitionNexusProxy.LOOKUP_BYPASS
);
             AttributeType refsType = attrRegistry.lookup( oidRegistry.getOid( REF_ATTR )
);
             Attribute refs = ServerUtils.getAttribute( refsType, referral );
-            doReferralException( farthest, new LdapDN( normName.toUpName() ), refs );
+            doReferralException( farthest, new LdapDN( normName.getUpName() ), refs );
         }
         else if ( refval.equals( FOLLOW ) )
         {
@@ -317,7 +317,7 @@
 
             Attributes referral = invocation.getProxy().lookup( farthest, DirectoryPartitionNexusProxy.LOOKUP_BYPASS
);
             Attribute refs = referral.get( REF_ATTR );
-            doReferralException( farthest, new LdapDN( normName.toUpName() ), refs );
+            doReferralException( farthest, new LdapDN( normName.getUpName() ), refs );
 
             // we really can't get here since doReferralException will throw an exception
             return false;
@@ -366,7 +366,7 @@
 
             Attributes referral = invocation.getProxy().lookup( farthest, DirectoryPartitionNexusProxy.LOOKUP_BYPASS
);
             Attribute refs = referral.get( REF_ATTR );
-            doReferralException( farthest, new LdapDN( normName.toUpName() ), refs );
+            doReferralException( farthest, new LdapDN( normName.getUpName() ), refs );
         }
         else if ( refval.equals( FOLLOW ) )
         {
@@ -432,7 +432,7 @@
                 Attributes referral = invocation.getProxy().lookup( farthestSrc,
                     DirectoryPartitionNexusProxy.LOOKUP_BYPASS );
                 Attribute refs = referral.get( REF_ATTR );
-                doReferralException( farthestSrc, new LdapDN( oldName.toUpName() ), refs
);
+                doReferralException( farthestSrc, new LdapDN( oldName.getUpName() ), refs
);
             }
             else if ( farthestDst != null )
             {
@@ -499,7 +499,7 @@
                 Attributes referral = invocation.getProxy().lookup( farthestSrc,
                     DirectoryPartitionNexusProxy.LOOKUP_BYPASS );
                 Attribute refs = referral.get( REF_ATTR );
-                doReferralException( farthestSrc, new LdapDN( oldName.toUpName() ), refs
);
+                doReferralException( farthestSrc, new LdapDN( oldName.getUpName() ), refs
);
             }
             else if ( farthestDst != null )
             {
@@ -570,7 +570,7 @@
                 Attributes referral = invocation.getProxy().lookup( farthestSrc,
                     DirectoryPartitionNexusProxy.LOOKUP_BYPASS );
                 Attribute refs = referral.get( REF_ATTR );
-                doReferralException( farthestSrc, new LdapDN( oldName.toUpName() ), refs
);
+                doReferralException( farthestSrc, new LdapDN( oldName.getUpName() ), refs
);
             }
             else if ( farthestDst != null )
             {
@@ -683,7 +683,7 @@
 
             Attributes referral = invocation.getProxy().lookup( farthest, DirectoryPartitionNexusProxy.LOOKUP_BYPASS
);
             Attribute refs = referral.get( REF_ATTR );
-            doReferralException( farthest, new LdapDN( name.toUpName() ), refs );
+            doReferralException( farthest, new LdapDN( name.getUpName() ), refs );
         }
         else if ( refval.equals( FOLLOW ) )
         {
@@ -787,7 +787,7 @@
 
             Attributes referral = invocation.getProxy().lookup( farthest, DirectoryPartitionNexusProxy.LOOKUP_BYPASS
);
             Attribute refs = referral.get( REF_ATTR );
-            doReferralException( farthest, new LdapDN( name.toUpName() ), refs );
+            doReferralException( farthest, new LdapDN( name.getUpName() ), refs );
         }
         else if ( refval.equals( FOLLOW ) )
         {
@@ -922,7 +922,7 @@
 
             Attributes referral = invocation.getProxy().lookup( farthest, DirectoryPartitionNexusProxy.LOOKUP_BYPASS
);
             Attribute refs = referral.get( REF_ATTR );
-            doReferralExceptionOnSearchBase( farthest, new LdapDN( base.toUpName() ), refs,
controls.getSearchScope() );
+            doReferralExceptionOnSearchBase( farthest, new LdapDN( base.getUpName() ), refs,
controls.getSearchScope() );
             throw new IllegalStateException( "Should never get here: shutting up compiler"
);
         }
         if ( refval.equals( THROW ) )
@@ -944,7 +944,7 @@
 
             Attributes referral = invocation.getProxy().lookup( farthest, DirectoryPartitionNexusProxy.LOOKUP_BYPASS
);
             Attribute refs = referral.get( REF_ATTR );
-            doReferralExceptionOnSearchBase( farthest, new LdapDN( base.toUpName() ), refs,
controls.getSearchScope() );
+            doReferralExceptionOnSearchBase( farthest, new LdapDN( base.getUpName() ), refs,
controls.getSearchScope() );
             throw new IllegalStateException( "Should never get here: shutting up compiler"
);
         }
         else if ( refval.equals( FOLLOW ) )
@@ -1074,7 +1074,7 @@
                 buf.append( ldapUrl.getPort() );
             }
             buf.append( "/" );
-            buf.append( urlDn.toUpName() );
+            buf.append( urlDn.getUpName() );
             buf.append( "??" );
 
             switch ( scope )



Mime
View raw message