roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r474484 - /incubator/roller/trunk/sandbox/planetroller/src/org/apache/roller/planet/ui/forms/RegistrationForm.java
Date Mon, 13 Nov 2006 20:13:24 GMT
Author: snoopdave
Date: Mon Nov 13 12:13:23 2006
New Revision: 474484

URL: http://svn.apache.org/viewvc?view=rev&rev=474484
Log:
Need to stay JDK 1.4.2 compatible

Modified:
    incubator/roller/trunk/sandbox/planetroller/src/org/apache/roller/planet/ui/forms/RegistrationForm.java

Modified: incubator/roller/trunk/sandbox/planetroller/src/org/apache/roller/planet/ui/forms/RegistrationForm.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/sandbox/planetroller/src/org/apache/roller/planet/ui/forms/RegistrationForm.java?view=diff&rev=474484&r1=474483&r2=474484
==============================================================================
--- incubator/roller/trunk/sandbox/planetroller/src/org/apache/roller/planet/ui/forms/RegistrationForm.java
(original)
+++ incubator/roller/trunk/sandbox/planetroller/src/org/apache/roller/planet/ui/forms/RegistrationForm.java
Mon Nov 13 12:13:23 2006
@@ -98,7 +98,7 @@
                       
         PlanetManager pmgr = PlanetFactory.getPlanet().getPlanetManager();
         PlanetConfigData config = pmgr.getConfiguration();
-        String subject = MessageFormat.format(bundle.getString("regSubject"), config.getSiteURL());
+        String subject = MessageFormat.format(bundle.getString("regSubject"), new Object[]
{config.getSiteURL()});
         String content = sb.toString();
         String adminEmail = config.getAdminEmail();            
         Context ctx = (Context)new InitialContext().lookup("java:comp/env");



Mime
View raw message