Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-patch] Element Delta Builder Patch with JUnit Test

Because we might need to add more restrictions later. I am not very sure now
since the infos are still empty.

Regards,
Hoda

-----Original Message-----
From: Alain Magloire [mailto:alain@xxxxxxx] 
Sent: Thursday, March 20, 2003 11:36 AM
To: cdt-patch@xxxxxxxxxxx
Subject: Re: [cdt-patch] Element Delta Builder Patch with JUnit Test

> diff -u -r1.4 CElement.java
>  =09
> +	/*
> +	 * Test to see if two objects are identical
> +	 * Subclasses should override accordingly
> +	 */
> +	public boolean isIdentical( CElement otherElement){
> +		return this.equals(otherElement);
> +	}
> +=09
>  }


Why not using existing object equals() method?
At first glance do not see the rational of another equality method,
isIdentical().

But this is minor, Patch applied.

_______________________________________________
cdt-patch mailing list
cdt-patch@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-patch


Back to the top