Skip to content

Commit c863dd7

Browse files
authored
JavacCompiler.java had a space in the wrong place (#303)
It looks like the style rule is that annotations are written `@Foo( param="spaces in between parens and params" )`, but here, it the space was _within_ the string literal. Which would break everything, except evidently elsewhere these compilerId strings are perhaps trimmed, or, if not, the META-INF serviceloader infra trims these. Still, it was weird, and ugly.
1 parent 82cbdb2 commit c863dd7

File tree

1 file changed

+1
-1
lines changed
  • plexus-compilers/plexus-compiler-javac/src/main/java/org/codehaus/plexus/compiler/javac

1 file changed

+1
-1
lines changed

plexus-compilers/plexus-compiler-javac/src/main/java/org/codehaus/plexus/compiler/javac/JavacCompiler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
* @author Others
8686
*
8787
*/
88-
@Component( role = Compiler.class, hint = "javac ")
88+
@Component( role = Compiler.class, hint = "javac" )
8989
public class JavacCompiler
9090
extends AbstractCompiler
9191
{

0 commit comments

Comments
 (0)