dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #28804
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 14443: Minor
------------------------------------------------------------
revno: 14443
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2014-03-26 16:52:20 +0100
message:
Minor
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-18 14:54:13 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/QueryItem.java 2014-03-26 15:52:20 +0000
@@ -57,8 +57,12 @@
private String operator;
private String filter;
-
- private boolean numeric;
+
+ // -------------------------------------------------------------------------
+ // Transient properties
+ // -------------------------------------------------------------------------
+
+ private transient boolean numeric;
// -------------------------------------------------------------------------
// Constructors
@@ -69,6 +73,13 @@
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;
@@ -140,7 +151,7 @@
for ( IdentifiableObject object : objects )
{
- queryItems.add( new QueryItem( object, null, null, false ) );
+ queryItems.add( new QueryItem( object, null, null ) );
}
return queryItems;