Fix Findbugs warnings
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 14 Jan 2011 14:01:38 +0000 (14:01 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 14 Jan 2011 14:01:38 +0000 (14:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1059012 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/ha/deploy/WarWatcher.java

index 307fac6..3c63722 100644 (file)
@@ -157,7 +157,7 @@ public class WarWatcher {
     /**
      * File name filter for war files
      */
-    protected class WarFilter implements java.io.FilenameFilter {
+    protected static class WarFilter implements java.io.FilenameFilter {
         @Override
         public boolean accept(File path, String name) {
             if (name == null)
@@ -169,7 +169,7 @@ public class WarWatcher {
     /**
      * File information on existing WAR files
      */
-    protected class WarInfo {
+    protected static class WarInfo {
         protected File war = null;
 
         protected long lastChecked = 0;