mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 10:15:19 +00:00
[i659] suppression of @ConstructorProperties should use config instead. Also modified all onX examples to use two underscores.
This commit is contained in:
1 parent
4d24542dac
commit
d41ef4bf83
26 files changed
+225
-54
No files matched your search
@@ -0,0 +1,15 @@
|
||||
class ConstructorsConfiguration {
|
||||
int x;
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public ConstructorsConfiguration(final int x) {
|
||||
this.x = x;
|
||||
}
|
||||
}
|
||||
class ConstructorsConfigurationExplicit {
|
||||
int x;
|
||||
@java.beans.ConstructorProperties({"x"})
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public ConstructorsConfigurationExplicit(final int x) {
|
||||
this.x = x;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user