mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-18 00:15:24 +00:00
fixing tests to account for generation of javax.annotation.Generated and ConstructorProperties being default-off.
This commit is contained in:
1 parent
d7c019c07c
commit
9aac454aec
234 files changed
+819
-1667
No files matched your search
@@ -2,21 +2,21 @@ import lombok.Builder;
|
||||
import lombok.experimental.Tolerate;
|
||||
public @Builder class BuilderWithTolerate {
|
||||
public static class BuilderWithTolerateBuilder {
|
||||
private @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") int value;
|
||||
private @java.lang.SuppressWarnings("all") int value;
|
||||
public @Tolerate BuilderWithTolerateBuilder value(String s) {
|
||||
return this.value(Integer.parseInt(s));
|
||||
}
|
||||
@java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderWithTolerateBuilder() {
|
||||
@java.lang.SuppressWarnings("all") BuilderWithTolerateBuilder() {
|
||||
super();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderWithTolerateBuilder value(final int value) {
|
||||
public @java.lang.SuppressWarnings("all") BuilderWithTolerateBuilder value(final int value) {
|
||||
this.value = value;
|
||||
return this;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderWithTolerate build() {
|
||||
public @java.lang.SuppressWarnings("all") BuilderWithTolerate build() {
|
||||
return new BuilderWithTolerate(value);
|
||||
}
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") java.lang.String toString() {
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
|
||||
return (("BuilderWithTolerate.BuilderWithTolerateBuilder(value=" + this.value) + ")");
|
||||
}
|
||||
}
|
||||
@@ -24,11 +24,11 @@ public @Builder class BuilderWithTolerate {
|
||||
public static void main(String[] args) {
|
||||
BuilderWithTolerate.builder().value("42").build();
|
||||
}
|
||||
@java.beans.ConstructorProperties({"value"}) @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderWithTolerate(final int value) {
|
||||
@java.lang.SuppressWarnings("all") BuilderWithTolerate(final int value) {
|
||||
super();
|
||||
this.value = value;
|
||||
}
|
||||
public static @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") BuilderWithTolerateBuilder builder() {
|
||||
public static @java.lang.SuppressWarnings("all") BuilderWithTolerateBuilder builder() {
|
||||
return new BuilderWithTolerateBuilder();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user