Merging 393053 from maven-2.0.x branch, to fix some jdk5 method calls that crept in.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@393059 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2006-04-10 20:48:10 +00:00
parent 8937fd353d
commit b22b0cc9e2
1 changed files with 5 additions and 5 deletions

View File

@ -122,12 +122,12 @@ public class ProjectInheritanceTest
String testPluginArtifactId = "maven-compiler-plugin";
// this is the plugin we're looking for.
validPluginCounts.put( testPluginArtifactId, Integer.valueOf( 0 ) );
validPluginCounts.put( testPluginArtifactId, new Integer( 0 ) );
// these are injected if -DperformRelease=true
validPluginCounts.put( "maven-deploy-plugin", Integer.valueOf( 0 ) );
validPluginCounts.put( "maven-javadoc-plugin", Integer.valueOf( 0 ) );
validPluginCounts.put( "maven-source-plugin", Integer.valueOf( 0 ) );
validPluginCounts.put( "maven-deploy-plugin", new Integer( 0 ) );
validPluginCounts.put( "maven-javadoc-plugin", new Integer( 0 ) );
validPluginCounts.put( "maven-source-plugin", new Integer( 0 ) );
Plugin testPlugin = null;
@ -156,7 +156,7 @@ public class ProjectInheritanceTest
}
else
{
count = Integer.valueOf( count.intValue() + 1 );
count = new Integer( count.intValue() + 1 );
validPluginCounts.put( pluginArtifactId, count );
}