directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1074166 - in /directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema: ./ parsers/
Date Thu, 24 Feb 2011 14:39:24 GMT
Author: elecharny
Date: Thu Feb 24 14:39:23 2011
New Revision: 1074166

URL: http://svn.apache.org/viewvc?rev=1074166&view=rev
Log:
o Removed the serialVersionUid from some more classes

Modified:
    directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/AbstractSchemaObject.java
    directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/AttributeType.java
    directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/DITContentRule.java
    directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/DITStructureRule.java
    directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/LdapSyntax.java
    directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/MatchingRule.java
    directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/MatchingRuleUse.java
    directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/NameForm.java
    directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/ObjectClass.java
    directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/parsers/LdapComparatorDescription.java

Modified: directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/AbstractSchemaObject.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/AbstractSchemaObject.java?rev=1074166&r1=1074165&r2=1074166&view=diff
==============================================================================
--- directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/AbstractSchemaObject.java
(original)
+++ directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/AbstractSchemaObject.java
Thu Feb 24 14:39:23 2011
@@ -20,6 +20,7 @@
 package org.apache.directory.shared.ldap.model.schema;
 
 
+import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.HashMap;
@@ -70,10 +71,10 @@ import org.apache.directory.shared.util.
  * <b>obsolete</b> : LdapSyntax, Comparator, Normalizer, SyntaxChecker
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public abstract class AbstractSchemaObject implements SchemaObject
+public abstract class AbstractSchemaObject implements SchemaObject, Serializable
 {
-    /** The serialVersionUID */
-    public static final long serialVersionUID = 1L;
+    /** The serial version UID */
+    private static final long serialVersionUID = 2L;
 
     /** The SchemaObject numeric OID */
     protected String oid;

Modified: directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/AttributeType.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/AttributeType.java?rev=1074166&r1=1074165&r2=1074166&view=diff
==============================================================================
--- directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/AttributeType.java
(original)
+++ directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/AttributeType.java
Thu Feb 24 14:39:23 2011
@@ -144,9 +144,6 @@ public class AttributeType extends Abstr
     /** A logger for this class */
     private static final Logger LOG = LoggerFactory.getLogger( AttributeType.class );
 
-    /** The serialVersionUID */
-    public static final long serialVersionUID = 1L;
-
     /** The syntax OID associated with this AttributeType */
     private String syntaxOid;
 

Modified: directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/DITContentRule.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/DITContentRule.java?rev=1074166&r1=1074165&r2=1074166&view=diff
==============================================================================
--- directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/DITContentRule.java
(original)
+++ directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/DITContentRule.java
Thu Feb 24 14:39:23 2011
@@ -119,9 +119,6 @@ import org.apache.directory.shared.ldap.
 @SuppressWarnings("PMD.OverrideBothEqualsAndHashcode")
 public class DITContentRule extends AbstractSchemaObject
 {
-    /** The serialVersionUID */
-    public static final long serialVersionUID = 1L;
-
     /** The list of Auxiliary ObjectClass OIDs entries may belong to */
     private List<String> auxObjectClassOids;
 

Modified: directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/DITStructureRule.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/DITStructureRule.java?rev=1074166&r1=1074165&r2=1074166&view=diff
==============================================================================
--- directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/DITStructureRule.java
(original)
+++ directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/DITStructureRule.java
Thu Feb 24 14:39:23 2011
@@ -84,9 +84,6 @@ import org.apache.directory.shared.util.
 @SuppressWarnings("PMD.OverrideBothEqualsAndHashcode")
 public class DITStructureRule extends AbstractSchemaObject
 {
-    /** The serialVersionUID */
-    private static final long serialVersionUID = 1L;
-
     /** The rule ID. A DSR does not have an OID */
     private int ruleId;
 

Modified: directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/LdapSyntax.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/LdapSyntax.java?rev=1074166&r1=1074165&r2=1074166&view=diff
==============================================================================
--- directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/LdapSyntax.java
(original)
+++ directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/LdapSyntax.java
Thu Feb 24 14:39:23 2011
@@ -74,9 +74,6 @@ import org.apache.directory.shared.ldap.
 @SuppressWarnings("PMD.OverrideBothEqualsAndHashcode")
 public class LdapSyntax extends AbstractSchemaObject
 {
-    /** The serialVersionUID */
-    public static final long serialVersionUID = 1L;
-
     /** the human readable flag */
     protected boolean isHumanReadable = false;
 

Modified: directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/MatchingRule.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/MatchingRule.java?rev=1074166&r1=1074165&r2=1074166&view=diff
==============================================================================
--- directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/MatchingRule.java
(original)
+++ directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/MatchingRule.java
Thu Feb 24 14:39:23 2011
@@ -92,9 +92,6 @@ public class MatchingRule extends Abstra
     /** A logger for this class */
     private static final Logger LOG = LoggerFactory.getLogger( MatchingRule.class );
 
-    /** The serialVersionUID */
-    private static final long serialVersionUID = 1L;
-
     /** The associated Comparator */
     protected LdapComparator<? super Object> ldapComparator;
 

Modified: directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/MatchingRuleUse.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/MatchingRuleUse.java?rev=1074166&r1=1074165&r2=1074166&view=diff
==============================================================================
--- directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/MatchingRuleUse.java
(original)
+++ directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/MatchingRuleUse.java
Thu Feb 24 14:39:23 2011
@@ -25,9 +25,8 @@ import java.util.List;
 
 import org.apache.directory.shared.i18n.I18n;
 import org.apache.directory.shared.ldap.model.exception.LdapException;
-
-import org.apache.directory.shared.ldap.model.schema.registries.Registries;
 import org.apache.directory.shared.ldap.model.schema.registries.AttributeTypeRegistry;
+import org.apache.directory.shared.ldap.model.schema.registries.Registries;
 
 
 /**
@@ -89,9 +88,6 @@ import org.apache.directory.shared.ldap.
 @SuppressWarnings("PMD.OverrideBothEqualsAndHashcode")
 public class MatchingRuleUse extends AbstractSchemaObject
 {
-    /** The serialVersionUID */
-    private static final long serialVersionUID = 1L;
-
     /** The list of attributes types OID the matching rule applies to */
     private List<String> applicableAttributeOids;
 

Modified: directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/NameForm.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/NameForm.java?rev=1074166&r1=1074165&r2=1074166&view=diff
==============================================================================
--- directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/NameForm.java
(original)
+++ directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/NameForm.java
Thu Feb 24 14:39:23 2011
@@ -26,8 +26,8 @@ import java.util.List;
 
 import org.apache.directory.shared.i18n.I18n;
 import org.apache.directory.shared.ldap.model.exception.LdapException;
-import org.apache.directory.shared.ldap.model.schema.registries.Registries;
 import org.apache.directory.shared.ldap.model.schema.registries.AttributeTypeRegistry;
+import org.apache.directory.shared.ldap.model.schema.registries.Registries;
 
 
 /**
@@ -98,9 +98,6 @@ import org.apache.directory.shared.ldap.
 @SuppressWarnings("PMD.OverrideBothEqualsAndHashcode")
 public class NameForm extends AbstractSchemaObject
 {
-    /** The serialVersionUID */
-    private static final long serialVersionUID = 1L;
-
     /** The structural object class OID this rule applies to */
     private String structuralObjectClassOid;
 

Modified: directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/ObjectClass.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/ObjectClass.java?rev=1074166&r1=1074165&r2=1074166&view=diff
==============================================================================
--- directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/ObjectClass.java
(original)
+++ directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/ObjectClass.java
Thu Feb 24 14:39:23 2011
@@ -79,9 +79,6 @@ import org.apache.directory.shared.ldap.
 @SuppressWarnings("PMD.OverrideBothEqualsAndHashcode")
 public class ObjectClass extends AbstractSchemaObject
 {
-    /** The serialVersionUID */
-    private static final long serialVersionUID = 1L;
-
     /** The ObjectClass type : ABSTRACT, AUXILIARY or STRUCTURAL */
     private ObjectClassTypeEnum objectClassType = ObjectClassTypeEnum.STRUCTURAL;
 

Modified: directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/parsers/LdapComparatorDescription.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/parsers/LdapComparatorDescription.java?rev=1074166&r1=1074165&r2=1074166&view=diff
==============================================================================
--- directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/parsers/LdapComparatorDescription.java
(original)
+++ directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/parsers/LdapComparatorDescription.java
Thu Feb 24 14:39:23 2011
@@ -32,10 +32,6 @@ import org.apache.directory.shared.ldap.
  */
 public class LdapComparatorDescription extends LoadableSchemaObject
 {
-    /** The serialVersionUID */
-    private static final long serialVersionUID = 1L;
-
-
     /**
      * A constructor for a LdapComparatorDescription.
      * @param oid The associated OID



Mime
View raw message