@@ -0,0 +1,800 @@
+%0Apublic class ForgotToOverrideEquals %7B%0A%09%0A%09int x,y;%0A%09%0A%09public ForgotToOverrideEquals(int x, int y) %7B%0A%09%09this.x = x;%0A%09%09this.y = y;%0A%09%7D%0A%0A%09@Override%0A    public int hashCode() %7B%0A%09    final int prime = 31;%0A%09    int result = 1;%0A%09    result = prime * result + x;%0A%09    result = prime * result + y;%0A%09    return result;%0A    %7D%0A%0A%09@Override%0A    public boolean equals(Object obj) %7B%0A%09    if (this == obj)%0A%09%09    return true;%0A%09    if (!(obj instanceof ForgotToOverrideEquals)) %0A%09%09    return false;%0A%09    final ForgotToOverrideEquals other = (ForgotToOverrideEquals) obj;%0A%09    if (x != other.x)%0A%09%09    return false;%0A%09    if (y != other.y)%0A%09%09    return false;%0A%09    return true;%0A    %7D%0A%09%0A%09static class Oops extends ForgotToOverrideEquals %7B%0A%09%09int z;%0A%09%09public Oops(int x, int y, int z) %7B%0A%09%09%09super(x,y);%0A%09%09%09this.z = z;%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

add test case for a findbugs bug