Remove redundant assignment of default values to volatile fields
This commit is contained in:
committed by
Juergen Hoeller
parent
8099fc8178
commit
7949937655
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user