directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1083832 - in /directory/shared/trunk/asn1/api/src/main/java/org/apache/directory/shared/asn1/util: OID.java Oid1.java
Date Mon, 21 Mar 2011 15:27:23 GMT
Author: elecharny
Date: Mon Mar 21 15:27:23 2011
New Revision: 1083832

URL: http://svn.apache.org/viewvc?rev=1083832&view=rev
Log:
Renaming OID to Oid1 (temporary modification, it's not possible to rename from OID to Oid
on mac OSX)

Added:
    directory/shared/trunk/asn1/api/src/main/java/org/apache/directory/shared/asn1/util/Oid1.java
      - copied, changed from r1083831, directory/shared/trunk/asn1/api/src/main/java/org/apache/directory/shared/asn1/util/OID.java
Removed:
    directory/shared/trunk/asn1/api/src/main/java/org/apache/directory/shared/asn1/util/OID.java

Copied: directory/shared/trunk/asn1/api/src/main/java/org/apache/directory/shared/asn1/util/Oid1.java
(from r1083831, 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/Oid1.java?p2=directory/shared/trunk/asn1/api/src/main/java/org/apache/directory/shared/asn1/util/Oid1.java&p1=directory/shared/trunk/asn1/api/src/main/java/org/apache/directory/shared/asn1/util/OID.java&r1=1083831&r2=1083832&rev=1083832&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/Oid1.java
Mon Mar 21 15:27:23 2011
@@ -63,7 +63,7 @@ import org.apache.directory.shared.i18n.
  * </pre>
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public class OID
+public class Oid1
 {
     /** The OID as a array of int */
     private long[] oidValues;
@@ -75,7 +75,7 @@ public class OID
     /**
      * Creates a new OID object.
      */
-    public OID()
+    public Oid1()
     {
         // We should not create this kind of object directly, it must
         // be created through the factory.
@@ -90,7 +90,7 @@ public class OID
      * @throws org.apache.directory.shared.asn1.DecoderException if the byte array does not
contain a
      * valid OID
      */
-    public OID( byte[] oid ) throws DecoderException
+    public Oid1( byte[] oid ) throws DecoderException
     {
         setOID( oid );
         hash = computeHashCode();
@@ -104,7 +104,7 @@ public class OID
      * @throws DecoderException if the byte array does not contain a
      * valid OID
      */
-    public OID( String oid ) throws DecoderException
+    public Oid1( String oid ) throws DecoderException
     {
         setOID( oid );
         hash = computeHashCode();
@@ -682,7 +682,7 @@ public class OID
             return false;
         }
 
-        OID instance = ( OID ) oid;
+        Oid1 instance = ( Oid1 ) oid;
 
         if ( instance.hash != hash )
         {



Mime
View raw message