incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r533228 - /incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/ViewHandlerImpl.java
Date Fri, 27 Apr 2007 21:22:23 GMT
Author: awiner
Date: Fri Apr 27 14:22:23 2007
New Revision: 533228

URL: http://svn.apache.org/viewvc?view=rev&rev=533228
Log:
Only log that CHECK_FILE_MODIFICATION is in use when it really is

Modified:
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/ViewHandlerImpl.java

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/ViewHandlerImpl.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/ViewHandlerImpl.java?view=diff&rev=533228&r1=533227&r2=533228
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/ViewHandlerImpl.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/application/ViewHandlerImpl.java
Fri Apr 27 14:22:23 2007
@@ -347,12 +347,14 @@
         context.getExternalContext().getInitParameter(_CHECK_TIMESTAMP_PARAM);
       // Detect when we're running inside of the JDeveloper embedded OC4J
       // environment - and there, always use timestamp checking
+      // TODO: come up with a non-proprietary way of checking this?
       boolean performCheck = "true".equals(checkTimestamp) ||
-        "development".equals(System.getProperty("oracle.application.environment")); // bug
4564938
+        "development".equals(System.getProperty("oracle.application.environment"));
       _checkTimestamp = Boolean.valueOf(performCheck);
-      if (_LOG.isInfo() && _checkTimestamp.booleanValue())
+      if ("true".equals(checkTimestamp))
       {
-        _LOG.info("TIMESTAMP_CHECKING_ENABLED_SHOULDNOT_IN_PRODUCTION", _CHECK_TIMESTAMP_PARAM);
+        _LOG.info("TIMESTAMP_CHECKING_ENABLED_SHOULDNOT_IN_PRODUCTION",
+                  _CHECK_TIMESTAMP_PARAM);
       }
     }
 



Mime
View raw message