Fix join address validator test

This commit is contained in:
Aurora Lahtela 2024-05-25 10:39:14 +03:00
parent 8309f8725e
commit bea0ef85b3

View File

@ -25,6 +25,7 @@ import javax.inject.Inject;
import javax.inject.Singleton;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.List;
/**
@ -47,6 +48,7 @@ public class JoinAddressValidator {
private void prepareFilteredAddresses() {
if (filteredAddresses == null) {
filteredAddresses = config.get(DataGatheringSettings.FILTER_JOIN_ADDRESSES);
if (filteredAddresses == null) filteredAddresses = new ArrayList<>();
}
}