mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-03 06:57:36 +01:00
Fix join address validator test
This commit is contained in:
parent
8309f8725e
commit
bea0ef85b3
@ -25,6 +25,7 @@ import javax.inject.Inject;
|
|||||||
import javax.inject.Singleton;
|
import javax.inject.Singleton;
|
||||||
import java.net.URI;
|
import java.net.URI;
|
||||||
import java.net.URISyntaxException;
|
import java.net.URISyntaxException;
|
||||||
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -47,6 +48,7 @@ public class JoinAddressValidator {
|
|||||||
private void prepareFilteredAddresses() {
|
private void prepareFilteredAddresses() {
|
||||||
if (filteredAddresses == null) {
|
if (filteredAddresses == null) {
|
||||||
filteredAddresses = config.get(DataGatheringSettings.FILTER_JOIN_ADDRESSES);
|
filteredAddresses = config.get(DataGatheringSettings.FILTER_JOIN_ADDRESSES);
|
||||||
|
if (filteredAddresses == null) filteredAddresses = new ArrayList<>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user