private java.lang.Object __equalsCalc = null;
//
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof TextAd)) return false;
TextAd other = (TextAd) obj;
if (obj == null) return false;
//
if (this == obj) return true;
//
if (__equalsCalc != null) {
return (__equalsCalc == obj);
//若__equalsCalc不为空,返回__equalsCalc与obj是否相等
}
__equalsCalc = obj;
//
boolean _equals;
//
_equals = super.equals(obj) &&
((this.description1==null && other.getDescription1()
==null) ||
(this.description1!=null &&
this.description1.equals(other.getDescription1()))) &&
((this.description2==null && other.getDescription2()
==null) ||
(this.description2!=null &&
this.description2.equals(other.getDescription2()))) &&
((this.headline==null && other.getHeadline()==null) ||
(this.headline!=null &&
this.headline.equals(other.getHeadline())));
__equalsCalc = null;
return _equals;
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
-~----------~----~----~----~------~----~------~--~---