diff --git a/maven-plugins/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java b/maven-plugins/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java index 38bf8c010d..766574d327 100644 --- a/maven-plugins/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java +++ b/maven-plugins/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java @@ -225,8 +225,8 @@ public abstract class AbstractCompilerMojo if ( getLog().isDebugEnabled() ) { - getLog().debug( "Source directories: " + compileSourceRoots.toString().replace( ",", "\n" ) ); - getLog().debug( "Classpath: " + getClasspathElements().toString().replace( ",", "\n" ) ); + getLog().debug( "Source directories: " + compileSourceRoots.toString().replace( ',', '\n' ) ); + getLog().debug( "Classpath: " + getClasspathElements().toString().replace( ',', '\n' ) ); getLog().debug( "Output directory: " + getOutputDirectory() ); }