tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kfuj...@apache.org
Subject svn commit: r1688166 - /tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/interceptor/SlowQueryReport.java
Date Mon, 29 Jun 2015 09:27:20 GMT
Author: kfujino
Date: Mon Jun 29 09:27:19 2015
New Revision: 1688166

URL: http://svn.apache.org/r1688166
Log:
Ensure that specified Boolean attribute values of SlowQueryReport reflect correctly.
The LogSlow and the logFailed are not system property, these are attributes of SlowQueryReport.

Modified:
    tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/interceptor/SlowQueryReport.java

Modified: tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/interceptor/SlowQueryReport.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/interceptor/SlowQueryReport.java?rev=1688166&r1=1688165&r2=1688166&view=diff
==============================================================================
--- tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/interceptor/SlowQueryReport.java
(original)
+++ tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/interceptor/SlowQueryReport.java
Mon Jun 29 09:27:19 2015
@@ -270,10 +270,10 @@ public class SlowQueryReport extends Abs
             setMaxQueries(Integer.parseInt(p2.getValue()));
         }
         if (p3!=null) {
-            setLogSlow(Boolean.getBoolean(p3.getValue()));
+            setLogSlow(Boolean.parseBoolean(p3.getValue()));
         }
         if (p4!=null) {
-            setLogFailed(Boolean.getBoolean(p4.getValue()));
+            setLogFailed(Boolean.parseBoolean(p4.getValue()));
         }
     }
 



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


Mime
View raw message