@@ -267,7 +267,7 @@ protected Object putIfAbsent(final String key, final Object value) {
267267 }
268268
269269 @ Test
270- public void testBeanMapClone () {
270+ void testBeanMapClone () {
271271 final BeanMap map = (BeanMap ) makeFullMap ();
272272 try {
273273 final BeanMap map2 = (BeanMap ) map .clone ();
@@ -284,7 +284,7 @@ public void testBeanMapClone() {
284284 }
285285
286286 @ Test
287- public void testBeanMapPutAllWriteable () {
287+ void testBeanMapPutAllWriteable () {
288288 final BeanMap map1 = (BeanMap ) makeFullMap ();
289289 final BeanMap map2 = (BeanMap ) makeFullMap ();
290290 map2 .put ("someIntValue" , Integer .valueOf (0 ));
@@ -296,7 +296,7 @@ public void testBeanMapPutAllWriteable() {
296296 * Test that the cause of exception thrown by clear() is initialized.
297297 */
298298 @ Test
299- public void testExceptionThrowFromClear () {
299+ void testExceptionThrowFromClear () {
300300 try {
301301 final Object bean = Jira87BeanFactory .createMappedPropertyBean ();
302302 final BeanMap map = new BeanMap (bean );
@@ -318,7 +318,7 @@ public void testExceptionThrowFromClear() {
318318 * Test that the cause of exception thrown by a clone() is initialized.
319319 */
320320 @ Test
321- public void testExceptionThrowFromClone () {
321+ void testExceptionThrowFromClone () {
322322 // Test cloning a non-public bean (instantiation exception)
323323 try {
324324 final Object bean = Jira87BeanFactory .createMappedPropertyBean ();
@@ -357,7 +357,7 @@ public void testExceptionThrowFromClone() {
357357 * Test that the cause of exception thrown by put() is initialized.
358358 */
359359 @ Test
360- public void testExceptionThrowFromPut () {
360+ void testExceptionThrowFromPut () {
361361 try {
362362 final Map <String , Object > map = new BeanMap (new BeanThrowingExceptions ());
363363 map .put ("valueThrowingException" , "value" );
@@ -382,7 +382,7 @@ public void testExceptionThrowFromPut() {
382382 * Test the default transformers using the getTypeTransformer() method
383383 */
384384 @ Test
385- public void testGetTypeTransformerMethod () {
385+ void testGetTypeTransformerMethod () {
386386 final BeanMap beanMap = new BeanMap ();
387387 assertEquals (Boolean .TRUE , beanMap .getTypeTransformer (Boolean .TYPE ).apply ("true" ), "Boolean.TYPE" );
388388 assertEquals (Character .valueOf ('B' ), beanMap .getTypeTransformer (Character .TYPE ).apply ("BCD" ), "Character.TYPE" );
@@ -416,14 +416,14 @@ public void testMapPut() {
416416 }
417417
418418 @ Test
419- public void testMethodAccessor () throws Exception {
419+ void testMethodAccessor () throws Exception {
420420 final BeanMap map = (BeanMap ) makeFullMap ();
421421 final Method method = BeanWithProperties .class .getDeclaredMethod ("getSomeIntegerValue" );
422422 assertEquals (method , map .getReadMethod ("someIntegerValue" ));
423423 }
424424
425425 @ Test
426- public void testMethodMutator () throws Exception {
426+ void testMethodMutator () throws Exception {
427427 final BeanMap map = (BeanMap ) makeFullMap ();
428428 final Method method = BeanWithProperties .class .getDeclaredMethod ("setSomeIntegerValue" , Integer .class );
429429 assertEquals (method , map .getWriteMethod ("someIntegerValue" ));
0 commit comments