/[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.11.2.4 by gnu_andrew, Tue Aug 2 20:12:15 2005 UTC revision 1.11.2.5 by gnu_andrew, Tue Sep 20 18:46:26 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.11.2.4  
changed lines
  Added in v.1.11.2.5

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