commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject Re: [lang] API Doc patch for EqualsBuilder
Date Fri, 01 Nov 2002 16:40:55 GMT
Done. Good catch.

On Fri, 1 Nov 2002, Janek Bogucki wrote:

> Apologies for the previous attachment. Hopefully this is more useful.
>
> -Janek
>
> Index: EqualsBuilder.java
> ===================================================================
> RCS file:
> /home/cvspublic/jakarta-commons/lang/src/java/org/apache/commons/lang/builde
> r/EqualsBuilder.java,v
> retrieving revision 1.4
> diff -u -r1.4 EqualsBuilder.java
> --- EqualsBuilder.java    1 Oct 2002 20:00:43 -0000    1.4
> +++ EqualsBuilder.java    1 Nov 2002 11:09:51 -0000
> @@ -74,7 +74,7 @@
>   * Typical use for the code is as follows:
>   * <pre>
>   * public boolean equals(Object o) {
> - *   if (!o instanceof MyClass) {
> + *   if (!(o instanceof MyClass)) {
>   *    return false;
>   *   }
>   *  MyClass rhs = (MyClass) o;
>
>
> --
> To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message