Change log output not to output errors
This commit is contained in:
parent
3fe35f6476
commit
bf2505685f
@ -201,7 +201,7 @@ public class BasicJavacTask extends JavacTask {
|
|||||||
PlatformDescription platformProvider = context.get(PlatformDescription.class);
|
PlatformDescription platformProvider = context.get(PlatformDescription.class);
|
||||||
|
|
||||||
//ANDI: Init our own plugin to count CC's
|
//ANDI: Init our own plugin to count CC's
|
||||||
initPlugin(new WildcardFinderPlugin((s -> Log.instance(context).printRawLines(s))));
|
initPlugin(new WildcardFinderPlugin((s -> Log.instance(context).printRawLines(Log.WriterKind.NOTICE,s))));
|
||||||
if (platformProvider != null) {
|
if (platformProvider != null) {
|
||||||
for (PluginInfo<Plugin> pluginDesc : platformProvider.getPlugins()) {
|
for (PluginInfo<Plugin> pluginDesc : platformProvider.getPlugins()) {
|
||||||
java.util.List<String> options =
|
java.util.List<String> options =
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
package com.sun.tools.javac.api;
|
package com.sun.tools.javac.api;
|
||||||
|
|
||||||
import com.sun.source.tree.CompilationUnitTree;
|
import com.sun.source.tree.*;
|
||||||
import com.sun.source.tree.MemberSelectTree;
|
|
||||||
import com.sun.source.tree.MethodInvocationTree;
|
|
||||||
import com.sun.source.util.*;
|
import com.sun.source.util.*;
|
||||||
|
|
||||||
|
import javax.tools.JavaFileObject;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.function.Consumer;
|
import java.util.function.Consumer;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user