You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plexus-compilers/plexus-compiler-eclipse/src/main/java/org/codehaus/plexus/compiler/eclipse/EclipseJavaCompiler.java
+13-13
Original file line number
Diff line number
Diff line change
@@ -229,12 +229,12 @@ public CompilerResult performCompile(CompilerConfiguration config) throws Compil
229
229
JavaCompilercompiler = getEcj();
230
230
booleansuccess = false;
231
231
if (compiler != null) {
232
-
log.debug("Using JSR-199 EclipseCompiler");
232
+
getLog().debug("Using JSR-199 EclipseCompiler");
233
233
// ECJ JSR-199 compiles against the latest Java version it supports if no source
234
234
// version is given explicitly. BatchCompiler uses 1.3 as default. So check
235
235
// whether a source version is specified, and if not supply 1.3 explicitly.
236
236
if (!haveSourceOrReleaseArgument(args)) {
237
-
log.debug("ecj: no source level nor release specified, defaulting to Java 1.3");
237
+
getLog().debug("ecj: no source level nor release specified, defaulting to Java 1.3");
Copy file name to clipboardExpand all lines: plexus-compilers/plexus-compiler-javac/src/main/java/org/codehaus/plexus/compiler/javac/JavacCompiler.java
+8-8
Original file line number
Diff line number
Diff line change
@@ -154,8 +154,8 @@ public CompilerResult performCompile(CompilerConfiguration config) throws Compil
154
154
try {
155
155
executable = getJavacExecutable();
156
156
} catch (IOExceptione) {
157
-
if (log.isWarnEnabled()) {
158
-
log.warn("Unable to autodetect 'javac' path, using 'javac' from the environment.");
157
+
if (getLog().isWarnEnabled()) {
158
+
getLog().warn("Unable to autodetect 'javac' path, using 'javac' from the environment.");
0 commit comments