directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r763097 - /directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/partition/DefaultPartitionNexus.java
Date Wed, 08 Apr 2009 04:14:53 GMT
Author: akarasulu
Date: Wed Apr  8 04:14:53 2009
New Revision: 763097

URL: http://svn.apache.org/viewvc?rev=763097&view=rev
Log:
cleaning up useless methods

Modified:
    directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/partition/DefaultPartitionNexus.java

Modified: directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/partition/DefaultPartitionNexus.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/partition/DefaultPartitionNexus.java?rev=763097&r1=763096&r2=763097&view=diff
==============================================================================
--- directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/partition/DefaultPartitionNexus.java
(original)
+++ directory/apacheds/branches/ldif-partition/core/src/main/java/org/apache/directory/server/core/partition/DefaultPartitionNexus.java
Wed Apr  8 04:14:53 2009
@@ -229,7 +229,7 @@
     /**
      * Not supported!
      *
-     * @throws UnsupportedOperationException everytime
+     * @throws UnsupportedOperationException every time
      */
     public void setId( String id )
     {
@@ -237,47 +237,6 @@
     }
 
 
-    /**
-     * Always returns the empty String "".
-     * @return the empty String ""
-     */
-    public String getSuffix()
-    {
-        return "";
-    }
-
-
-    /**
-     * Unsupported operation on the Nexus.
-     * @throws UnsupportedOperationException everytime
-     */
-    public void setSuffix( String suffix )
-    {
-        throw new UnsupportedOperationException();
-    }
-
-
-    /**
-     * Not support!
-     */
-    public void setCacheSize( int cacheSize )
-    {
-        throw new UnsupportedOperationException( "You cannot set the cache size of the nexus"
);
-    }
-
-
-    /**
-     * Not supported!
-     *
-     * @throws UnsupportedOperationException always
-     */
-    public int getCacheSize()
-    {
-        throw new UnsupportedOperationException( "There is no cache size associated with
the nexus" );
-    }
-
-
-
     public void init( DirectoryService directoryService )
         throws Exception
     {
@@ -743,15 +702,14 @@
 
     /**
      * Unregisters an ContextPartition with this BackendManager.  Called for each
-     * registered Backend right befor it is to be stopped.  This prevents
-     * protocol server requests from reaching the Backend and effectively puts
-     * the ContextPartition's naming context offline.
+     * registered Partition right before it is to be stopped.  This prevents
+     * protocol server requests from reaching the Partition and effectively puts
+     * the Partition's naming context off line.
      *
      * Operations against the naming context should result in an LDAP BUSY
      * result code in the returnValue if the naming context is not online.
      *
-     * @param partition ContextPartition component to unregister with this
-     * BackendNexus.
+     * @param partition Partition component to unregister with this PartitionNexus.
      * @throws Exception if there are problems unregistering the partition
      */
     private void unregister( Partition partition ) throws Exception



Mime
View raw message