mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 22:16:11 +00:00
add tests to ensure onlyExplicitlyIncluded means nothing if no fields are annotated. Fixes #1772
This commit is contained in:
1 parent
7ee4ebb1a5
commit
89294fe03c
6 files changed
+70
No files matched your search
@@ -0,0 +1,9 @@
|
||||
@lombok.ToString(onlyExplicitlyIncluded = true) class ToStringExplicitInclude {
|
||||
int x;
|
||||
ToStringExplicitInclude() {
|
||||
super();
|
||||
}
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
|
||||
return "ToStringExplicitInclude()";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user