Author: markt Date: Wed Aug 29 21:18:02 2012 New Revision: 1378738 URL: http://svn.apache.org/viewvc?rev=1378738&view=rev Log: Re-organise to silence some FindBugs warnings
Modified: tomcat/trunk/webapps/examples/jsp/plugin/applet/Clock2.java Modified: tomcat/trunk/webapps/examples/jsp/plugin/applet/Clock2.java URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/plugin/applet/Clock2.java?rev=1378738&r1=1378737&r2=1378738&view=diff ============================================================================== --- tomcat/trunk/webapps/examples/jsp/plugin/applet/Clock2.java (original) +++ tomcat/trunk/webapps/examples/jsp/plugin/applet/Clock2.java Wed Aug 29 21:18:02 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) { + // Ignored + } try { handColor = new Color(Integer.parseInt(getParameter("fgcolor1"),16)); - } catch (Exception E) { } + } catch (Exception e) { + // Ignored + } try { numberColor = new Color(Integer.parseInt(getParameter("fgcolor2"),16)); - } catch (Exception E) { } + } catch (Exception e) { + // Ignored + } 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