fixing tests to account for generation of javax.annotation.Generated and ConstructorProperties being default-off.

This commit is contained in:
Reinier Zwitserloot committed 2017-12-04 21:41:47 +01:00
1 parent d7c019c07c
commit 9aac454aec
234 files changed
+819 -1667

No files matched your search

@@ -2,25 +2,20 @@ class DataWithGetter {
private int x;
private int y;
private final String z;
@java.beans.ConstructorProperties({"z"})
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public DataWithGetter(final String z) {
this.z = z;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public void setX(final int x) {
this.x = x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public void setY(final int y) {
this.y = y;
}
@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 DataWithGetter)) return false;
@@ -34,13 +29,11 @@ class DataWithGetter {
return true;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof DataWithGetter;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -52,22 +45,18 @@ class DataWithGetter {
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public java.lang.String toString() {
return "DataWithGetter(x=" + this.getX() + ", y=" + this.getY() + ", z=" + this.getZ() + ")";
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int getX() {
return this.x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int getY() {
return this.y;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public String getZ() {
return this.z;
}