roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r596807 - /roller/trunk/sandbox/scripting/groovy/examples/rollerapi/createblog.gy
Date Tue, 20 Nov 2007 20:08:05 GMT
Author: snoopdave
Date: Tue Nov 20 12:08:05 2007
New Revision: 596807

URL: http://svn.apache.org/viewvc?rev=596807&view=rev
Log:
Code reformat, no substantive change (and it's in sandbox, so no impact on release)

Modified:
    roller/trunk/sandbox/scripting/groovy/examples/rollerapi/createblog.gy

Modified: roller/trunk/sandbox/scripting/groovy/examples/rollerapi/createblog.gy
URL: http://svn.apache.org/viewvc/roller/trunk/sandbox/scripting/groovy/examples/rollerapi/createblog.gy?rev=596807&r1=596806&r2=596807&view=diff
==============================================================================
--- roller/trunk/sandbox/scripting/groovy/examples/rollerapi/createblog.gy (original)
+++ roller/trunk/sandbox/scripting/groovy/examples/rollerapi/createblog.gy Tue Nov 20 12:08:05
2007
@@ -37,18 +37,12 @@
     println "ERROR: user ${username} not found";
     System.exit(-1);
 } 
-website = new org.apache.roller.weblogger.pojos.Weblog(
-   handle, 
-   user,
-   blogname,
-   description,
-   user.getEmailAddress(),
-   user.getEmailAddress(),
-   theme,
-   user.getLocale(),
-   user.getTimeZone());
+weblog = new org.apache.roller.weblogger.pojos.Weblog(
+   handle, user, blogname, description,
+   user.getEmailAddress(), user.getEmailAddress(), theme,
+   user.getLocale(), user.getTimeZone());
 try {
-   roller.getUserManager().addWebsite(website);
+   roller.getUserManager().addWebsite(weblog);
    roller.flush();
 } catch (Exception e) {
    e.printStackTrace();



Mime
View raw message