Author: markt
Date: Thu Jul 6 09:31:38 2017
New Revision: 1801005
URL: http://svn.apache.org/viewvc?rev=1801005&view=rev
Log:
Use '&&' rather than '&'.
Identified by FindBugs
Modified:
tomcat/tc8.0.x/trunk/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java
Modified:
tomcat/tc8.0.x/trunk/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java
URL:
http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java?rev=1801005&r1=1801004&r2=1801005&view=diff
==============================================================================
---
tomcat/tc8.0.x/trunk/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java
(original)
+++
tomcat/tc8.0.x/trunk/java/org/apache/catalina/core/JreMemoryLeakPreventionListener.java
Thu Jul 6 09:31:38 2017
@@ -467,7 +467,7 @@ public class JreMemoryLeakPreventionList
/*
* Present in Java 8 onwards
*/
- if (forkJoinCommonPoolProtection &
JreCompat.isJre8Available()) {
+ if (forkJoinCommonPoolProtection &&
JreCompat.isJre8Available()) {
// Don't override any explicitly set property
if
(System.getProperty(FORK_JOIN_POOL_THREAD_FACTORY_PROPERTY) == null) {
System.setProperty(FORK_JOIN_POOL_THREAD_FACTORY_PROPERTY,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]