Skip to content

Commit

Permalink
Removed use of Java 9 API.
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Langer <[email protected]>
  • Loading branch information
tomas-langer committed Mar 25, 2020
1 parent f33090e commit 5e41cda
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import java.util.Map;
import java.util.function.Supplier;

import io.helidon.common.CollectionsHelper;
import io.helidon.config.spi.ConfigSource;

import org.junit.jupiter.api.Test;
Expand All @@ -31,8 +32,8 @@
* <a href="https://github.com/oracle/helidon/issues/1182">Github issue 1182</a>.
*/
public class Gh1182Override {
private static final Map<String, String> VALUE = Map.of("app1.node1.value", "false");
private static final Map<String, String> LIST = Map.of(
private static final Map<String, String> VALUE = CollectionsHelper.mapOf("app1.node1.value", "false");
private static final Map<String, String> LIST = CollectionsHelper.mapOf(
"app1.node1.value", "true",
"app1.node1.value.1", "14",
"app1.node1.value.2", "15",
Expand Down

0 comments on commit 5e41cda

Please sign in to comment.