mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 02:17:12 +00:00
Testcases updated with new behaviour of @Getter/@Setter on booleans.
This commit is contained in:
1 parent
c98cec7d2d
commit
30b63deaff
18 files changed
+121
-44
No files matched your search
@@ -11,7 +11,7 @@ class Getter {
|
||||
return this.isBar;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public boolean hasBaz() {
|
||||
public boolean isHasBaz() {
|
||||
return this.hasBaz;
|
||||
}
|
||||
}
|
||||
@@ -20,4 +20,14 @@ class MoreGetter {
|
||||
boolean hasFoo() {
|
||||
return true;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public boolean isFoo() {
|
||||
return this.foo;
|
||||
}
|
||||
}
|
||||
class YetMoreGetter {
|
||||
boolean foo;
|
||||
boolean getFoo() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user