mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 20:15:09 +00:00
fixing tests to account for generation of javax.annotation.Generated and ConstructorProperties being default-off.
This commit is contained in:
1 parent
d7c019c07c
commit
9aac454aec
234 files changed
+819
-1667
No files matched your search
@@ -10,7 +10,7 @@
|
||||
EqualsAndHashCodeWithOnParam() {
|
||||
super();
|
||||
}
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") boolean equals(final @Nullable java.lang.Object o) {
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") boolean equals(final @Nullable java.lang.Object o) {
|
||||
if ((o == this))
|
||||
return true;
|
||||
if ((! (o instanceof EqualsAndHashCodeWithOnParam)))
|
||||
@@ -34,10 +34,10 @@
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
protected @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") boolean canEqual(final @Nullable java.lang.Object other) {
|
||||
protected @java.lang.SuppressWarnings("all") boolean canEqual(final @Nullable java.lang.Object other) {
|
||||
return (other instanceof EqualsAndHashCodeWithOnParam);
|
||||
}
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") int hashCode() {
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") int hashCode() {
|
||||
final int PRIME = 59;
|
||||
int result = 1;
|
||||
result = ((result * PRIME) + this.x);
|
||||
|
||||
Reference in new issue
Block a user