Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
airborne12 committed Dec 20, 2023
1 parent aa07cfd commit 5069f00
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@ public static void checkInvertedIndexParser(String indexColName, PrimitiveType c
throw new AnalysisException("invalid index properties, ignore_above must be integer");
}
}

String lowerCase = properties.get(INVERTED_INDEX_PARSER_LOWERCASE);
if (lowerCase != null) {
if ( lowerCase != "true" && lowerCase != "false") {
if (!"true".equals(lowerCase) && !"false".equals(lowerCase)) {
throw new AnalysisException("invalid index properties, lowercase must be true or false");
}
}

}

// default is "none" if not set
Expand Down

0 comments on commit 5069f00

Please sign in to comment.