aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorysherwin <ysherwin@amazon.com>2021-10-19 14:01:28 +0300
committerysherwin <ysherwin@amazon.com>2021-10-19 14:01:28 +0300
commit890028646a93551c704f316e43348c13904193cd (patch)
tree507458024925c1413779817b37b771735ef59dbb
parent13d84b129e562fdc71b049778c3b3bd2376e29a4 (diff)
downloadlombok-890028646a93551c704f316e43348c13904193cd.tar.gz
lombok-890028646a93551c704f316e43348c13904193cd.tar.bz2
lombok-890028646a93551c704f316e43348c13904193cd.zip
fixing beanspec tests
-rw-r--r--test/transform/resource/after-delombok/ValueWithJavaBeansSpecCapitalization.java35
-rw-r--r--test/transform/resource/after-ecj/WithWithJavaBeansSpecCapitalization.java2
2 files changed, 2 insertions, 35 deletions
diff --git a/test/transform/resource/after-delombok/ValueWithJavaBeansSpecCapitalization.java b/test/transform/resource/after-delombok/ValueWithJavaBeansSpecCapitalization.java
index b92dd5b6..543481e8 100644
--- a/test/transform/resource/after-delombok/ValueWithJavaBeansSpecCapitalization.java
+++ b/test/transform/resource/after-delombok/ValueWithJavaBeansSpecCapitalization.java
@@ -30,37 +30,4 @@ final class ValueWithJavaBeansSpecCapitalization {
public java.lang.String toString() {
return "ValueWithJavaBeansSpecCapitalization(aField=" + this.getaField() + ")";
}
-}
-final class ValueWithoutJavaBeansSpecCapitalization {
- private final int aField;
- @java.lang.SuppressWarnings("all")
- public ValueWithoutJavaBeansSpecCapitalization(final int aField) {
- this.aField = aField;
- }
- @java.lang.SuppressWarnings("all")
- public int getAField() {
- return this.aField;
- }
- @java.lang.Override
- @java.lang.SuppressWarnings("all")
- public boolean equals(final java.lang.Object o) {
- if (o == this) return true;
- if (!(o instanceof ValueWithoutJavaBeansSpecCapitalization)) return false;
- final ValueWithoutJavaBeansSpecCapitalization other = (ValueWithoutJavaBeansSpecCapitalization) o;
- if (this.getAField() != other.getAField()) return false;
- return true;
- }
- @java.lang.Override
- @java.lang.SuppressWarnings("all")
- public int hashCode() {
- final int PRIME = 59;
- int result = 1;
- result = result * PRIME + this.getAField();
- return result;
- }
- @java.lang.Override
- @java.lang.SuppressWarnings("all")
- public java.lang.String toString() {
- return "ValueWithoutJavaBeansSpecCapitalization(aField=" + this.getAField() + ")";
- }
-}
+} \ No newline at end of file
diff --git a/test/transform/resource/after-ecj/WithWithJavaBeansSpecCapitalization.java b/test/transform/resource/after-ecj/WithWithJavaBeansSpecCapitalization.java
index d530ad8a..fb035da4 100644
--- a/test/transform/resource/after-ecj/WithWithJavaBeansSpecCapitalization.java
+++ b/test/transform/resource/after-ecj/WithWithJavaBeansSpecCapitalization.java
@@ -1,4 +1,4 @@
-@lombok.With class WithOnJavaBeansSpecCapitalization {
+@lombok.With class WithWithJavaBeansSpecCapitalization {
int aField;
WithWithJavaBeansSpecCapitalization(int aField) {
super();