mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 02:16:18 +00:00
#1040 remove createFormat() method
Method createFormat() causes ambiguous behavior and shouldn't be used with addFormat(), especially because the created format instance doesn't being added to the formatOptions
This commit is contained in:
1 parent
69e6932b81
commit
4a39f8ec47
1 file changed
-4
@@ -154,10 +154,6 @@ class Tasks {
|
||||
path.add(set);
|
||||
}
|
||||
|
||||
public Format createFormat() {
|
||||
return new Format();
|
||||
}
|
||||
|
||||
public void addFormat(Format format) {
|
||||
formatOptions.add(format);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user