maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject svn commit: r677965 - /maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer.java
Date Fri, 18 Jul 2008 16:32:10 GMT
Author: dennisl
Date: Fri Jul 18 09:32:10 2008
New Revision: 677965

URL: http://svn.apache.org/viewvc?rev=677965&view=rev
Log:
o Make it compile on Java 1.4.

Modified:
    maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer.java

Modified: maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer.java?rev=677965&r1=677964&r2=677965&view=diff
==============================================================================
--- maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer.java
(original)
+++ maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer.java
Fri Jul 18 09:32:10 2008
@@ -802,8 +802,8 @@
                     Integer old = (Integer)totalByRepo.get( repokey );
                     if ( old == null )
                     {
-                        totalByRepo.put( repokey, Integer.valueOf( 0 ) );
-                        old = Integer.valueOf( 0 );
+                        totalByRepo.put( repokey, new Integer( 0 ) );
+                        old = new Integer( 0 );
                     }
 
                     boolean dependencyExists = false;
@@ -836,7 +836,7 @@
                         sink.link_();
                         sink.tableCell_();
 
-                        totalByRepo.put( repokey, Integer.valueOf( old.intValue() + 1 ) );
+                        totalByRepo.put( repokey, new Integer( old.intValue() + 1 ) );
                     }
                     else
                     {



Mime
View raw message