maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsive...@apache.org
Subject svn commit: r809298 - /maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer.java
Date Sun, 30 Aug 2009 10:30:16 GMT
Author: vsiveton
Date: Sun Aug 30 10:30:16 2009
New Revision: 809298

URL: http://svn.apache.org/viewvc?rev=809298&view=rev
Log:
o fixed rendering due to r662400 in reporting-impl

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=809298&r1=809297&r2=809298&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
Sun Aug 30 10:30:16 2009
@@ -532,9 +532,7 @@
             new int[] { Sink.JUSTIFY_LEFT, Sink.JUSTIFY_RIGHT, Sink.JUSTIFY_RIGHT, Sink.JUSTIFY_RIGHT,
                 Sink.JUSTIFY_RIGHT, Sink.JUSTIFY_CENTER, Sink.JUSTIFY_CENTER, Sink.JUSTIFY_CENTER
};
 
-        startTable();
-
-        sink.tableRows( justification, true );
+        startTable( justification, true );
 
         TotalCell totaldeps = new TotalCell( DEFAULT_DECIMAL_FORMAT );
         TotalCell totaldepsize = new TotalCell( fileLengthDecimalFormat );
@@ -648,8 +646,6 @@
             }
         }
 
-        sink.tableRows_();
-
         endTable();
         endSection();
     }
@@ -876,12 +872,10 @@
 
         sink.listItem();
 
-        sink.paragraph();
         sink.text( id + ( StringUtils.isNotEmpty( artifact.getScope() ) ? " (" + artifact.getScope()
+ ") " : " " ) );
         sink.rawText( "<img id=\"" + imgId + "\" src=\"" + IMG_INFO_URL
             + "\" alt=\"Information\" onclick=\"toggleDependencyDetail( '" + dependencyDetailId
+ "', '" + imgId
             + "' );\" style=\"cursor: pointer;vertical-align:text-bottom;\"></img>"
);
-        sink.paragraph_();
 
         printDescriptionsAndURLs( node, dependencyDetailId );
 
@@ -1105,8 +1099,6 @@
         String blacklistedEnabled = getReportString( "report.dependencies.repo.locations.cell.blacklisted.enabled"
);
         String blacklistedDisabled = getReportString( "report.dependencies.repo.locations.cell.blacklisted.disabled"
);
 
-        startTable();
-
         // Table header
 
         String[] tableHeader;
@@ -1125,7 +1117,7 @@
                     Sink.JUSTIFY_CENTER };
         }
 
-        sink.tableRows( justificationRepo, true );
+        startTable( justificationRepo, true );
 
         tableHeader( tableHeader );
 
@@ -1165,8 +1157,6 @@
             sink.tableRow_();
         }
 
-        sink.tableRows_();
-
         endTable();
     }
 
@@ -1209,9 +1199,7 @@
         Map totalByRepo = new HashMap();
         TotalCell totaldeps = new TotalCell( DEFAULT_DECIMAL_FORMAT );
 
-        startTable();
-
-        sink.tableRows( justificationRepo, true );
+        startTable( justificationRepo, true );
 
         tableHeader( tableHeader );
 
@@ -1225,7 +1213,6 @@
 
             if ( !Artifact.SCOPE_SYSTEM.equals( dependency.getScope() ) )
             {
-
                 tableCell( dependency.getId() );
 
                 for ( Iterator itrepo = repoIdList.iterator(); itrepo.hasNext(); )
@@ -1313,8 +1300,6 @@
 
         tableRow( totalRow );
 
-        sink.tableRows_();
-
         endTable();
     }
 



Mime
View raw message