diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-12-04 21:41:22 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-12-04 21:41:47 +0100 |
commit | 9aac454aecafa2ea831af914161326295db5e481 (patch) | |
tree | ed16cb070314a9fa6c5f1b442e9349735cb3bd7b /test/transform/resource/after-ecj/Tolerate.java | |
parent | d7c019c07c3851fa0c89b3080da6c08d021fd272 (diff) | |
download | lombok-9aac454aecafa2ea831af914161326295db5e481.tar.gz lombok-9aac454aecafa2ea831af914161326295db5e481.tar.bz2 lombok-9aac454aecafa2ea831af914161326295db5e481.zip |
fixing tests to account for generation of javax.annotation.Generated and ConstructorProperties being default-off.
Diffstat (limited to 'test/transform/resource/after-ecj/Tolerate.java')
-rw-r--r-- | test/transform/resource/after-ecj/Tolerate.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/transform/resource/after-ecj/Tolerate.java b/test/transform/resource/after-ecj/Tolerate.java index 1c7b1038..1fe5fe4c 100644 --- a/test/transform/resource/after-ecj/Tolerate.java +++ b/test/transform/resource/after-ecj/Tolerate.java @@ -7,10 +7,10 @@ import java.util.regex.Pattern; public @lombok.experimental.Tolerate void setPattern(String pattern) { setPattern(Pattern.compile(pattern)); } - public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") void setPattern(final Pattern pattern) { + public @java.lang.SuppressWarnings("all") void setPattern(final Pattern pattern) { this.pattern = pattern; } - public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") Pattern getPattern() { + public @java.lang.SuppressWarnings("all") Pattern getPattern() { return this.pattern; } } @@ -22,13 +22,13 @@ import java.util.regex.Pattern; public Tolerate2 withPattern(String nameGlob, String extensionGlob) { return withPattern(((nameGlob.replace("*", ".*") + "\\.") + extensionGlob.replace("*", ".*"))); } - public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") Pattern getPattern() { + public @java.lang.SuppressWarnings("all") Pattern getPattern() { return this.pattern; } - public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") Tolerate2 withPattern(final Pattern pattern) { + public @java.lang.SuppressWarnings("all") Tolerate2 withPattern(final Pattern pattern) { return ((this.pattern == pattern) ? this : new Tolerate2(pattern)); } - public @java.beans.ConstructorProperties({"pattern"}) @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") Tolerate2(final Pattern pattern) { + public @java.lang.SuppressWarnings("all") Tolerate2(final Pattern pattern) { super(); this.pattern = pattern; } |