struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@apache.org
Subject svn commit: r278553 - /struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ComponentConfigBean.java
Date Sun, 04 Sep 2005 03:24:35 GMT
Author: craigmcc
Date: Sat Sep  3 20:24:31 2005
New Revision: 278553

URL: http://svn.apache.org/viewcvs?rev=278553&view=rev
Log:
Replace a 1.5 only construct with equivalent code that works on 1.4.

Modified:
    struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ComponentConfigBean.java

Modified: struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ComponentConfigBean.java
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ComponentConfigBean.java?rev=278553&r1=278552&r2=278553&view=diff
==============================================================================
--- struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ComponentConfigBean.java
(original)
+++ struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ComponentConfigBean.java
Sat Sep  3 20:24:31 2005
@@ -117,7 +117,7 @@
         String autoReloadClayFiles = (String) context.getInitParameter(Globals.AUTO_RELOAD_CLAY_FILES);
         if (autoReloadClayFiles != null) {
             try {
-                isWatchDogOn = Boolean.parseBoolean(autoReloadClayFiles);
+                isWatchDogOn = Boolean.valueOf(autoReloadClayFiles).booleanValue();
             } catch (RuntimeException e) {
             }
             



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message