roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r405850 - in /incubator/roller/trunk/src/org/apache/roller/presentation/website: actions/WebsiteFormAction.java formbeans/WebsiteFormEx.java
Date Fri, 12 May 2006 19:58:25 GMT
Author: snoopdave
Date: Fri May 12 12:58:24 2006
New Revision: 405850

URL: http://svn.apache.org/viewcvs?rev=405850&view=rev
Log:
JDK1.5 vs 1.4 issue

Modified:
    incubator/roller/trunk/src/org/apache/roller/presentation/website/actions/WebsiteFormAction.java
    incubator/roller/trunk/src/org/apache/roller/presentation/website/formbeans/WebsiteFormEx.java

Modified: incubator/roller/trunk/src/org/apache/roller/presentation/website/actions/WebsiteFormAction.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/apache/roller/presentation/website/actions/WebsiteFormAction.java?rev=405850&r1=405849&r2=405850&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/presentation/website/actions/WebsiteFormAction.java
(original)
+++ incubator/roller/trunk/src/org/apache/roller/presentation/website/actions/WebsiteFormAction.java
Fri May 12 12:58:24 2006
@@ -177,7 +177,7 @@
                     umgr.saveWebsite(wd);  
                     
                     // ROL-1050: apply comment defaults to existing entries
-                    if (form.getApplyCommentDefaults()) {
+                    if (form.getApplyCommentDefaults() != null && form.getApplyCommentDefaults().booleanValue())
{
                         wmgr.applyCommentDefaultsToEntries(wd);
                     }
 

Modified: incubator/roller/trunk/src/org/apache/roller/presentation/website/formbeans/WebsiteFormEx.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/apache/roller/presentation/website/formbeans/WebsiteFormEx.java?rev=405850&r1=405849&r2=405850&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/presentation/website/formbeans/WebsiteFormEx.java
(original)
+++ incubator/roller/trunk/src/org/apache/roller/presentation/website/formbeans/WebsiteFormEx.java
Fri May 12 12:58:24 2006
@@ -38,7 +38,7 @@
     private String bloggerCategoryId;
     private String defaultCategoryId;
     private String[] defaultPluginsArray;
-    private Boolean applyCommentDefaults = false;
+    private Boolean applyCommentDefaults = Boolean.FALSE;
     
     /**
      * @return Returns the bloggerCategoryId.
@@ -183,7 +183,7 @@
             javax.servlet.ServletRequest request) {
         doReset(mapping, request);
         defaultPluginsArray = new String[0];
-        applyCommentDefaults = false;
+        applyCommentDefaults = Boolean.FALSE;
     }
     
     public void reset(
@@ -191,7 +191,7 @@
             javax.servlet.http.HttpServletRequest request) {
         doReset(mapping, request);
         defaultPluginsArray = new String[0];
-        applyCommentDefaults = false;
+        applyCommentDefaults = Boolean.FALSE;
     }
     
 }



Mime
View raw message