Skip to content

Commit

Permalink
minor: Resolve redundant 'if' statement IDEA inspection
Browse files Browse the repository at this point in the history
  • Loading branch information
Vyom-Yadav authored and romani committed Aug 27, 2022
1 parent 2e36277 commit d7099af
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,11 +233,7 @@ private static boolean isMoreThanVarCharSizeLimit(String... values) {
}
totalByteSize += "'SINGLE_SELECT_LIST,multiple=true,values=\""
.getBytes(StandardCharsets.UTF_8).length;
boolean result = false;
if (totalByteSize > PARAM_TYPE_DB_COLUMN_TYPE_SIZE_LIMIT) {
result = true;
}
return result;
return totalByteSize > PARAM_TYPE_DB_COLUMN_TYPE_SIZE_LIMIT;
}

/**
Expand Down

0 comments on commit d7099af

Please sign in to comment.