From: Olivier Lamy Date: Mon, 31 Dec 2012 09:29:03 +0000 (+0000) Subject: mark internal class as final X-Git-Tag: archiva-1.4-M4~344 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c81c17b1531b81c893d4034495dac4a1258c4bb5;p=archiva.git mark internal class as final git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427058 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java index bc83da4c9..fdb934e14 100644 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java +++ b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java @@ -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 ) { diff --git a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/Maven2RepositoryStorage.java b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/Maven2RepositoryStorage.java index eaf2c10b0..970735f62 100644 --- a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/Maven2RepositoryStorage.java +++ b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/Maven2RepositoryStorage.java @@ -891,7 +891,7 @@ public class Maven2RepositoryStorage } } - private static class PomFilenameFilter + private static final class PomFilenameFilter implements FilenameFilter {