mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-16 10:15:22 +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
@@ -9,7 +9,6 @@ class EqualsAndHashCodeWithOnParam {
|
||||
String b;
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
public boolean equals(@Nullable final java.lang.Object o) {
|
||||
if (o == this) return true;
|
||||
if (!(o instanceof EqualsAndHashCodeWithOnParam)) return false;
|
||||
@@ -27,13 +26,11 @@ class EqualsAndHashCodeWithOnParam {
|
||||
return true;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
protected boolean canEqual(@Nullable final java.lang.Object other) {
|
||||
return other instanceof EqualsAndHashCodeWithOnParam;
|
||||
}
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
public int hashCode() {
|
||||
final int PRIME = 59;
|
||||
int result = 1;
|
||||
|
||||
Reference in new issue
Block a user