2003/06/16 08:03:13
[org.ibex.core.git] / src / org / bouncycastle / asn1 / ASN1TaggedObject.java
index deadcdb..d209c81 100644 (file)
@@ -42,10 +42,10 @@ public abstract class ASN1TaggedObject
         this.tagNo = tagNo;
         this.obj = obj;
     }
-       
-       public boolean equals(
-               Object o)
-       {
+        
+        public boolean equals(
+                Object o)
+        {
         if (o == null || !(o instanceof ASN1TaggedObject))
         {
             return false;
@@ -55,27 +55,27 @@ public abstract class ASN1TaggedObject
         
         if(tagNo != other.tagNo || empty != other.empty || explicit != other.explicit)
         {
-                       return false;
-               }
-               
-               if(obj == null)
-               {
-                       if(other.obj != null)
-                       {
-                               return false;
-                       }
-               }
-               else
-               {
-                       if(!(obj.equals(other.obj)))
-                       {
-                               return false;
-                       }
-               }
-               
-               return true;
-       }
-       
+                        return false;
+                }
+                
+                if(obj == null)
+                {
+                        if(other.obj != null)
+                        {
+                                return false;
+                        }
+                }
+                else
+                {
+                        if(!(obj.equals(other.obj)))
+                        {
+                                return false;
+                        }
+                }
+                
+                return true;
+        }
+        
     public int getTagNo()
     {
         return tagNo;