Found by FindBugs. startService() and stopService() both return boolean, so it
is likely that the '&' is a typo and '&&' was meant.
---
 .../tribes/membership/McastServiceImpl.java        |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/java/org/apache/catalina/tribes/membership/McastServiceImpl.java 
b/java/org/apache/catalina/tribes/membership/McastServiceImpl.java
index 8569ed4..5e59700 100644
--- a/java/org/apache/catalina/tribes/membership/McastServiceImpl.java
+++ b/java/org/apache/catalina/tribes/membership/McastServiceImpl.java
@@ -631,7 +631,7 @@ public class McastServiceImpl
                 while (!success) {
                     if(log.isInfoEnabled())
                         log.info("Tribes membership, running recovery thread, 
multicasting is not functional.");
-                    if (stopService() & startService()) {
+                    if (stopService() && startService()) {
                         success = true;
                         if(log.isInfoEnabled())
                             log.info("Membership recovery was successful.");
-- 
1.7.6.1


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

Reply via email to