directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1074221 - in /directory/shared/trunk: asn1-api/src/main/java/org/apache/directory/shared/asn1/util/ asn1-ber/src/main/java/org/apache/directory/shared/asn1/ber/tlv/ ldap-model/src/main/java/org/apache/directory/shared/ldap/model/csn/
Date Thu, 24 Feb 2011 17:15:49 GMT
Author: elecharny
Date: Thu Feb 24 17:15:48 2011
New Revision: 1074221

URL: http://svn.apache.org/viewvc?rev=1074221&view=rev
Log:
Made those classes not anymore serializable

Modified:
    directory/shared/trunk/asn1-api/src/main/java/org/apache/directory/shared/asn1/util/BitString.java
    directory/shared/trunk/asn1-api/src/main/java/org/apache/directory/shared/asn1/util/OID.java
    directory/shared/trunk/asn1-ber/src/main/java/org/apache/directory/shared/asn1/ber/tlv/Value.java
    directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/csn/Csn.java

Modified: directory/shared/trunk/asn1-api/src/main/java/org/apache/directory/shared/asn1/util/BitString.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/asn1-api/src/main/java/org/apache/directory/shared/asn1/util/BitString.java?rev=1074221&r1=1074220&r2=1074221&view=diff
==============================================================================
--- directory/shared/trunk/asn1-api/src/main/java/org/apache/directory/shared/asn1/util/BitString.java
(original)
+++ directory/shared/trunk/asn1-api/src/main/java/org/apache/directory/shared/asn1/util/BitString.java
Thu Feb 24 17:15:48 2011
@@ -20,8 +20,6 @@
 package org.apache.directory.shared.asn1.util;
 
 
-import java.io.Serializable;
-
 import org.apache.directory.shared.i18n.I18n;
 
 
@@ -31,11 +29,8 @@ import org.apache.directory.shared.i18n.
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class BitString implements Serializable
+public class BitString
 {
-    /** The serialVersion UID constant */
-    private static final long serialVersionUID = 1L;
-
     /** A null MutableString */
     public static final BitString EMPTY_STRING = new BitString( 1 );
 

Modified: directory/shared/trunk/asn1-api/src/main/java/org/apache/directory/shared/asn1/util/OID.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/asn1-api/src/main/java/org/apache/directory/shared/asn1/util/OID.java?rev=1074221&r1=1074220&r2=1074221&view=diff
==============================================================================
--- directory/shared/trunk/asn1-api/src/main/java/org/apache/directory/shared/asn1/util/OID.java
(original)
+++ directory/shared/trunk/asn1-api/src/main/java/org/apache/directory/shared/asn1/util/OID.java
Thu Feb 24 17:15:48 2011
@@ -20,7 +20,6 @@
 package org.apache.directory.shared.asn1.util;
 
 
-import java.io.Serializable;
 import java.util.Arrays;
 
 import org.apache.directory.shared.asn1.DecoderException;
@@ -64,11 +63,8 @@ import org.apache.directory.shared.i18n.
  * </pre>
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class OID implements Serializable
+public class OID
 {
-    /** Internal Serial UUID version */
-    private static final long serialVersionUID = 1L;
-
     /** The OID as a array of int */
     private long[] oidValues;
 

Modified: directory/shared/trunk/asn1-ber/src/main/java/org/apache/directory/shared/asn1/ber/tlv/Value.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/asn1-ber/src/main/java/org/apache/directory/shared/asn1/ber/tlv/Value.java?rev=1074221&r1=1074220&r2=1074221&view=diff
==============================================================================
--- directory/shared/trunk/asn1-ber/src/main/java/org/apache/directory/shared/asn1/ber/tlv/Value.java
(original)
+++ directory/shared/trunk/asn1-ber/src/main/java/org/apache/directory/shared/asn1/ber/tlv/Value.java
Thu Feb 24 17:15:48 2011
@@ -20,7 +20,6 @@
 package org.apache.directory.shared.asn1.ber.tlv;
 
 
-import java.io.Serializable;
 import java.nio.BufferOverflowException;
 import java.nio.ByteBuffer;
 
@@ -36,11 +35,8 @@ import org.apache.directory.shared.i18n.
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class Value implements Serializable
+public class Value
 {
-    /** The serialVersion UID */
-    private static final long serialVersionUID = 1L;
-
     /** The data buffer. */
     private byte[] data;
 

Modified: directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/csn/Csn.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/csn/Csn.java?rev=1074221&r1=1074220&r2=1074221&view=diff
==============================================================================
--- directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/csn/Csn.java
(original)
+++ directory/shared/trunk/ldap-model/src/main/java/org/apache/directory/shared/ldap/model/csn/Csn.java
Thu Feb 24 17:15:48 2011
@@ -20,7 +20,6 @@
 package org.apache.directory.shared.ldap.model.csn;
 
 
-import java.io.Serializable;
 import java.text.ParseException;
 import java.text.SimpleDateFormat;
 import java.util.Date;
@@ -55,17 +54,8 @@ import org.slf4j.LoggerFactory;
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class Csn implements Serializable, Comparable<Csn>
+public class Csn implements Comparable<Csn>
 {
-    /**
-     * Declares the Serial Version Uid.
-     *
-     * @see <a
-     *      href="http://c2.com/cgi/wiki?AlwaysDeclareSerialVersionUid">Always
-     *      Declare Serial Version Uid</a>
-     */
-    private static final long serialVersionUID = 1L;
-
     /** The logger for this class */
     private static final Logger LOG = LoggerFactory.getLogger( Csn.class );
 



Mime
View raw message