From a5893595263b5c3a422b63046a64abccab2309d1 Mon Sep 17 00:00:00 2001 From: markt Date: Wed, 19 Jan 2011 11:39:06 +0000 Subject: [PATCH] Findbugs git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1060772 13f79535-47bb-0310-9956-ffa450edef68 --- res/findbugs/filter-post-7.0.x-fixes.xml | 10 +++++++++- webapps/examples/WEB-INF/classes/async/Stockticker.java | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/res/findbugs/filter-post-7.0.x-fixes.xml b/res/findbugs/filter-post-7.0.x-fixes.xml index 015dcad59..84d2a5030 100644 --- a/res/findbugs/filter-post-7.0.x-fixes.xml +++ b/res/findbugs/filter-post-7.0.x-fixes.xml @@ -38,10 +38,18 @@ - + + + + + + + + + \ No newline at end of file diff --git a/webapps/examples/WEB-INF/classes/async/Stockticker.java b/webapps/examples/WEB-INF/classes/async/Stockticker.java index efe404ccb..889d06f59 100644 --- a/webapps/examples/WEB-INF/classes/async/Stockticker.java +++ b/webapps/examples/WEB-INF/classes/async/Stockticker.java @@ -99,7 +99,7 @@ public class Stockticker implements Runnable { public void tick(Stock stock); } - public static class Stock { + public static final class Stock implements Cloneable { protected static DecimalFormat df = new DecimalFormat("0.00"); protected String symbol = ""; protected double value = 0.0d; -- 2.11.0