From e5705f94cd3778a2e0d25060f1e013d0c33bfb90 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Fri, 30 Jan 2015 18:17:00 +0100 Subject: * Added config key ‘lombok.addGeneratedAnnotation’. * Added ‘format’ directive for tests. * Updates tests to salt in some more format and config keys. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EqualsAndHashCodeWithSomeExistingMethods.java | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'test/transform/resource/after-delombok/EqualsAndHashCodeWithSomeExistingMethods.java') diff --git a/test/transform/resource/after-delombok/EqualsAndHashCodeWithSomeExistingMethods.java b/test/transform/resource/after-delombok/EqualsAndHashCodeWithSomeExistingMethods.java index 44f61eb4..37eeb8df 100644 --- a/test/transform/resource/after-delombok/EqualsAndHashCodeWithSomeExistingMethods.java +++ b/test/transform/resource/after-delombok/EqualsAndHashCodeWithSomeExistingMethods.java @@ -6,13 +6,11 @@ class EqualsAndHashCodeWithSomeExistingMethods { return 42; } @java.lang.SuppressWarnings("all") - @javax.annotation.Generated("lombok") public EqualsAndHashCodeWithSomeExistingMethods() { } @java.lang.Override @java.lang.SuppressWarnings("all") - @javax.annotation.Generated("lombok") public java.lang.String toString() { return "EqualsAndHashCodeWithSomeExistingMethods(x=" + this.x + ")"; } @@ -23,12 +21,10 @@ class EqualsAndHashCodeWithSomeExistingMethods2 { return false; } @java.lang.SuppressWarnings("all") - @javax.annotation.Generated("lombok") public EqualsAndHashCodeWithSomeExistingMethods2() { } @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 EqualsAndHashCodeWithSomeExistingMethods2)) return false; @@ -39,7 +35,6 @@ class EqualsAndHashCodeWithSomeExistingMethods2 { } @java.lang.Override @java.lang.SuppressWarnings("all") - @javax.annotation.Generated("lombok") public int hashCode() { final int PRIME = 59; int result = 1; @@ -48,7 +43,6 @@ class EqualsAndHashCodeWithSomeExistingMethods2 { } @java.lang.Override @java.lang.SuppressWarnings("all") - @javax.annotation.Generated("lombok") public java.lang.String toString() { return "EqualsAndHashCodeWithSomeExistingMethods2(x=" + this.x + ")"; } @@ -62,12 +56,10 @@ class EqualsAndHashCodeWithAllExistingMethods { return false; } @java.lang.SuppressWarnings("all") - @javax.annotation.Generated("lombok") public EqualsAndHashCodeWithAllExistingMethods() { } @java.lang.Override @java.lang.SuppressWarnings("all") - @javax.annotation.Generated("lombok") public java.lang.String toString() { return "EqualsAndHashCodeWithAllExistingMethods(x=" + this.x + ")"; } @@ -75,13 +67,11 @@ class EqualsAndHashCodeWithAllExistingMethods { class EqualsAndHashCodeWithNoExistingMethods { int x; @java.lang.SuppressWarnings("all") - @javax.annotation.Generated("lombok") public EqualsAndHashCodeWithNoExistingMethods() { } @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 EqualsAndHashCodeWithNoExistingMethods)) return false; @@ -91,13 +81,11 @@ class EqualsAndHashCodeWithNoExistingMethods { return true; } @java.lang.SuppressWarnings("all") - @javax.annotation.Generated("lombok") protected boolean canEqual(final java.lang.Object other) { return other instanceof EqualsAndHashCodeWithNoExistingMethods; } @java.lang.Override @java.lang.SuppressWarnings("all") - @javax.annotation.Generated("lombok") public int hashCode() { final int PRIME = 59; int result = 1; @@ -106,7 +94,6 @@ class EqualsAndHashCodeWithNoExistingMethods { } @java.lang.Override @java.lang.SuppressWarnings("all") - @javax.annotation.Generated("lombok") public java.lang.String toString() { return "EqualsAndHashCodeWithNoExistingMethods(x=" + this.x + ")"; } -- cgit