You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kr...@apache.org on 2012/10/25 10:58:20 UTC

svn commit: r1402029 - /maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/TeamListReport.java

Author: krosenvold
Date: Thu Oct 25 08:58:20 2012
New Revision: 1402029

URL: http://svn.apache.org/viewvc?rev=1402029&view=rev
Log:
o Fixed heading when not showing avatars

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

Modified: maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/TeamListReport.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/TeamListReport.java?rev=1402029&r1=1402028&r2=1402029&view=diff
==============================================================================
--- maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/TeamListReport.java (original)
+++ maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/TeamListReport.java Thu Oct 25 08:58:20 2012
@@ -465,7 +465,7 @@ public class TeamListReport
             String timeZone = getI18nString( "contributors.timezone" );
             String actualTime = getI18nString( "contributors.actualtime" );
             String properties = getI18nString( "contributors.properties" );
-            if ( requiredHeaders.get( IMAGE ) == Boolean.TRUE )
+            if ( requiredHeaders.get( IMAGE ) == Boolean.TRUE && showAvatarImages)
             {
                 requiredArray.add( image );
             }
@@ -495,7 +495,7 @@ public class TeamListReport
             String actualTime = getI18nString( "developers.actualtime" );
             String properties = getI18nString( "developers.properties" );
 
-            if ( requiredHeaders.get( IMAGE ) == Boolean.TRUE )
+            if ( requiredHeaders.get( IMAGE ) == Boolean.TRUE && showAvatarImages)
             {
                 requiredArray.add( image );
             }