mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polish Javadoc for ConcurrentReferenceHashMap
Issue: SPR-9796
This commit is contained in:
+1
-1
@@ -114,7 +114,7 @@ public class ConcurrentReferenceHashMapTests {
|
||||
public void shouldNeedNonNegativeInitialCapacity() throws Exception {
|
||||
new ConcurrentReferenceHashMap<Integer, String>(0, 1);
|
||||
this.thrown.expect(IllegalArgumentException.class);
|
||||
this.thrown.expectMessage("InitialCapactity must not be negative");
|
||||
this.thrown.expectMessage("InitialCapacity must not be negative");
|
||||
new TestWeakConcurrentCache<Integer, String>(-1, 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user