maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r392151 - /maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/AbstractSiteRenderingMojo.java
Date Fri, 07 Apr 2006 01:35:29 GMT
Author: brett
Date: Thu Apr  6 18:35:27 2006
New Revision: 392151

URL: http://svn.apache.org/viewcvs?rev=392151&view=rev
Log:
simplify

Modified:
    maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/AbstractSiteRenderingMojo.java

Modified: maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/AbstractSiteRenderingMojo.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/AbstractSiteRenderingMojo.java?rev=392151&r1=392150&r2=392151&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/AbstractSiteRenderingMojo.java
(original)
+++ maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/AbstractSiteRenderingMojo.java
Thu Apr  6 18:35:27 2006
@@ -297,10 +297,7 @@
         if ( parentProject != null && project.getUrl() != null && parentProject.getUrl()
!= null )
         {
             populateProjectParentMenu( decoration, locale, parentProject );
-        }
 
-        if ( parentProject != null && project.getUrl() != null && parentProject.getUrl()
!= null )
-        {
             DecorationModel parent = getDecorationModel( parentProject, locale, props );
 
             assembler.assembleModelInheritance( project.getName(), decoration, parent, project.getUrl(),



Mime
View raw message