We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4f8e2b commit 532078bCopy full SHA for 532078b
lib/src/main/java/com/diffplug/spotless/Formatter.java
@@ -304,6 +304,9 @@ public boolean equals(Object obj) {
304
@Override
305
public void close() {
306
for (FormatterStep step : steps) {
307
+ if (step instanceof DelegateFormatterStep) {
308
+ step = ((DelegateFormatterStep) step).delegateStep;
309
+ }
310
if (step instanceof FormatterStepImpl.Standard) {
311
((FormatterStepImpl.Standard) step).cleanupFormatterFunc();
312
} else if (step instanceof FormatterStepEqualityOnStateSerialization) {
0 commit comments