usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From toddn...@apache.org
Subject [21/50] [abbrv] incubator-usergrid git commit: Added logic fix to get rest tests passing. Now the rest tests give me : Tests run: 233, Failures: 19, Errors: 18, Skipped: 47
Date Mon, 01 Jun 2015 21:48:30 GMT
Added logic fix to get rest tests passing. Now the rest tests give me : Tests run: 233, Failures:
19, Errors: 18, Skipped: 47


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/e45728e4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/e45728e4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/e45728e4

Branch: refs/heads/USERGRID-628
Commit: e45728e402f30214c46f4c7b5c61952ea2a9542d
Parents: ceadc6c
Author: GERey <greyes@apigee.com>
Authored: Thu May 28 12:18:27 2015 -0700
Committer: GERey <greyes@apigee.com>
Committed: Thu May 28 12:18:27 2015 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/usergrid/persistence/Query.java   | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/e45728e4/stack/core/src/main/java/org/apache/usergrid/persistence/Query.java
----------------------------------------------------------------------
diff --git a/stack/core/src/main/java/org/apache/usergrid/persistence/Query.java b/stack/core/src/main/java/org/apache/usergrid/persistence/Query.java
index 4b655bd..a4cccbc 100644
--- a/stack/core/src/main/java/org/apache/usergrid/persistence/Query.java
+++ b/stack/core/src/main/java/org/apache/usergrid/persistence/Query.java
@@ -338,7 +338,11 @@ public class Query {
      * @return
      */
     public boolean hasSelectSubjects() {
-        return this.selectFields != null || this.selectFields.size() > 0;
+        if ( this.selectFields != null )
+            if ( this.selectFields.size()>0 )
+                return true;
+
+        return false;
     }
 
 


Mime
View raw message