directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1088434 - in /directory: apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/entry/ shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/
Date Sun, 03 Apr 2011 23:09:34 GMT
Author: elecharny
Date: Sun Apr  3 23:09:34 2011
New Revision: 1088434

URL: http://svn.apache.org/viewvc?rev=1088434&view=rev
Log:
Removed useless methods

Modified:
    directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/entry/ClonedServerEntry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/DefaultEntry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/Entry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/ImmutableEntry.java

Modified: directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/entry/ClonedServerEntry.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/entry/ClonedServerEntry.java?rev=1088434&r1=1088433&r2=1088434&view=diff
==============================================================================
--- directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/entry/ClonedServerEntry.java
(original)
+++ directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/entry/ClonedServerEntry.java
Sun Apr  3 23:09:34 2011
@@ -169,24 +169,6 @@ public class ClonedServerEntry implement
     }
 
 
-    public boolean isValid()
-    {
-        return clonedEntry.isValid();
-    }
-
-
-    public boolean isValid( String objectClass )
-    {
-        return clonedEntry.isValid( objectClass );
-    }
-
-
-    public boolean isValid( Attribute objectClass )
-    {
-        return clonedEntry.isValid( objectClass );
-    }
-
-
     public Attribute put( AttributeType attributeType, byte[]... values ) throws LdapException
     {
         return clonedEntry.put( attributeType, values );

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/DefaultEntry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/DefaultEntry.java?rev=1088434&r1=1088433&r2=1088434&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/DefaultEntry.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/DefaultEntry.java
Sun Apr  3 23:09:34 2011
@@ -39,7 +39,6 @@ import org.apache.directory.shared.ldap.
 import org.apache.directory.shared.ldap.model.schema.AttributeType;
 import org.apache.directory.shared.ldap.model.schema.SchemaManager;
 import org.apache.directory.shared.util.Strings;
-import org.apache.directory.shared.util.exception.NotImplementedException;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -2460,36 +2459,6 @@ public final class DefaultEntry implemen
 
 
     /**
-     * {@inheritDoc}
-     */
-    public boolean isValid()
-    {
-        // @TODO Implement me !
-        throw new NotImplementedException();
-    }
-
-
-    /**
-     * {@inheritDoc}
-     */
-    public boolean isValid( Attribute objectClass )
-    {
-        // @TODO Implement me !
-        throw new NotImplementedException();
-    }
-
-
-    /**
-     * {@inheritDoc}
-     */
-    public boolean isValid( String objectClass )
-    {
-        // @TODO Implement me !
-        throw new NotImplementedException();
-    }
-
-
-    /**
      * Returns the number of attributes.
      *
      * @return the number of attributes

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/Entry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/Entry.java?rev=1088434&r1=1088433&r2=1088434&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/Entry.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/Entry.java
Sun Apr  3 23:09:34 2011
@@ -168,42 +168,6 @@ public interface Entry extends Cloneable
 
 
     /**
-     * Fail fast check performed to determine entry consistency according to schema
-     * characteristics.
-     *
-     * @return true if the entry, it's attributes and their values are consistent
-     * with the schema
-     */
-    boolean isValid();
-
-
-    /**
-     * Check performed to determine entry consistency according to the schema
-     * requirements of a particular objectClass.  The entry must be of that objectClass
-     * to return true: meaning if the entry's objectClass attribute does not contain
-     * the objectClass argument, then false should be returned.
-     *
-     * @param objectClass the objectClass to use while checking for validity
-     * @return true if the entry, it's attributes and their values are consistent
-     * with the objectClass
-     */
-    boolean isValid( String objectClass );
-
-    
-    /**
-     * Check performed to determine entry consistency according to the schema
-     * requirements of a particular objectClass.  The entry must be of that objectClass
-     * to return true: meaning if the entry's objectClass attribute does not contain
-     * the objectClass argument, then false should be returned.
-     *
-     * @param objectClass the objectClass to use while checking for validity
-     * @return true if the entry, it's attributes and their values are consistent
-     * with the objectClass
-     */
-    boolean isValid( Attribute objectClass );
-
-
-    /**
      * Returns an enumeration containing the zero or more attributes in the
      * collection. The behavior of the enumeration is not specified if the
      * attribute collection is changed.

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/ImmutableEntry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/ImmutableEntry.java?rev=1088434&r1=1088433&r2=1088434&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/ImmutableEntry.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/ImmutableEntry.java
Sun Apr  3 23:09:34 2011
@@ -607,36 +607,6 @@ public class ImmutableEntry implements E
 
 
     /**
-     * {@inheritDoc}
-     */
-    public boolean isValid()
-    {
-        new Exception().printStackTrace();
-        throw new NotImplementedException();
-    }
-
-
-    /**
-     * {@inheritDoc}
-     */
-    public boolean isValid( Attribute objectClass )
-    {
-        new Exception().printStackTrace();
-        throw new NotImplementedException();
-    }
-
-
-    /**
-     * {@inheritDoc}
-     */
-    public boolean isValid( String objectClass )
-    {
-        new Exception().printStackTrace();
-        throw new NotImplementedException();
-    }
-
-
-    /**
      * Returns the number of attributes.
      *
      * @return the number of attributes



Mime
View raw message