Remove redundant assignment of default values to volatile fields

This commit is contained in:
Сергей Цыпанов
2020-06-17 10:48:00 +03:00
committed by Juergen Hoeller
parent 8099fc8178
commit 7949937655
37 changed files with 69 additions and 69 deletions

View File

@@ -428,7 +428,7 @@ public abstract class MimeTypeUtils {
private final Function<K, V> generator;
private volatile int size = 0;
private volatile int size;
public ConcurrentLruCache(int maxSize, Function<K, V> generator) {
Assert.isTrue(maxSize > 0, "LRU max size should be positive");