axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Davis" <...@us.ibm.com>
Subject RE: cvs commit: xml-axis/java/samples/echo TestClient.java
Date Wed, 01 Aug 2001 17:31:19 GMT
Yup - it complained about not knowing for sure which "equals" it should
run.  But what was strange was it told me that I should fix it by putting a
"this." in front - so it did know it just wanted me to be explicit about
it.  8-)
-Dug


Glen Daniels <gdaniels@macromedia.com> on 08/01/2001 01:26:04 PM

Please respond to axis-dev@xml.apache.org

To:   "'axis-dev@xml.apache.org'" <axis-dev@xml.apache.org>
cc:
Subject:  RE: cvs commit: xml-axis/java/samples/echo TestClient.java



>           if (obj1 instanceof List)
>   -         obj1 = JavaUtils.convert(obj1, new Object[]{}.getClass());
>   +         obj1 = JavaUtils.convert(obj1, (new
> Object[]{}).getClass());
>           if (obj2 instanceof List)
>   -         obj2 = JavaUtils.convert(obj2, new Object[]{}.getClass());
>   +         obj2 = JavaUtils.convert(obj2, (new
> Object[]{}).getClass());

These I can understand, I think.

>   -                if (equals(sent, gotBack)) {
>   +                if (this.equals(sent, gotBack)) {

This one seems really weird...




Mime
View raw message