package sfBugs;

public class Bug2984602 {

	int itemID;

	public int hashCode() {
		return itemID;
	}
	

	public boolean equals(Object object) {
		if (!(Bug2984602.class.isInstance(object))) {
			return false;
		}

		boolean equals = false;
		Bug2984602 compareTo = (Bug2984602) object;

		if (this.itemID == compareTo.itemID) {
			equals = true;
		}

		return equals;
	}

}

Add test case for false positive on Class.isInstance for equals() che - ID: 2984602
Add test case for false positive on Class.isInstance for equals() che - ID: 2984602

git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@12118 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3
