mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-16 10:15:22 +00:00
[tests] This seemingly humongous commit is actually nothing: All test-cases now have @Generated annotations where before they did not.
This commit is contained in:
292 files changed
+2545
-432
No files matched your search
@@ -1,6 +1,5 @@
|
||||
//version 8:
|
||||
import java.lang.annotation.*;
|
||||
|
||||
class EqualsAndHashCodeAnnotated {
|
||||
@Annotated
|
||||
int primitive;
|
||||
@@ -16,6 +15,7 @@ class EqualsAndHashCodeAnnotated {
|
||||
}
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@lombok.Generated
|
||||
public boolean equals(final java.lang.Object o) {
|
||||
if (o == this) return true;
|
||||
if (!(o instanceof EqualsAndHashCodeAnnotated)) return false;
|
||||
@@ -32,11 +32,13 @@ class EqualsAndHashCodeAnnotated {
|
||||
return true;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@lombok.Generated
|
||||
protected boolean canEqual(final java.lang.Object other) {
|
||||
return other instanceof EqualsAndHashCodeAnnotated;
|
||||
}
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@lombok.Generated
|
||||
public int hashCode() {
|
||||
final int PRIME = 59;
|
||||
int result = 1;
|
||||
@@ -49,4 +51,4 @@ class EqualsAndHashCodeAnnotated {
|
||||
result = result * PRIME + java.util.Arrays.deepHashCode(this.moreObjectValues);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user