From aef3b36c0e56bf9515259ecf492881f59113b97c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Boutemy?= Date: Wed, 5 Nov 2014 01:32:21 +0100 Subject: [PATCH] renamed DefaultJavaToolchainFactory to JavaToolchainFactory to ease understanding: there is no JavaToolchainFactory Plexus component --- ...tJavaToolchainFactory.java => JavaToolchainFactory.java} | 6 ++++-- maven-core/src/site/apt/index.apt | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) rename maven-core/src/main/java/org/apache/maven/toolchain/java/{DefaultJavaToolchainFactory.java => JavaToolchainFactory.java} (94%) diff --git a/maven-core/src/main/java/org/apache/maven/toolchain/java/DefaultJavaToolchainFactory.java b/maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java similarity index 94% rename from maven-core/src/main/java/org/apache/maven/toolchain/java/DefaultJavaToolchainFactory.java rename to maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java index d95f2fe9c1..f47a3d02f4 100644 --- a/maven-core/src/main/java/org/apache/maven/toolchain/java/DefaultJavaToolchainFactory.java +++ b/maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java @@ -36,12 +36,14 @@ import org.codehaus.plexus.util.xml.Xpp3Dom; /** * JDK toolchain factory. + * This is a ToolchainFactory Plexus component registered with + * jdk hint. * * @author mkleint - * @since 2.0.9 + * @since 2.0.9, renamed from DefaultJavaToolchainFactory in 3.2.4 */ @Component( role = ToolchainFactory.class, hint = "jdk" ) -public class DefaultJavaToolchainFactory +public class JavaToolchainFactory implements ToolchainFactory { diff --git a/maven-core/src/site/apt/index.apt b/maven-core/src/site/apt/index.apt index f44c7560df..d847b0d363 100644 --- a/maven-core/src/site/apt/index.apt +++ b/maven-core/src/site/apt/index.apt @@ -69,7 +69,7 @@ Maven Core with its <<>> implementation ({{{./xref/org/apache/maven/toolchain/DefaultToolchainManagerPrivate.html}source}}), to manage toolchain selection, - * <<>> component ({{{./apidocs/org/apache/maven/toolchain/java/JavaToolchain.html}javadoc}}), + * <<>> interface ({{{./apidocs/org/apache/maven/toolchain/java/JavaToolchain.html}javadoc}}), with its <<>> implementation - ({{{./xref/org/apache/maven/toolchain/java/DefaultJavaToolchain.html}source}}) and <<>> - factory ({{{./xref/org/apache/maven/toolchain/java/DefaultJavaToolchainFactory.html}source}}). + ({{{./xref/org/apache/maven/toolchain/java/DefaultJavaToolchain.html}source}}) and <<>> + factory ({{{./xref/org/apache/maven/toolchain/java/JavaToolchainFactory.html}source}}).