Skip to content

Commit 4ae31f4

Browse files
committed
rename map to be more precise
1 parent b5bb686 commit 4ae31f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/dev/dsf/bpe/start/DownloadAllowListFromTtpViaMedic1ExampleStarter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class DownloadAllowListFromTtpViaMedic1ExampleStarter
2424
private static final Logger logger = LoggerFactory.getLogger(DownloadAllowListFromTtpViaMedic1ExampleStarter.class);
2525

2626
private static final String ALLOW_LIST_FHIR_BASE_URL = ConstantsExampleStarters.TTP_FHIR_BASE_URL;
27-
private static final Map<String, String> REQUESTER_RECIPIENT = Map.of(
27+
private static final Map<String, String> MEDIC_IDENTIFIER_URL = Map.of(
2828
ConstantsExampleStarters.NAMINGSYSTEM_DSF_ORGANIZATION_IDENTIFIER_VALUE_MEDIC_1,
2929
ConstantsExampleStarters.MEDIC_1_FHIR_BASE_URL,
3030
ConstantsExampleStarters.NAMINGSYSTEM_DSF_ORGANIZATION_IDENTIFIER_VALUE_MEDIC_2,
@@ -39,10 +39,10 @@ public class DownloadAllowListFromTtpViaMedic1ExampleStarter
3939
public static void main(String[] args) throws Exception
4040
{
4141
ExampleStarter starter = ExampleStarter.forServer(args,
42-
REQUESTER_RECIPIENT.entrySet().iterator().next().getValue());
42+
MEDIC_IDENTIFIER_URL.entrySet().iterator().next().getValue());
4343
IdType allowList = allowList(starter);
4444

45-
REQUESTER_RECIPIENT.forEach((identifier, url) -> start(args, allowList, identifier, url));
45+
MEDIC_IDENTIFIER_URL.forEach((identifier, url) -> start(args, allowList, identifier, url));
4646
}
4747

4848
private static void start(String[] args, IdType allowList, String identifier, String url)

0 commit comments

Comments
 (0)