You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by an...@apache.org on 2013/10/11 11:28:06 UTC
svn commit: r1531239 -
/maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/AbstractDeployMojo.java
Author: andham
Date: Fri Oct 11 09:28:06 2013
New Revision: 1531239
URL: http://svn.apache.org/r1531239
Log:
Added missing Generics
Modified:
maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/AbstractDeployMojo.java
Modified: maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/AbstractDeployMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/AbstractDeployMojo.java?rev=1531239&r1=1531238&r2=1531239&view=diff
==============================================================================
--- maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/AbstractDeployMojo.java (original)
+++ maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/AbstractDeployMojo.java Fri Oct 11 09:28:06 2013
@@ -62,7 +62,7 @@ public abstract class AbstractDeployMojo
* Map that contains the layouts.
*/
@Component( role = ArtifactRepositoryLayout.class )
- private Map repositoryLayouts;
+ private Map<String, ArtifactRepositoryLayout> repositoryLayouts;
/**
*/
@@ -124,7 +124,7 @@ public abstract class AbstractDeployMojo
ArtifactRepositoryLayout getLayout( String id )
throws MojoExecutionException
{
- ArtifactRepositoryLayout layout = (ArtifactRepositoryLayout) repositoryLayouts.get( id );
+ ArtifactRepositoryLayout layout = repositoryLayouts.get( id );
if ( layout == null )
{