Skip to content

Commit

Permalink
Remove the null value check for the new address.
Browse files Browse the repository at this point in the history
  • Loading branch information
asapple committed Dec 10, 2024
1 parent 26c46eb commit dbbb1fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ public void updateNameServerAddressList(List<String> newAddresses) {
* Check if the address list should be updated
*/
private static boolean shouldUpdateAddressList(List<String> newAddresses, List<String> oldAddresses) {
if (newAddresses == null || newAddresses.isEmpty()) {
if (newAddresses.isEmpty()) {
return false;
}

Expand Down

0 comments on commit dbbb1fe

Please sign in to comment.