Clean up warnings in spring-core
This commit is contained in:
parent
7e2726f400
commit
8874427cf4
|
@ -126,6 +126,7 @@ public abstract class AnnotationUtils {
|
|||
private static final Map<Class<?>, Set<Method>> annotatedBaseTypeCache =
|
||||
new ConcurrentReferenceHashMap<>(256);
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
@Deprecated // just here for older tool versions trying to reflectively clear the cache
|
||||
private static final Map<Class<?>, ?> annotatedInterfaceCache = annotatedBaseTypeCache;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2017 the original author or authors.
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -21,7 +21,6 @@ import java.util.concurrent.CompletionStage;
|
|||
import java.util.concurrent.ExecutionException;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.concurrent.TimeoutException;
|
||||
import java.util.function.BiConsumer;
|
||||
|
||||
/**
|
||||
* Adapts a {@link CompletableFuture} or {@link CompletionStage} into a
|
||||
|
|
Loading…
Reference in New Issue