aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2021-10-22 09:55:39 +0200
committerGitHub <noreply@github.com>2021-10-22 09:55:39 +0200
commit8bbac04478cb088eedceb4c63dcb45e30f0948ed (patch)
treeee27ff79a2368c5ad047cfaac1a029c69983bad0
parent341c458f108d4bb207e32c6e61647ca673526a6e (diff)
parent890028646a93551c704f316e43348c13904193cd (diff)
downloadlombok-8bbac04478cb088eedceb4c63dcb45e30f0948ed.tar.gz
lombok-8bbac04478cb088eedceb4c63dcb45e30f0948ed.tar.bz2
lombok-8bbac04478cb088eedceb4c63dcb45e30f0948ed.zip
Merge pull request #2998 from YonatanSherwin/fixingBeansSpecTests
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();