directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r441726 - /directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/primitive/OID.java
Date Sat, 09 Sep 2006 02:20:18 GMT
Author: elecharny
Date: Fri Sep  8 19:20:18 2006
New Revision: 441726

URL: http://svn.apache.org/viewvc?view=rev&rev=441726
Log:
Changed the serialUid 
Refactoring some comments

Modified:
    directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/primitive/OID.java

Modified: directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/primitive/OID.java
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/primitive/OID.java?view=diff&rev=441726&r1=441725&r2=441726
==============================================================================
--- directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/primitive/OID.java
(original)
+++ directory/sandbox/akarasulu/apacheds-2.0/shared/ldap/src/main/java/org/apache/directory/shared/ldap/primitive/OID.java
Fri Sep  8 19:20:18 2006
@@ -56,7 +56,14 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class OID {
-    private static final long serialVersionUID = 1L;
+    /**
+     * 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 = 2L;
 
     // ~ Instance fields
     // ----------------------------------------------------------------------------
@@ -93,8 +100,7 @@
     /**
      * Create a new OID object from a String
      * 
-     * @param oid
-     *            The String which is supposed to be an OID
+     * @param oid The String which is supposed to be an OID
      */
     public OID(String oid) throws InvalidObjectException
     {
@@ -108,8 +114,7 @@
      * Set the OID. It will be translated from a byte array to an internal
      * representation.
      * 
-     * @param oid
-     *            The bytes containing the OID
+     * @param oid The bytes containing the OID
      */
     public void setOID( byte[] oid )
     {
@@ -204,8 +209,7 @@
      * representation. The syntax will be controled in respect with this rule :
      * OID = ( [ '0' | '1' ] '.' [ 0 .. 39 ] | '2' '.' int) ( '.' int )*
      * 
-     * @param oid
-     *            The String containing the OID
+     * @param oid The String containing the OID
      */
     public void setOID( String oid ) throws InvalidObjectException
     {



Mime
View raw message