commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang/builder EqualsBuilder.java
Date Fri, 01 Nov 2002 16:40:42 GMT
bayard      2002/11/01 08:40:41

  Modified:    lang/src/java/org/apache/commons/lang/builder
                        EqualsBuilder.java
  Log:
  Fixed the example in the javadoc so it compiles.
  Submitted by: Janek Bogucki
  
  Revision  Changes    Path
  1.5       +2 -2      jakarta-commons/lang/src/java/org/apache/commons/lang/builder/EqualsBuilder.java
  
  Index: EqualsBuilder.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/builder/EqualsBuilder.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- EqualsBuilder.java	1 Oct 2002 20:00:43 -0000	1.4
  +++ EqualsBuilder.java	1 Nov 2002 16:40:41 -0000	1.5
  @@ -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>


Mime
View raw message