From 9eb70cb3e2043b5262e686b4a80da36e5aa88d81 Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Tue, 17 Nov 2015 00:03:33 +0100 Subject: add the capability to the testing framework to verify that delombok actually also handles the changed flag correctly --- src/delombok/lombok/delombok/Delombok.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/delombok') diff --git a/src/delombok/lombok/delombok/Delombok.java b/src/delombok/lombok/delombok/Delombok.java index 514fc2ec..8083aa3b 100644 --- a/src/delombok/lombok/delombok/Delombok.java +++ b/src/delombok/lombok/delombok/Delombok.java @@ -508,7 +508,7 @@ public class Delombok { FormatPreferences fps = new FormatPreferences(formatPrefs); for (JCCompilationUnit unit : roots) { DelombokResult result = new DelombokResult(catcher.getComments(unit), unit, force || options.isChanged(unit), fps); - if (verbose) feedback.printf("File: %s [%s]\n", unit.sourcefile.getName(), result.isChanged() ? "delomboked" : "unchanged"); + if (verbose) feedback.printf("File: %s [%s%s]\n", unit.sourcefile.getName(), result.isChanged() ? "delomboked" : "unchanged", force && !options.isChanged(unit) ? " (forced)" : ""); Writer rawWriter; if (presetWriter != null) rawWriter = createUnicodeEscapeWriter(presetWriter); else if (output == null) rawWriter = createStandardOutWriter(); -- cgit