Fix Eclipse warning in webapps
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 17 May 2010 17:38:35 +0000 (17:38 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 17 May 2010 17:38:35 +0000 (17:38 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@945265 13f79535-47bb-0310-9956-ffa450edef68

webapps/examples/WEB-INF/classes/async/Stockticker.java

index b99fe4b..f61402c 100644 (file)
@@ -157,9 +157,9 @@ public class Stockticker implements Runnable {
         public boolean equals(Object other) {
             if (other instanceof Stock) {
                 return this.symbol.equals(((Stock) other).symbol);
-            } else {
-                return false;
             }
+            
+            return false;
         }
 
         @Override