dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #15913
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5878: Fixed compilation error
------------------------------------------------------------
revno: 5878
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-02-07 19:50:24 +0100
message:
Fixed compilation error
modified:
dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/option/OptionServiceTest.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/option/OptionServiceTest.java'
--- dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/option/OptionServiceTest.java 2012-02-03 08:17:56 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/option/OptionServiceTest.java 2012-02-07 18:50:24 +0000
@@ -27,14 +27,15 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-import java.util.HashSet;
-import java.util.Set;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
+
+import java.util.ArrayList;
+import java.util.List;
import org.hisp.dhis.DhisSpringTest;
import org.junit.Test;
-import static org.junit.Assert.*;
-
/**
* @author Lars Helge Overland
*/
@@ -43,7 +44,7 @@
{
private OptionService optionService;
- private Set<String> options = new HashSet<String>();
+ private List<String> options = new ArrayList<String>();
private OptionSet optionSetA = new OptionSet( "OptionSetA" );
private OptionSet optionSetB = new OptionSet( "OptionSetB" );