Skip to content

Commit

Permalink
Fix join address validator test
Browse files Browse the repository at this point in the history
  • Loading branch information
AuroraLS3 committed May 25, 2024
1 parent 8309f87 commit bea0ef8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import javax.inject.Singleton;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.List;

/**
Expand All @@ -47,6 +48,7 @@ public JoinAddressValidator(PlanConfig config) {
private void prepareFilteredAddresses() {
if (filteredAddresses == null) {
filteredAddresses = config.get(DataGatheringSettings.FILTER_JOIN_ADDRESSES);
if (filteredAddresses == null) filteredAddresses = new ArrayList<>();
}
}

Expand Down

0 comments on commit bea0ef8

Please sign in to comment.