Skip to content

Commit

Permalink
o Updated to get rid of some Javadoc warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianSchulte committed Jan 26, 2016
1 parent 5c98a42 commit ae9ccf2
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ public interface ArtifactRepository
/**
*
* @param artifact
* @return
* @since 3.0-alpha-3
*/
Artifact find( Artifact artifact );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public String getProtocol()
}

/**
* @param type the type of the proxy server like <i>SOCKSv4</i>
* @param protocol the type of the proxy server like <i>SOCKSv4</i>
*/
public void setProtocol( String protocol )
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ int getId()

/**
* Helper method to simplify null processing
*
* @return
*/
public static final ArtifactScopeEnum checkScope( ArtifactScopeEnum scope )
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* under the License.
*/

import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
import org.codehaus.plexus.component.repository.exception.ComponentLookupException;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,6 @@ public Model interpolate( Model model,
* with the value, and continue to find other expressions.</li>
* <li>If the value is null, get it from the model properties.</li>
* <li>
* @param overrideContext
* @param outputDebugMessages
*/
public String interpolate( String src,
Model model,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ public void addNode( MetadataGraphNode node )

/**
* find a node by the GAV (metadata)
*
* @param md
* @return
*/
public MetadataGraphNode findNode( MavenArtifactMetadata md )
{
Expand All @@ -76,8 +73,6 @@ public MetadataGraphNode findNode( MavenArtifactMetadata md )

/**
* getter
*
* @return
*/
public MetadataGraphNode getEntry()
{
Expand All @@ -86,8 +81,6 @@ public MetadataGraphNode getEntry()

/**
* getter
*
* @return
*/
public Collection<MetadataGraphNode> getNodes()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ public ArtifactFilter getArtifactFilter()

/**
* Returns the artifact filter for the standard core artifacts.
*
* @see org.apache.maven.ArtifactFilterManager#getExtensionDependencyFilter()
*/
public ArtifactFilter getCoreArtifactFilter()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy;
import org.apache.maven.eventspy.internal.EventSpyDispatcher;
import org.apache.maven.lifecycle.internal.builder.Builder;
import org.apache.maven.model.Profile;
import org.apache.maven.project.ProjectBuildingRequest;
//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -914,10 +914,10 @@ public Map<String, List<String>> getInjectedProfileIds()
* @param artifact The artifact to add or replace.
*
* @deprecated Please use {@link MavenProjectHelper}
* @see https://issues.apache.org/jira/browse/MNG-5868
* @see https://issues.apache.org/jira/browse/MNG-5387
* @see https://issues.apache.org/jira/browse/MNG-4013
* @see https://issues.apache.org/jira/browse/MNG-3119
* @see "https://issues.apache.org/jira/browse/MNG-5868"
* @see "https://issues.apache.org/jira/browse/MNG-5387"
* @see "https://issues.apache.org/jira/browse/MNG-4013"
* @see "https://issues.apache.org/jira/browse/MNG-3119"
*/
@Deprecated
public void addAttachedArtifact( Artifact artifact )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class SystemProperties
/**
* Thread-safe System.properties copy implementation.
*
* @see https://issues.apache.org/jira/browse/MNG-5670
* @see "https://issues.apache.org/jira/browse/MNG-5670"
*/
public static void addSystemProperties( Properties props )
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ public interface ToolchainManager
* <code>maven-toolchains-plugin</code> contains the configuration to select the appropriate
* toolchain and is executed at the beginning of the build.
*
* @param session the Maven session, must not be {@code null}
* @param type the type, must not be {@code null}
* @param context the Maven session, must not be {@code null}
* @return the toolchain selected by <code>maven-toolchains-plugin</code>
*/
Toolchain getToolchainFromBuildContext( String type, MavenSession context );
Expand Down

0 comments on commit ae9ccf2

Please sign in to comment.