compat/src/main/java/androidx/core/database/DatabaseUtilsCompat.java
@Deprecated
    public static String concatenateWhere(String a, String b) {
        if (TextUtils.isEmpty(a)) {
            return b;
        }
        if (TextUtils.isEmpty(b)) {
            return a;
        }

        return "(" + a + ") AND (" + b + ")";
    }
/**
     * Concatenates two SQL WHERE clauses, handling empty or null values.
     *
     * @deprecated Use {@link android.database.DatabaseUtils#concatenateWhere(String, String)}
     * directly.
     */
Concatenates two SQL WHERE clauses, handling empty or null values.
Concatenates two SQL WHERE clauses handling empty or null values .
@Deprecated
    public static String concatenateWhere(String a, String b) {
        if (TextUtils.isEmpty(a)) {
            return b;
        }
        if (TextUtils.isEmpty(b)) {
            return a;
        }
        return "(" + a + ") AND (" + b + ")";
    }
@ Deprecated public static String concatenateWhere ( String a , String b ) { if ( TextUtils . isEmpty ( a ) ) { return b ; } if ( TextUtils . isEmpty ( b ) ) { return a ; } return "(" + a + ") AND (" + b + ")" ; }
Concatenates two SQL WHERE clauses, handling empty or null values.
Concatenates two SQL WHERE clauses handling empty or null values .