directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1665669 - /directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ReadOnlyConfigurationPartition.java
Date Tue, 10 Mar 2015 20:02:20 GMT
Author: seelmann
Date: Tue Mar 10 20:02:20 2015
New Revision: 1665669

URL: http://svn.apache.org/r1665669
Log:
Override new delete methods and add @Override annotation

Modified:
    directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ReadOnlyConfigurationPartition.java

Modified: directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ReadOnlyConfigurationPartition.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ReadOnlyConfigurationPartition.java?rev=1665669&r1=1665668&r2=1665669&view=diff
==============================================================================
--- directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ReadOnlyConfigurationPartition.java
(original)
+++ directory/apacheds/trunk/server-config/src/main/java/org/apache/directory/server/config/ReadOnlyConfigurationPartition.java
Tue Mar 10 20:02:20 2015
@@ -36,6 +36,7 @@ import org.apache.directory.api.ldap.mod
 import org.apache.directory.api.ldap.model.name.Dn;
 import org.apache.directory.api.ldap.model.schema.SchemaManager;
 import org.apache.directory.server.core.api.interceptor.context.AddOperationContext;
+import org.apache.directory.server.core.api.interceptor.context.DeleteOperationContext;
 import org.apache.directory.server.core.api.interceptor.context.ModifyOperationContext;
 import org.apache.directory.server.core.api.interceptor.context.MoveAndRenameOperationContext;
 import org.apache.directory.server.core.api.interceptor.context.MoveOperationContext;
@@ -175,6 +176,7 @@ public class ReadOnlyConfigurationPartit
     /**
      * {@inheritDoc}
      */
+    @Override
     public void add( AddOperationContext arg0 ) throws LdapException
     {
         // Does nothing (Read-Only)
@@ -184,15 +186,29 @@ public class ReadOnlyConfigurationPartit
     /**
      * {@inheritDoc}
      */
-    public void delete( Long arg0 ) throws LdapException
+    @Override
+    public Entry delete( String id ) throws LdapException
     {
         // Does nothing (Read-Only)
+        return null;
     }
 
 
     /**
      * {@inheritDoc}
      */
+    @Override
+    public Entry delete( DeleteOperationContext deleteContext ) throws LdapException
+    {
+        // Does nothing (Read-Only)
+        return null;
+    }
+
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
     public void modify( ModifyOperationContext arg0 ) throws LdapException
     {
         // Does nothing (Read-Only)
@@ -202,6 +218,7 @@ public class ReadOnlyConfigurationPartit
     /**
      * {@inheritDoc}
      */
+    @Override
     public void move( MoveOperationContext arg0 ) throws LdapException
     {
         // Does nothing (Read-Only)
@@ -211,6 +228,7 @@ public class ReadOnlyConfigurationPartit
     /**
      * {@inheritDoc}
      */
+    @Override
     public void moveAndRename( MoveAndRenameOperationContext arg0 ) throws LdapException
     {
         // Does nothing (Read-Only)
@@ -220,6 +238,7 @@ public class ReadOnlyConfigurationPartit
     /**
      * {@inheritDoc}
      */
+    @Override
     public void rename( RenameOperationContext arg0 ) throws LdapException
     {
         // Does nothing (Read-Only)



Mime
View raw message