this.tagNo = tagNo;
this.obj = obj;
}
-
- public boolean equals(
- Object o)
- {
+
+ public boolean equals(
+ Object o)
+ {
if (o == null || !(o instanceof ASN1TaggedObject))
{
return false;
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;