]> source.dussan.org Git - archiva.git/commitdiff
mark internal class as final
authorOlivier Lamy <olamy@apache.org>
Mon, 31 Dec 2012 09:29:03 +0000 (09:29 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 31 Dec 2012 09:29:03 +0000 (09:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427058 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java
archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/Maven2RepositoryStorage.java

index bc83da4c926190300270cc86e2af3ecdb8fffff5..fdb934e14e63a5f5786d2a62862cd2a69a1f8bcb 100644 (file)
@@ -236,14 +236,14 @@ public class DownloadRemoteIndexTask
     }
 
 
-    public static class DownloadListener
+    private static final class DownloadListener
         implements TransferListener
     {
         private Logger log = LoggerFactory.getLogger( getClass() );
 
-        String resourceName;
+        private String resourceName;
 
-        long startTime;
+        private long startTime;
 
         public void transferInitiated( TransferEvent transferEvent )
         {
index eaf2c10b0ed7d8a78d9a55d08e71de7bd35d1dab..970735f62c3da2f6297fec81a487d5609eba0456 100644 (file)
@@ -891,7 +891,7 @@ public class Maven2RepositoryStorage
         }
     }
 
-    private static class PomFilenameFilter
+    private static final class PomFilenameFilter
         implements FilenameFilter
     {