← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 14445: Reverted r 14443

 

------------------------------------------------------------
revno: 14445
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2014-03-26 17:33:11 +0100
message:
  Reverted r 14443
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/QueryItem.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-api/src/main/java/org/hisp/dhis/common/QueryItem.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/QueryItem.java	2014-03-26 15:52:20 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/QueryItem.java	2014-03-26 16:33:11 +0000
@@ -58,11 +58,7 @@
 
     private String filter;
 
-    // -------------------------------------------------------------------------
-    // Transient properties
-    // -------------------------------------------------------------------------
-
-    private transient boolean numeric;
+    private boolean numeric;
 
     // -------------------------------------------------------------------------
     // Constructors
@@ -73,13 +69,6 @@
         this.item = item;
     }
     
-    public QueryItem( IdentifiableObject item, String operator, String filter )
-    {
-        this.item = item;
-        this.operator = operator;
-        this.filter = filter;
-    }
-
     public QueryItem( IdentifiableObject item, String operator, String filter, boolean numeric )
     {
         this.item = item;
@@ -151,7 +140,7 @@
         
         for ( IdentifiableObject object : objects )
         {
-            queryItems.add( new QueryItem( object, null, null ) );
+            queryItems.add( new QueryItem( object, null, null, false ) );
         }
         
         return queryItems;