Github user isper3at commented on a diff in the pull request: https://github.com/apache/incubator-rya/pull/245#discussion_r145782313 --- Diff: extras/indexing/src/main/java/org/apache/rya/indexing/IndexPlanValidator/ValidIndexCombinationGenerator.java --- @@ -86,11 +81,8 @@ public boolean hasNext() { } - } else if (isEmpty) { - return false; - } else { - return true; - } + } else + return !isEmpty; --- End diff -- do not remove curly braces around the else
---