Skip to content

Commit 35d18ed

Browse files
committed
Fix JavaDoc
1 parent 7e18263 commit 35d18ed

8 files changed

Lines changed: 22 additions & 19 deletions

File tree

maven-release-manager/src/main/mdo/release-descriptor.mdo

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@
503503
<type>boolean</type>
504504
<defaultValue>false</defaultValue>
505505
<description>
506-
NOTE : currently only implemented with svn scm. Enable a workaround to prevent issue due to svn client > 1.5.0
506+
NOTE : currently only implemented with svn scm. Enable a workaround to prevent issue due to svn client &amp;gt; 1.5.0
507507
(http://jira.codehaus.org/browse/SCM-406)
508508
</description>
509509
</field>
@@ -669,8 +669,8 @@
669669
/**
670670
* Method addReleaseVersion.
671671
*
672-
* @param key
673-
* @param value
672+
* @param projectId
673+
* @param version
674674
*/
675675
public void addReleaseVersion( String projectId, String version )
676676
{
@@ -689,8 +689,8 @@
689689
/**
690690
* Method addDevelopmentVersion.
691691
*
692-
* @param key
693-
* @param value
692+
* @param projectId
693+
* @param version
694694
*/
695695
public void addDevelopmentVersion( String projectId, String version )
696696
{

maven-release-manager/src/test/java/org/apache/maven/shared/release/phase/IsScmBranchEquals.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import org.mockito.ArgumentMatcher;
2424

2525
/**
26-
* JMock constraint to compare tags since it has no equals method.
26+
* Mockito constraint to compare tags since it has no equals method.
2727
*
2828
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
2929
*/

maven-release-manager/src/test/java/org/apache/maven/shared/release/phase/IsScmBranchParametersEquals.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
import org.mockito.ArgumentMatcher;
2525

2626
/**
27+
* Mockito constraint to compare tags since it has no equals method.
28+
*
2729
* @author <a href="mailto:olamy@apache.org">olamy</a>
2830
*/
2931
public class IsScmBranchParametersEquals implements ArgumentMatcher<ScmBranchParameters>

maven-release-manager/src/test/java/org/apache/maven/shared/release/phase/IsScmFileSetEquals.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,9 @@
2525
import org.mockito.ArgumentMatcher;
2626

2727
/**
28-
* JMock constraint to compare file sets since it has no equals method.
28+
* Mockito constraint to compare file sets since it has no equals method.
2929
*
3030
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
31-
* @todo add an equals() method
3231
*/
3332
public class IsScmFileSetEquals implements ArgumentMatcher<ScmFileSet>
3433
{
@@ -55,4 +54,6 @@ public boolean matches( ScmFileSet argument )
5554
throw new RuntimeException(e.getMessage(), e);
5655
}
5756
}
57+
58+
5859
}

maven-release-manager/src/test/java/org/apache/maven/shared/release/phase/IsScmTagEquals.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@
2323
import org.mockito.ArgumentMatcher;
2424

2525
/**
26-
* JMock constraint to compare tags since it has no equals method.
26+
* Mockito constraint to compare tags since it has no equals method.
2727
*
2828
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
29-
* @todo add an equals() method
3029
*/
3130
public class IsScmTagEquals implements ArgumentMatcher<ScmTag>
3231
{

maven-release-manager/src/test/java/org/apache/maven/shared/release/phase/IsScmTagParametersEquals.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
import org.mockito.ArgumentMatcher;
2424

2525
/**
26+
* Mockito constraint to compare tags since it has no equals method.
27+
*
2628
* @author <a href="mailto:olamy@apache.org">olamy</a>
2729
*/
2830
public class IsScmTagParametersEquals implements ArgumentMatcher<ScmTagParameters>

maven-release-plugin/src/test/java/org/apache/maven/plugins/release/stubs/FlatMultiModuleMavenProjectStub.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
import org.apache.maven.model.Scm;
2929

3030
/**
31-
* Stub for a MavenProject with a flat structure.
32-
* <p/>
33-
* TODO: shouldn't need to do this, but the "stub" in the harness just throws away values you set.
34-
* Just overriding the ones I need for this plugin.
31+
* <p>Stub for a MavenProject with a flat structure.</p>
32+
*
33+
* <p>TODO: shouldn't need to do this, but the "stub" in the harness just throws away values you set.
34+
* Just overriding the ones I need for this plugin.</p>
3535
*
3636
* @author <a href="mailto:oching@apache.org">Maria Odea Ching</a>
3737
*/

maven-release-plugin/src/test/java/org/apache/maven/plugins/release/stubs/MavenProjectStub.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,12 @@
2323
import org.apache.maven.model.Model;
2424

2525
/**
26-
* Stub for MavenProject.
27-
* <p/>
28-
* TODO: shouldn't need to do this, but the "stub" in the harness just throws away values you set.
29-
* Just overriding the ones I need for this plugin.
26+
* <p>Stub for MavenProject.</p>
27+
*
28+
* <p>TODO: shouldn't need to do this, but the "stub" in the harness just throws away values you set.
29+
* Just overriding the ones I need for this plugin.</p>
3030
*
3131
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
32-
* @noinspection ClassNameSameAsAncestorName
3332
*/
3433
public class MavenProjectStub
3534
extends org.apache.maven.plugin.testing.stubs.MavenProjectStub

0 commit comments

Comments
 (0)