← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18514: Analytics, removed unused property

 

------------------------------------------------------------
revno: 18514
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2015-03-06 17:20:04 +0100
message:
  Analytics, removed unused property
modified:
  dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/DataQueryParams.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-analytics/src/main/java/org/hisp/dhis/analytics/DataQueryParams.java'
--- dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/DataQueryParams.java	2015-03-04 18:36:19 +0000
+++ dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/DataQueryParams.java	2015-03-06 16:20:04 +0000
@@ -183,14 +183,9 @@
     private transient boolean skipPartitioning;
     
     /**
-     * Organisation units which were explicitly part of the original request.
-     */
-    private List<OrganisationUnit> organisationUnits = new ArrayList<>();
-
-    /**
      * Mapping of organisation unit sub-hierarchy roots and lowest available data approval levels.
      */
-    private Map<OrganisationUnit, Integer> dataApprovalLevels = new HashMap<>();
+    private transient Map<OrganisationUnit, Integer> dataApprovalLevels = new HashMap<>();
     
     // -------------------------------------------------------------------------
     // Constructors
@@ -218,7 +213,6 @@
         params.periodType = this.periodType;
         params.dataPeriodType = this.dataPeriodType;
         params.skipPartitioning = this.skipPartitioning;
-        params.organisationUnits = new ArrayList<>( this.organisationUnits );
         params.dataApprovalLevels = new HashMap<>( this.dataApprovalLevels );
         params.displayProperty = this.displayProperty;