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

> 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.



Back to the top