Files
openide/java/java-tests/testData/codeInsight/generateEquals/afterPrimitiveFields.java
2013-02-12 10:22:22 +01:00

22 lines
439 B
Java

public class Test {
int f;
public int j;
int h;
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
final Test test = (Test) o;
if (f != test.f) return false;
if (h != test.h) return false;
if (j != test.j) return false;
return true;
}
public int hashCode() {
return 0;
}
}