Polish Javadoc for ConcurrentReferenceHashMap

Issue: SPR-9796
This commit is contained in:
Sam Brannen
2012-11-04 14:45:33 +01:00
committed by Chris Beams
parent d087e7fe0b
commit dc0a0df8d6
2 changed files with 20 additions and 19 deletions

View File

@@ -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);
}