From c81c17b1531b81c893d4034495dac4a1258c4bb5 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 31 Dec 2012 09:29:03 +0000 Subject: [PATCH] mark internal class as final git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427058 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva/scheduler/indexing/DownloadRemoteIndexTask.java | 6 +++--- .../repository/storage/maven2/Maven2RepositoryStorage.java | 2 +- 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 { -- 2.39.5