diff options
author | monosoul <kloz.klaud@gmail.com> | 2019-04-14 20:48:04 +0500 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2019-04-18 20:09:26 +0200 |
commit | 4a39f8ec47dd965ec47b4379e937ffb2d5152a95 (patch) | |
tree | 7254ce426d4fdccf1d8c7d5c23528b9dcaf828f2 | |
parent | 69e6932b81f9e6e17da3097ac6e576a261d3e4c1 (diff) | |
download | lombok-4a39f8ec47dd965ec47b4379e937ffb2d5152a95.tar.gz lombok-4a39f8ec47dd965ec47b4379e937ffb2d5152a95.tar.bz2 lombok-4a39f8ec47dd965ec47b4379e937ffb2d5152a95.zip |
#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
-rw-r--r-- | src/delombok/lombok/delombok/ant/DelombokTask.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/delombok/lombok/delombok/ant/DelombokTask.java b/src/delombok/lombok/delombok/ant/DelombokTask.java index e09b8ed2..cb31ef4d 100644 --- a/src/delombok/lombok/delombok/ant/DelombokTask.java +++ b/src/delombok/lombok/delombok/ant/DelombokTask.java @@ -154,10 +154,6 @@ class Tasks { path.add(set); } - public Format createFormat() { - return new Format(); - } - public void addFormat(Format format) { formatOptions.add(format); } |