mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-16 04:13:56 +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
@@ -5,7 +5,6 @@ interface EqualsAndHashCodeNestedShadow {
|
||||
public static class Foo extends Bar implements EqualsAndHashCodeNestedShadow.Foo {
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
public boolean equals(final java.lang.Object o) {
|
||||
if (o == this) return true;
|
||||
if (!(o instanceof EqualsAndHashCodeNestedShadow.Bar.Foo)) return false;
|
||||
@@ -14,13 +13,11 @@ interface EqualsAndHashCodeNestedShadow {
|
||||
return true;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
protected boolean canEqual(final java.lang.Object other) {
|
||||
return other instanceof EqualsAndHashCodeNestedShadow.Bar.Foo;
|
||||
}
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
public int hashCode() {
|
||||
int result = 1;
|
||||
return result;
|
||||
@@ -31,7 +28,6 @@ interface EqualsAndHashCodeNestedShadow {
|
||||
public static class Foo<T> extends Bar implements EqualsAndHashCodeNestedShadow.Foo {
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
public boolean equals(final java.lang.Object o) {
|
||||
if (o == this) return true;
|
||||
if (!(o instanceof EqualsAndHashCodeNestedShadow.Baz.Foo)) return false;
|
||||
@@ -40,13 +36,11 @@ interface EqualsAndHashCodeNestedShadow {
|
||||
return true;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
protected boolean canEqual(final java.lang.Object other) {
|
||||
return other instanceof EqualsAndHashCodeNestedShadow.Baz.Foo;
|
||||
}
|
||||
@java.lang.Override
|
||||
@java.lang.SuppressWarnings("all")
|
||||
@javax.annotation.Generated("lombok")
|
||||
public int hashCode() {
|
||||
int result = 1;
|
||||
return result;
|
||||
|
||||
Reference in new issue
Block a user