dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #11509
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3294: Instantiating lists in DataSetList
------------------------------------------------------------
revno: 3294
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2011-04-06 11:32:07 +0200
message:
Instantiating lists in DataSetList
modified:
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/web/api/model/DataSetList.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-web/dhis-web-api/src/main/java/org/hisp/dhis/web/api/model/DataSetList.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/web/api/model/DataSetList.java 2011-01-12 09:13:36 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/web/api/model/DataSetList.java 2011-04-06 09:32:07 +0000
@@ -37,13 +37,13 @@
extends Model
implements DataStreamSerializable
{
- private List<DataSet> addedDataSets;
-
- private List<DataSet> deletedDataSets;
-
- private List<DataSet> modifiedDataSets;
-
- private List<DataSet> currentDataSets;
+ private List<DataSet> addedDataSets = new ArrayList<DataSet>();
+
+ private List<DataSet> deletedDataSets = new ArrayList<DataSet>();
+
+ private List<DataSet> modifiedDataSets = new ArrayList<DataSet>();
+
+ private List<DataSet> currentDataSets = new ArrayList<DataSet>();
public DataSetList()
{