diff --git a/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/Basedir.java b/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/Basedir.java index 803c5078..d9449933 100644 --- a/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/Basedir.java +++ b/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/Basedir.java @@ -28,14 +28,18 @@ * Specifies the base directory for test resources in Maven plugin tests. * This annotation can be applied to test methods, or test class, to define where test resources are located. * - **
Example usage:
+ * *Example usage:
*
- * {@code
+ * {@code.
+ *
+ * @see MojoTest
+ * @see MojoExtension
+ * @since 3.4.0
* @MojoTest
* class MyMojoTest {
- * @Test
- * @Basedir("src/test/resources/specific-test-case")
- * @InjectMojo(goal = "compile")
+ * @Test
+ * @Basedir("src/test/resources/specific-test-case")
+ * @InjectMojo(goal = "compile")
* void testSpecificCase(MyMojo mojo) {
* // Test resources will be loaded from src/test/resources/specific-test-case
* mojo.execute();
@@ -43,10 +47,6 @@
* }
* }
*
- *
- * @see MojoTest
- * @see MojoExtension
- * @since 3.4.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Inherited
diff --git a/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/InjectMojo.java b/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/InjectMojo.java
index 7b0acf4d..61d9616d 100644
--- a/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/InjectMojo.java
+++ b/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/InjectMojo.java
@@ -35,7 +35,12 @@
*
* Example usage on a test method:
*
- * {@code
+ * {@code.
+ *
+ * @see MojoTest
+ * @see MojoParameter
+ * @see MojoExtension
+ * @since 3.4.0
* @Test
* @InjectMojo(goal = "compile")
* void testCompileMojo(CompileMojo mojo) {
@@ -44,7 +49,6 @@
* }
* }
*
- *
* Example usage with a custom POM:
*
* {@code
@@ -59,7 +63,6 @@
* }
* }
*
- *
* The annotation can be used in conjunction with {@link MojoParameter} to provide * specific parameter values for the Mojo:
*@@ -74,11 +77,6 @@ * } * } *- * - * @see MojoTest - * @see MojoParameter - * @see MojoExtension - * @since 3.4.0 */ @Retention(RetentionPolicy.RUNTIME) @Inherited diff --git a/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/MojoExtension.java b/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/MojoExtension.java index 36726cba..7d373726 100644 --- a/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/MojoExtension.java +++ b/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/MojoExtension.java @@ -123,12 +123,18 @@ * *
Example usage in a test class:
*
- * {@code
+ * {@code.
+ *
+ * @see MojoTest
+ * @see InjectMojo
+ * @see MojoParameter
+ * @see Basedir
+ * @since 3.4.0
* @MojoTest
* class MyMojoTest {
- * @Test
- * @InjectMojo(goal = "my-goal")
- * @MojoParameter(name = "outputDirectory", value = "${project.build.directory}/generated")
+ * @Test
+ * @InjectMojo(goal = "my-goal")
+ * @MojoParameter(name = "outputDirectory", value = "${project.build.directory}/generated")
* void testMojoExecution(MyMojo mojo) throws Exception {
* mojo.execute();
* // verify execution results
@@ -136,18 +142,9 @@
* }
* }
*
- **
* For custom POM configurations, you can specify a POM file using the {@link InjectMojo#pom()} * attribute. The extension will merge this configuration with default test project settings.
- * *NOTE: only plugin configuration is taken from provided POM, all other tags are ignored.
- * - * - * @see MojoTest - * @see InjectMojo - * @see MojoParameter - * @see Basedir - * @since 3.4.0 */ public class MojoExtension extends PlexusExtension implements ParameterResolver { @@ -308,7 +305,7 @@ public void afterEach(ExtensionContext context) throws Exception { } /** - * Default MojoExecution mock + * Default MojoExecution mock. * * @return a MojoExecution mock */ @@ -317,7 +314,7 @@ private MojoExecution mockMojoExecution() { } /** - * Default MavenSession mock + * Default MavenSession mock. * * @return a MavenSession mock */ @@ -329,7 +326,7 @@ private MavenSession mockMavenSession() { } /** - * Default MavenProject mock + * Default MavenProject mock. * * @return a MavenProject mock */ @@ -444,7 +441,7 @@ protected String[] mojoCoordinates(String goal, PluginDescriptor pluginDescripto } /** - * lookup the mojo while we have all the relevent information + * Lookup the mojo while we have all the relevent information. */ protected Mojo lookupMojo( ExtensionContext extensionContext, @@ -536,7 +533,7 @@ private boolean isRealRepositorySessionNotRequired(ExtensionContext context) { } /** - * Create a MavenExecutionRequest if not already present in the MavenSession + * Create a MavenExecutionRequest if not already present in the MavenSession. */ private void createMavenExecutionRequest(ExtensionContext context) throws ComponentLookupException { PlexusContainer container = getContainer(context); @@ -738,7 +735,7 @@ public static String getTestPath(String path) { } /** - * Convenience method to set values to variables in objects that don't have setters + * Convenience method to set values to variables in objects that don't have setters. */ public static void setVariableValueToObject(Object object, String variable, Object value) throws IllegalAccessException { diff --git a/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/MojoParameter.java b/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/MojoParameter.java index 780e32f9..f094fa31 100644 --- a/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/MojoParameter.java +++ b/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/MojoParameter.java @@ -37,7 +37,12 @@ * *Example usage with a single parameter:
*
- * {@code
+ * {@code.
+ *
+ * @see MojoParameters
+ * @see InjectMojo
+ * @see MojoTest
+ * @since 3.4.0
* @Test
* @InjectMojo(goal = "compile")
* @MojoParameter(name = "source", value = "1.8")
@@ -46,7 +51,6 @@
* }
* }
*
- *
* Example usage with multiple parameters:
*
* {@code
@@ -60,11 +64,6 @@
* }
* }
*
- *
- * @see MojoParameters
- * @see InjectMojo
- * @see MojoTest
- * @since 3.4.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Repeatable(MojoParameters.class)
diff --git a/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/MojoParameters.java b/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/MojoParameters.java
index 55652819..03f14182 100644
--- a/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/MojoParameters.java
+++ b/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/MojoParameters.java
@@ -35,20 +35,24 @@
*
* Example of direct usage:
*
- * {@code
+ * {@code.
+ *
+ * @see MojoParameter
+ * @see InjectMojo
+ * @see MojoTest
+ * @since 3.4.0
* @Test
* @InjectMojo(goal = "compile")
* @MojoParameters({
- * @MojoParameter(name = "source", value = "1.8"),
- * @MojoParameter(name = "target", value = "1.8"),
- * @MojoParameter(name = "debug", value = "true")
+ * @MojoParameter(name = "source", value = "1.8"),
+ * @MojoParameter(name = "target", value = "1.8"),
+ * @MojoParameter(name = "debug", value = "true")
* })
* void testCompilation(CompileMojo mojo) {
* mojo.execute();
* }
* }
*
- *
* Equivalent usage with repeatable annotation:
*
* {@code
@@ -62,11 +66,6 @@
* }
* }
*
- *
- * @see MojoParameter
- * @see InjectMojo
- * @see MojoTest
- * @since 3.4.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Inherited
diff --git a/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/MojoTest.java b/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/MojoTest.java
index 063c1fa3..9404217a 100644
--- a/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/MojoTest.java
+++ b/maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/MojoTest.java
@@ -39,30 +39,33 @@
*
* Example usage:
*
- * {@code
+ * {@code.
+ *
+ * @see MojoExtension
+ * @see InjectMojo
+ * @see MojoParameter
+ * @see Provides
+ * @since 4.0.0
* @MojoTest
* class MyMojoTest {
- * @Inject
+ * @Inject
* private SomeComponent component;
- *
- * @Test
- * @InjectMojo(goal = "my-goal")
- * @MojoParameter(name = "parameter", value = "value")
+ * @Test
+ * @InjectMojo(goal = "my-goal")
+ * @MojoParameter(name = "parameter", value = "value")
* void testMojoExecution(MyMojo mojo) {
* // mojo is instantiated with the specified parameters
* // component is automatically injected
* mojo.execute();
* // verify execution results
* }
- *
- * @Provides
+ * @Provides
* SomeComponent provideMockedComponent() {
* return mock(SomeComponent.class);
* }
* }
* }
*
- *
* The annotation supports:
*
- * TODO Provide alternative working directory naming for Windows, which still limits path names to ~250 charecters
+ * TODO Provide alternative working directory naming for Windows, which still limits path names to ~250 charecters.
*/
public File getBasedir(String project) throws IOException {
if (name == null) {
diff --git a/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/stubs/ArtifactStub.java b/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/stubs/ArtifactStub.java
index edbaa9e3..9e1a657e 100644
--- a/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/stubs/ArtifactStub.java
+++ b/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/stubs/ArtifactStub.java
@@ -63,44 +63,56 @@ public int compareTo(Artifact artifact) {
return 0;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public String getGroupId() {
return groupId;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public String getArtifactId() {
return artifactId;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public String getVersion() {
return version;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public void setVersion(String version) {
this.version = version;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public String getScope() {
return scope;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public String getType() {
return type;
}
/**
- * Set a new type
+ * Set a new type.
*
* @param type
*/
@@ -108,32 +120,40 @@ public void setType(String type) {
this.type = type;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public String getClassifier() {
return classifier;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public boolean hasClassifier() {
return classifier != null;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public File getFile() {
return file;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public void setFile(File file) {
this.file = file;
}
/**
- * @return null.
+ * @return null
* @see org.apache.maven.artifact.Artifact#getBaseVersion()
*/
@Override
@@ -152,7 +172,7 @@ public void setBaseVersion(String string) {
}
/**
- * @return null.
+ * @return null
* @see org.apache.maven.artifact.Artifact#getId()
*/
@Override
@@ -161,7 +181,7 @@ public String getId() {
}
/**
- * @return groupId:artifactId:type:classifier.
+ * @return groupId:artifactId:type:classifier
* @see org.apache.maven.artifact.Artifact#getDependencyConflictId()
*/
@Override
@@ -187,7 +207,7 @@ public void addMetadata(ArtifactMetadata artifactMetadata) {
}
/**
- * @return null.
+ * @return null
* @see org.apache.maven.artifact.Artifact#getMetadataList()
*/
@Override
@@ -195,13 +215,17 @@ public Collectionnull.
+ * @return null
* @see org.apache.maven.artifact.Artifact#getDownloadUrl()
*/
@Override
@@ -237,7 +261,7 @@ public void setDownloadUrl(String string) {
}
/**
- * @return null.
+ * @return null
* @see org.apache.maven.artifact.Artifact#getDependencyFilter()
*/
@Override
@@ -256,7 +280,7 @@ public void setDependencyFilter(ArtifactFilter artifactFilter) {
}
/**
- * @return null.
+ * @return null
* @see org.apache.maven.artifact.Artifact#getArtifactHandler()
*/
@Override
@@ -265,7 +289,7 @@ public ArtifactHandler getArtifactHandler() {
}
/**
- * @return null.
+ * @return null
* @see org.apache.maven.artifact.Artifact#getDependencyTrail()
*/
@Override
@@ -283,14 +307,16 @@ public void setDependencyTrail(Listnull.
+ * @return null
* @see org.apache.maven.artifact.Artifact#getVersionRange()
*/
@Override
@@ -318,20 +344,24 @@ public void selectVersion(String string) {
// nop
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public void setGroupId(String groupId) {
this.groupId = groupId;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public void setArtifactId(String artifactId) {
this.artifactId = artifactId;
}
/**
- * @return false.
+ * @return false
* @see org.apache.maven.artifact.Artifact#isSnapshot()
*/
@Override
@@ -351,7 +381,7 @@ public void setResolved(boolean b) {
}
/**
- * @return false.
+ * @return false
* @see org.apache.maven.artifact.Artifact#isResolved()
*/
@Override
@@ -380,7 +410,7 @@ public void setArtifactHandler(ArtifactHandler artifactHandler) {
}
/**
- * @return false.
+ * @return false
* @see org.apache.maven.artifact.Artifact#isRelease()
*/
@Override
@@ -399,7 +429,7 @@ public void setRelease(boolean b) {
}
/**
- * @return null.
+ * @return null
* @see org.apache.maven.artifact.Artifact#getAvailableVersions()
*/
@Override
@@ -418,7 +448,7 @@ public void setAvailableVersions(Listfalse.
+ * @return false
* @see org.apache.maven.artifact.Artifact#isOptional()
*/
@Override
@@ -437,7 +467,7 @@ public void setOptional(boolean b) {
}
/**
- * @return null.
+ * @return null
* @see org.apache.maven.artifact.Artifact#getSelectedVersion()
*/
@Override
@@ -446,7 +476,7 @@ public ArtifactVersion getSelectedVersion() throws OverConstrainedVersionExcepti
}
/**
- * @return false.
+ * @return false
* @see org.apache.maven.artifact.Artifact#isSelectedVersionKnown()
*/
@Override
diff --git a/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/stubs/DefaultArtifactHandlerStub.java b/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/stubs/DefaultArtifactHandlerStub.java
index 5c5fe7a0..64927ae5 100644
--- a/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/stubs/DefaultArtifactHandlerStub.java
+++ b/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/stubs/DefaultArtifactHandlerStub.java
@@ -61,7 +61,9 @@ public DefaultArtifactHandlerStub(String type) {
this.type = type;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public String getExtension() {
if (extension == null) {
@@ -77,13 +79,17 @@ public String getType() {
return type;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public String getClassifier() {
return classifier;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public String getDirectory() {
if (directory == null) {
@@ -92,7 +98,9 @@ public String getDirectory() {
return directory;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public String getPackaging() {
if (packaging == null) {
@@ -101,13 +109,17 @@ public String getPackaging() {
return packaging;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public boolean isIncludesDependencies() {
return includesDependencies;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public String getLanguage() {
if (language == null) {
@@ -117,63 +129,65 @@ public String getLanguage() {
return language;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public boolean isAddedToClasspath() {
return addedToClasspath;
}
/**
- * @param theAddedToClasspath The addedToClasspath to set.
+ * @param theAddedToClasspath the addedToClasspath to set
*/
public void setAddedToClasspath(boolean theAddedToClasspath) {
this.addedToClasspath = theAddedToClasspath;
}
/**
- * @param theClassifier The classifier to set.
+ * @param theClassifier the classifier to set
*/
public void setClassifier(String theClassifier) {
this.classifier = theClassifier;
}
/**
- * @param theDirectory The directory to set.
+ * @param theDirectory the directory to set
*/
public void setDirectory(String theDirectory) {
this.directory = theDirectory;
}
/**
- * @param theExtension The extension to set.
+ * @param theExtension the extension to set
*/
public void setExtension(String theExtension) {
this.extension = theExtension;
}
/**
- * @param theIncludesDependencies The includesDependencies to set.
+ * @param theIncludesDependencies the includesDependencies to set
*/
public void setIncludesDependencies(boolean theIncludesDependencies) {
this.includesDependencies = theIncludesDependencies;
}
/**
- * @param theLanguage The language to set.
+ * @param theLanguage the language to set
*/
public void setLanguage(String theLanguage) {
this.language = theLanguage;
}
/**
- * @param thePackaging The packaging to set.
+ * @param thePackaging the packaging to set
*/
public void setPackaging(String thePackaging) {
this.packaging = thePackaging;
}
/**
- * @param theType The type to set.
+ * @param theType the type to set
*/
public void setType(String theType) {
this.type = theType;
diff --git a/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/stubs/MavenProjectStub.java b/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/stubs/MavenProjectStub.java
index dd4fa747..8778e0af 100644
--- a/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/stubs/MavenProjectStub.java
+++ b/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/stubs/MavenProjectStub.java
@@ -160,7 +160,7 @@ public class MavenProjectStub extends MavenProject {
private Build build;
/**
- * Default constructor
+ * Default constructor.
*/
public MavenProjectStub() {
this(new Model());
@@ -178,7 +178,7 @@ public MavenProjectStub(Model model) {
* Loads the model for this stub from the specified POM. For convenience, any checked exception caused by I/O or
* parser errors will be wrapped into an unchecked exception.
*
- * @param pomFile The path to the POM file to load, must not be null. If this path is relative, it
+ * @param pomFile the path to the POM file to load, must not be null. If this path is relative, it
* is resolved against the return value of {@link #getBasedir()}.
*/
protected void readModel(File pomFile) {
@@ -195,7 +195,7 @@ protected void readModel(File pomFile) {
}
/**
- * No project model is associated
+ * No project model is associated.
*
* @param project the given project
*/
@@ -213,31 +213,41 @@ public String getModulePathAdjustment(MavenProject mavenProject) throws IOExcept
return "";
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public Artifact getArtifact() {
return artifact;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public void setArtifact(Artifact artifact) {
this.artifact = artifact;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public Model getModel() {
return model;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public MavenProject getParent() {
return parent;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public void setParent(MavenProject mavenProject) {
this.parent = mavenProject;
@@ -263,7 +273,9 @@ public ListartifactId.
+ * @return the artifactId
* @see org.apache.maven.artifact.repository.ArtifactRepository#pathOf(org.apache.maven.artifact.Artifact)
*/
@Override
@@ -55,7 +55,7 @@ public String pathOf(Artifact artifact) {
}
/**
- * @return null.
+ * @return null
* @see org.apache.maven.artifact.repository.ArtifactRepository#pathOfRemoteRepositoryMetadata(org.apache.maven.artifact.metadata.ArtifactMetadata)
*/
@Override
@@ -64,7 +64,7 @@ public String pathOfRemoteRepositoryMetadata(ArtifactMetadata artifactMetadata)
}
/**
- * @return the filename of this metadata on the local repository.
+ * @return the filename of this metadata on the local repository
* @see org.apache.maven.artifact.repository.ArtifactRepository#pathOfLocalRepositoryMetadata(org.apache.maven.artifact.metadata.ArtifactMetadata, org.apache.maven.artifact.repository.ArtifactRepository)
*/
@Override
@@ -73,7 +73,7 @@ public String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactR
}
/**
- * @return null.
+ * @return null
* @see org.apache.maven.artifact.repository.ArtifactRepository#getUrl()
*/
@Override
@@ -82,7 +82,7 @@ public String getUrl() {
}
/**
- * @return basedir.
+ * @return basedir
* @see org.apache.maven.artifact.repository.ArtifactRepository#getBasedir()
*/
@Override
@@ -91,7 +91,7 @@ public String getBasedir() {
}
/**
- * @return null.
+ * @return null
* @see org.apache.maven.artifact.repository.ArtifactRepository#getProtocol()
*/
@Override
@@ -100,7 +100,7 @@ public String getProtocol() {
}
/**
- * @return null.
+ * @return null
* @see org.apache.maven.artifact.repository.ArtifactRepository#getId()
*/
@Override
@@ -109,7 +109,7 @@ public String getId() {
}
/**
- * @return null.
+ * @return null
* @see org.apache.maven.artifact.repository.ArtifactRepository#getSnapshots()
*/
@Override
@@ -118,7 +118,7 @@ public ArtifactRepositoryPolicy getSnapshots() {
}
/**
- * @return null.
+ * @return null
* @see org.apache.maven.artifact.repository.ArtifactRepository#getReleases()
*/
@Override
@@ -127,7 +127,7 @@ public ArtifactRepositoryPolicy getReleases() {
}
/**
- * @return null.
+ * @return null
* @see org.apache.maven.artifact.repository.ArtifactRepository#getLayout()
*/
@Override
@@ -136,7 +136,7 @@ public ArtifactRepositoryLayout getLayout() {
}
/**
- * @return null.
+ * @return null
* @see org.apache.maven.artifact.repository.ArtifactRepository#getKey()
*/
@Override
@@ -145,7 +145,7 @@ public String getKey() {
}
/**
- * @return false.
+ * @return false
* @see org.apache.maven.artifact.repository.ArtifactRepository#isUniqueVersion()
*/
@Override
@@ -164,7 +164,7 @@ public void setBlacklisted(boolean blackListed) {
}
/**
- * @return false.
+ * @return false
* @see org.apache.maven.artifact.repository.ArtifactRepository#isBlacklisted()
*/
@Override