commit | 2b3a0ad83e8c93deb84015548a1a94414bc5f870 | [log] [tgz] |
---|---|---|
author | Sebastian Schuberth <sschuberth@gmail.com> | Fri Mar 11 12:01:38 2016 +0100 |
committer | Sebastian Schuberth <sschuberth@gmail.com> | Fri Mar 11 12:24:37 2016 +0100 |
tree | 7cbcad701f77acc87e4e7fe6b629b64f8e33c5b3 | |
parent | cbda6b05c4af6c38f741c2f52362ea0be39ce335 [diff] |
Lint: Simplify an expression Change-Id: I99e0af127cf3eae8d5030ba055e3488677727eda
diff --git a/app/src/main/java/com/google/reviewit/app/ActionHandler.java b/app/src/main/java/com/google/reviewit/app/ActionHandler.java index c9a43f2..c182ea9 100644 --- a/app/src/main/java/com/google/reviewit/app/ActionHandler.java +++ b/app/src/main/java/com/google/reviewit/app/ActionHandler.java
@@ -170,11 +170,9 @@ } })); start += LIMIT_QUERY; - more = !toProcess.isEmpty() - ? (toProcess.getLast().info._moreChanges != null - ? toProcess.getLast().info._moreChanges - : false) - : false; + more = !toProcess.isEmpty() && (toProcess.getLast().info._moreChanges != null + ? toProcess.getLast().info._moreChanges + : false); } public boolean isQueryNeeded() {