diff options
author | Olivier Lamy <olamy@apache.org> | 2012-12-31 09:29:03 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-12-31 09:29:03 +0000 |
commit | c81c17b1531b81c893d4034495dac4a1258c4bb5 (patch) | |
tree | a10df16add80dab0381e91d54cae0bd76065d3d2 | |
parent | 5fd9dbe55f833142bf0dd5fbfe4d419afb12e4a7 (diff) | |
download | archiva-c81c17b1531b81c893d4034495dac4a1258c4bb5.tar.gz archiva-c81c17b1531b81c893d4034495dac4a1258c4bb5.zip |
mark internal class as final
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427058 13f79535-47bb-0310-9956-ffa450edef68
2 files changed, 4 insertions, 4 deletions
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 { |