X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fbouncycastle%2Fasn1%2FASN1TaggedObject.java;h=d209c8130650fd2b45457a09119b6f75aaa2aa1d;hb=03f6ddc710c59aab2b931cb87ecf48173b9a7d55;hp=deadcdb364f47b748485e1b10e48c97db5bafc03;hpb=d70f271afd972a3bdeba9ee54b1e9a3334e6fe4b;p=org.ibex.core.git diff --git a/src/org/bouncycastle/asn1/ASN1TaggedObject.java b/src/org/bouncycastle/asn1/ASN1TaggedObject.java index deadcdb..d209c81 100644 --- a/src/org/bouncycastle/asn1/ASN1TaggedObject.java +++ b/src/org/bouncycastle/asn1/ASN1TaggedObject.java @@ -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;