/[classpath]/classpath/java/awt/Rectangle.java
ViewVC logotype

Diff of /classpath/java/awt/Rectangle.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by mark, Sat Jul 2 20:32:25 2005 UTC revision 1.16 by green, Fri Sep 16 01:11:39 2005 UTC
# Line 727  public class Rectangle extends Rectangle Line 727  public class Rectangle extends Rectangle
727     */     */
728    public boolean equals(Object obj)    public boolean equals(Object obj)
729    {    {
730        // NOTE: No special hashCode() method is required for this class,
731        // as this equals() implementation is functionally equivalent to
732        // super.equals(), which does define a proper hashCode().
733    
734      if (! (obj instanceof Rectangle2D))      if (! (obj instanceof Rectangle2D))
735        return false;        return false;
736      Rectangle2D r = (Rectangle2D) obj;      Rectangle2D r = (Rectangle2D) obj;

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26