diff options
author | Martin Stockhammer <martin_s@apache.org> | 2018-04-08 21:06:49 +0200 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2018-04-08 21:06:49 +0200 |
commit | ec8e6600cee1af3952cabed8cba85631d5cfcdf9 (patch) | |
tree | f632e295ab810b4a2746a9987c33dc8a41bcdf81 /archiva-modules/archiva-scheduler | |
parent | 4175f2c2d7b85e14ef42ec0a40f89014c4ecd537 (diff) | |
download | archiva-ec8e6600cee1af3952cabed8cba85631d5cfcdf9.tar.gz archiva-ec8e6600cee1af3952cabed8cba85631d5cfcdf9.zip |
Reducing compiler warnings and adapting to redback changes
Diffstat (limited to 'archiva-modules/archiva-scheduler')
2 files changed, 2 insertions, 1 deletions
diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/main/java/org/apache/archiva/scheduler/repository/DefaultRepositoryArchivaTaskScheduler.java b/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/main/java/org/apache/archiva/scheduler/repository/DefaultRepositoryArchivaTaskScheduler.java index 18c775e57..4da5b23b7 100644 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/main/java/org/apache/archiva/scheduler/repository/DefaultRepositoryArchivaTaskScheduler.java +++ b/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/main/java/org/apache/archiva/scheduler/repository/DefaultRepositoryArchivaTaskScheduler.java @@ -73,7 +73,7 @@ public class DefaultRepositoryArchivaTaskScheduler @Inject @Named( value = "taskQueue#repository-scanning" ) - private TaskQueue repositoryScanningQueue; + private TaskQueue<RepositoryTask> repositoryScanningQueue; @Inject private ArchivaConfiguration archivaConfiguration; diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/main/java/org/apache/archiva/scheduler/repository/RepositoryTaskJob.java b/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/main/java/org/apache/archiva/scheduler/repository/RepositoryTaskJob.java index 92e5131db..6f97495f2 100644 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/main/java/org/apache/archiva/scheduler/repository/RepositoryTaskJob.java +++ b/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/main/java/org/apache/archiva/scheduler/repository/RepositoryTaskJob.java @@ -39,6 +39,7 @@ public class RepositoryTaskJob * @param context * @throws org.quartz.JobExecutionException */ + @SuppressWarnings( "unchecked" ) @Override public void execute( JobExecutionContext context ) throws JobExecutionException |