From 2f3a55d0d5bda4843070dd59a7adc27b40ba87fd Mon Sep 17 00:00:00 2001 From: Maurizio Cucchiara Date: Tue, 25 Oct 2011 23:12:56 +0000 Subject: [PATCH] Changed return type to checked conversion git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1188962 13f79535-47bb-0310-9956-ffa450edef68 --- .../struts2/views/jsp/ui/CheckboxListTest.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/core/src/test/java/org/apache/struts2/views/jsp/ui/CheckboxListTest.java b/core/src/test/java/org/apache/struts2/views/jsp/ui/CheckboxListTest.java index a384d25e3..3b45fe52c 100644 --- a/core/src/test/java/org/apache/struts2/views/jsp/ui/CheckboxListTest.java +++ b/core/src/test/java/org/apache/struts2/views/jsp/ui/CheckboxListTest.java @@ -21,13 +21,13 @@ package org.apache.struts2.views.jsp.ui; +import org.apache.struts2.TestAction; +import org.apache.struts2.views.jsp.AbstractUITagTest; + import java.util.ArrayList; import java.util.Collection; import java.util.Map; -import org.apache.struts2.TestAction; -import org.apache.struts2.views.jsp.AbstractUITagTest; - /** * Test case for CheckboxList. @@ -43,8 +43,8 @@ public class CheckboxListTest extends AbstractUITagTest { * @return A Map of PropertyHolders values bound to {@link org.apache.struts2.views.jsp.AbstractUITagTest.PropertyHolder#getName()} * as key. */ - protected Map initializedGenericTagTestProperties() { - Map result = super.initializedGenericTagTestProperties(); + protected Map initializedGenericTagTestProperties() { + Map result = super.initializedGenericTagTestProperties(); new PropertyHolder("value", "hello").addToMap(result); return result; } @@ -63,7 +63,7 @@ public class CheckboxListTest extends AbstractUITagTest { private void prepareTagGeneric(CheckboxListTag tag) { TestAction testAction = (TestAction) action; - Collection collection = new ArrayList(2); + Collection collection = new ArrayList(2); collection.add("hello"); collection.add("foo"); testAction.setCollection(collection); @@ -79,7 +79,7 @@ public class CheckboxListTest extends AbstractUITagTest { public void testMultiple() throws Exception { TestAction testAction = (TestAction) action; - Collection collection = new ArrayList(2); + Collection collection = new ArrayList(2); collection.add("hello"); collection.add("foo"); testAction.setCollection(collection); @@ -105,7 +105,7 @@ public class CheckboxListTest extends AbstractUITagTest { public void testMultipleWithDisabledOn() throws Exception { TestAction testAction = (TestAction) action; - Collection collection = new ArrayList(2); + Collection collection = new ArrayList(2); collection.add("hello"); collection.add("foo"); testAction.setCollection(collection);