continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r280571 - /maven/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/configuration/DefaultConfigurationService.java
Date Tue, 13 Sep 2005 14:48:31 GMT
Author: evenisse
Date: Tue Sep 13 07:48:27 2005
New Revision: 280571

URL: http://svn.apache.org/viewcvs?rev=280571&view=rev
Log:
write company name and url in configuration file

Modified:
    maven/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/configuration/DefaultConfigurationService.java

Modified: maven/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/configuration/DefaultConfigurationService.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/configuration/DefaultConfigurationService.java?rev=280571&r1=280570&r2=280571&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/configuration/DefaultConfigurationService.java
(original)
+++ maven/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/configuration/DefaultConfigurationService.java
Tue Sep 13 07:48:27 2005
@@ -274,6 +274,16 @@
         {
             configuration.addChild( createDom( CONFIGURATION_COMPANY_LOGO, companyLogoUrl
) );
         }
+
+        if ( companyName != null )
+        {
+            configuration.addChild( createDom( CONFIGURATION_COMPANY_NAME, companyName )
);
+        }
+
+        if ( companyUrl != null )
+        {
+            configuration.addChild( createDom( CONFIGURATION_COMPANY_URL, companyUrl ) );
+        }
     }
 
     protected Xpp3Dom createDom( String elementName, String value )



Mime
View raw message