Skip to content

Commit

Permalink
core: Do not validate empty string tokens. #TASK-4913
Browse files Browse the repository at this point in the history
  • Loading branch information
j-coll committed Aug 30, 2023
1 parent 4aeaa83 commit 368084d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,9 @@ private CellBaseConfiguration validate(boolean autoComplete) throws IOException
}
}
}
if (getToken() != null) {
if (StringUtils.isEmpty(getToken())) {
cellBaseConfiguration.setToken(null);
} else {
// Check it's supported
if (!supportsToken(serverVersion)) {
throw new IllegalArgumentException("Token not supported for cellbase "
Expand Down

0 comments on commit 368084d

Please sign in to comment.