click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bck...@apache.org
Subject svn commit: r986272 - /click/trunk/click/extras/src/org/apache/click/extras/service/FreemarkerTemplateService.java
Date Tue, 17 Aug 2010 11:42:54 GMT
Author: bckfnn
Date: Tue Aug 17 11:42:54 2010
New Revision: 986272

URL: http://svn.apache.org/viewvc?rev=986272&view=rev
Log:
fix | vs ||. discovered by findbugs.


Modified:
    click/trunk/click/extras/src/org/apache/click/extras/service/FreemarkerTemplateService.java

Modified: click/trunk/click/extras/src/org/apache/click/extras/service/FreemarkerTemplateService.java
URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/org/apache/click/extras/service/FreemarkerTemplateService.java?rev=986272&r1=986271&r2=986272&view=diff
==============================================================================
--- click/trunk/click/extras/src/org/apache/click/extras/service/FreemarkerTemplateService.java
(original)
+++ click/trunk/click/extras/src/org/apache/click/extras/service/FreemarkerTemplateService.java
Tue Aug 17 11:42:54 2010
@@ -181,7 +181,7 @@ public class FreemarkerTemplateService i
         configuration.setTemplateLoader(multiLoader);
 
         // Set the template cache duration in seconds
-        if (configService.isProductionMode() | configService.isProfileMode()) {
+        if (configService.isProductionMode() || configService.isProfileMode()) {
             configuration.setTemplateUpdateDelay(getCacheDuration());
 
         } else {



Mime
View raw message