Imported GNU Classpath 0.19 + gcj-import-20051115.
* sources.am: Regenerated.
* Makefile.in: Likewise.
* scripts/makemake.tcl: Use glob -nocomplain.
From-SVN: r107049
This commit is contained in:
@@ -226,6 +226,10 @@ public class Point extends Point2D implements Serializable
|
||||
*/
|
||||
public boolean equals(Object obj)
|
||||
{
|
||||
// NOTE: No special hashCode() method is required for this class,
|
||||
// as this equals() implementation is functionally equivalent to
|
||||
// super.equals(), which does define a proper hashCode().
|
||||
|
||||
if (! (obj instanceof Point2D))
|
||||
return false;
|
||||
Point2D p = (Point2D) obj;
|
||||
|
||||
Reference in New Issue
Block a user