← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19806: EventQueryParams, removed unused variable

 

------------------------------------------------------------
revno: 19806
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2015-08-20 12:24:05 -0400
message:
  EventQueryParams, removed unused variable
modified:
  dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/event/EventQueryParams.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/event/EventQueryParams.java'
--- dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/event/EventQueryParams.java	2015-08-07 17:59:15 +0000
+++ dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/event/EventQueryParams.java	2015-08-20 16:24:05 +0000
@@ -68,8 +68,6 @@
     
     private List<QueryItem> itemFilters = new ArrayList<>();
     
-    private String filter;
-    
     private DimensionalObject value;
     
     private List<String> asc = new ArrayList<>();
@@ -123,7 +121,6 @@
         params.endDate = this.endDate;
         params.items = new ArrayList<>( this.items );
         params.itemFilters = new ArrayList<>( this.itemFilters );
-        params.filter = this.filter;
         params.value = this.value;
         params.asc = new ArrayList<>( this.asc );
         params.desc = new ArrayList<>( this.desc );
@@ -421,7 +418,6 @@
             "End date: " + endDate + ", " +
             "Items: " + items + ", " +
             "Item filters: " + itemFilters + ", " +
-            "Filter: " + filter + ", " +
             "Value: " + value + ", " +
             "Aggregation type: " + aggregationType + ", " +
             "Dimensions: " + dimensions + ", " +
@@ -472,16 +468,6 @@
         this.itemFilters = itemFilters;
     }
 
-    public String getFilter()
-    {
-        return filter;
-    }
-
-    public void setFilter( String filter )
-    {
-        this.filter = filter;
-    }
-
     public DimensionalObject getValue()
     {
         return value;