Skip to content

Commit

Permalink
remove redundant null check (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
buptzouy authored Aug 21, 2023
1 parent 37dbf9c commit f28c651
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ private void parseHostAndPorts(boolean needParse) {
return;
}
String[] list = uris.split(",");
if (list == null) {
return;
}
for (String uri : list) {
uriList.add(uri);
int begin = uri.indexOf(":");
Expand Down

0 comments on commit f28c651

Please sign in to comment.