lib/src/kbasesearchengine/main/SearchMethods.java
private static boolean toBool(Long value, boolean defaultRet) {
        if (value == null) {
            return defaultRet;
        }
        return value == 1L;
    }
/**
     * Changes Long to Boolean. 1L = true. Anything else is False. Accepts default value
     * @param value       Intended value
     * @param defaultRet  Default boolean
     * @return
     */
Changes Long to Boolean. 1L = true. Anything else is False. Accepts default value
@param value       Intended value
@param defaultRet  Default boolean
@return
Changes Long to Boolean . 1L = true . Anything else is False . Accepts default value @param value Intended value @param defaultRet Default boolean @return
private static boolean toBool(Long value, boolean defaultRet) {
        if (value == null) {
            return defaultRet;
        }
        return value == 1L;
    }
private static boolean toBool ( Long value , boolean defaultRet ) { if ( value == null ) { return defaultRet ; } return value == 1L ; }
Changes Long to Boolean.
Changes Long to Boolean .