Author: markt
Date: Thu Oct 18 09:20:30 2012
New Revision: 1399563

URL: http://svn.apache.org/viewvc?rev=1399563&view=rev
Log:
Silence a findbugs warning

Modified:
    tomcat/trunk/webapps/examples/WEB-INF/jsp/applet/Clock2.java

Modified: tomcat/trunk/webapps/examples/WEB-INF/jsp/applet/Clock2.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/jsp/applet/Clock2.java?rev=1399563&r1=1399562&r2=1399563&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/jsp/applet/Clock2.java (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/jsp/applet/Clock2.java Thu Oct 18 
09:20:30 2012
@@ -53,13 +53,19 @@ public class Clock2 extends Applet imple
 
         try {
             setBackground(new 
Color(Integer.parseInt(getParameter("bgcolor"),16)));
-        } catch (Exception E) { }
+        } catch (Exception e) {
+            // Ignore
+        }
         try {
             handColor = new 
Color(Integer.parseInt(getParameter("fgcolor1"),16));
-        } catch (Exception E) { }
+        } catch (Exception e) {
+            // Ignore
+        }
         try {
             numberColor = new 
Color(Integer.parseInt(getParameter("fgcolor2"),16));
-        } catch (Exception E) { }
+        } catch (Exception e) {
+            // Ignore
+        }
         resize(300,300);              // Set clock window size
     }
 



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

Reply via email to