From: markt Date: Tue, 1 Mar 2011 09:33:57 +0000 (+0000) Subject: Clear remainder of current FindBugs issues in unit tests X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=604818c78b71adb2de81ccf8873f42b034a452e3;p=tomcat7.0 Clear remainder of current FindBugs issues in unit tests git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1075742 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/res/findbugs/filter-false-positives.xml b/res/findbugs/filter-false-positives.xml index 886ff61ea..92b4e4185 100644 --- a/res/findbugs/filter-false-positives.xml +++ b/res/findbugs/filter-false-positives.xml @@ -217,6 +217,15 @@ + + + + + + + + + @@ -226,6 +235,23 @@ + + + + + + + + + + + + + + + + + diff --git a/test/org/apache/catalina/tribes/demos/CoordinationDemo.java b/test/org/apache/catalina/tribes/demos/CoordinationDemo.java index 0bc00e1f1..504c0e10e 100644 --- a/test/org/apache/catalina/tribes/demos/CoordinationDemo.java +++ b/test/org/apache/catalina/tribes/demos/CoordinationDemo.java @@ -113,7 +113,12 @@ public class CoordinationDemo { for ( int i=0; i= 1 && (!"quit".equalsIgnoreCase(args[0]))) { if ("start".equalsIgnoreCase(args[0])) { cmdStart(args); @@ -123,7 +128,9 @@ public class CoordinationDemo { } printScreen(); l = reader.readLine(); - args = tokenize(l); + if (l != null) { + args = tokenize(l); + } } for ( int i=0; i