@@ -50,15 +50,15 @@ public void testMatchesListWhenSizeIsCorrectUsingObjectElementType() {
5050 }
5151
5252 public void testMatchesListWhenSizeIsCorrectUsingStringElementType () {
53- Map <String , Integer > list = mapWithKeys ("a" , "b" );
54- assertMatches ("correct size" , aMapWithSize (equalTo (2 )), list );
55- assertDoesNotMatch ("incorrect size" , aMapWithSize (equalTo (3 )), list );
53+ Map <String , Integer > map = mapWithKeys ("a" , "b" );
54+ assertMatches ("correct size" , aMapWithSize (equalTo (2 )), map );
55+ assertDoesNotMatch ("incorrect size" , aMapWithSize (equalTo (3 )), map );
5656 }
5757
5858 public void testMatchesListWhenSizeIsCorrectUsingWildcardElementType () {
59- Map <?, ?> list = mapWithKeys ("a" , "b" );
60- assertMatches ("correct size" , aMapWithSize (equalTo (2 )), list );
61- assertDoesNotMatch ("incorrect size" , aMapWithSize (equalTo (3 )), list );
59+ Map <?, ?> map = mapWithKeys ("a" , "b" );
60+ assertMatches ("correct size" , aMapWithSize (equalTo (2 )), map );
61+ assertDoesNotMatch ("incorrect size" , aMapWithSize (equalTo (3 )), map );
6262 }
6363
6464 public void testProvidesConvenientShortcutForHasSizeEqualTo () {
0 commit comments