aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-07-23 22:49:21 +0200
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-07-23 23:33:41 +0200
commite6cbb7fbe66f618c8ec9b43c7995c512b25c975f (patch)
tree3582bff9d8b8ab7227474ab2fe82b64deb88b8a4 /test
parentb1f6372b358119309b26016317a6dd709b9daa13 (diff)
downloadlombok-e6cbb7fbe66f618c8ec9b43c7995c512b25c975f.tar.gz
lombok-e6cbb7fbe66f618c8ec9b43c7995c512b25c975f.tar.bz2
lombok-e6cbb7fbe66f618c8ec9b43c7995c512b25c975f.zip
[tests] [trivial] stop printing the javac version
... when running javac tests
Diffstat (limited to 'test')
-rw-r--r--test/core/src/lombok/RunTestsViaDelombok.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/core/src/lombok/RunTestsViaDelombok.java b/test/core/src/lombok/RunTestsViaDelombok.java
index 4260f2da..ffac8372 100644
--- a/test/core/src/lombok/RunTestsViaDelombok.java
+++ b/test/core/src/lombok/RunTestsViaDelombok.java
@@ -29,20 +29,16 @@ import java.io.UnsupportedEncodingException;
import java.util.Collection;
import java.util.Locale;
import java.util.Map;
-import java.util.concurrent.atomic.AtomicBoolean;
import lombok.delombok.Delombok;
import lombok.javac.CapturingDiagnosticListener;
-import lombok.javac.Javac;
import lombok.javac.CapturingDiagnosticListener.CompilerMessage;
public class RunTestsViaDelombok extends AbstractRunTests {
private Delombok delombok = new Delombok();
- private static AtomicBoolean compilerVersionReported = new AtomicBoolean();
@Override
public boolean transformCode(Collection<CompilerMessage> messages, StringWriter result, final File file, String encoding, Map<String, String> formatPreferences, int version) throws Throwable {
- if (!compilerVersionReported.getAndSet(true)) System.out.println("Javac version: " + Javac.getJavaCompilerVersion());
delombok.setVerbose(true);
ChangedChecker cc = new ChangedChecker();
delombok.setFeedback(cc.feedback);