(OFBIZ-10725) Improved boolean returns with a single statement, replacing if blocks with the explicit boolean return. Improves code in methods: isPrimaryKey() of GenericEntity hasNext() and hasPrevious() of EntityListIterator isValueActive() of EntityUtil Additional change: Improved return for getStartIndexFromViewIndex() method in EntityUtil. Instead of using if-else block, a ternary operator is used for improving readability. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1849741 13f79535-47bb-0310-9956-ffa450edef68