Skip to content

Commit a0a3369

Browse files
fix: removed explicit type arguments that can be inferred in VertxHealthCheckEnricher (3467)
1 parent e0e82b3 commit a0a3369

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

jkube-kit/jkube-kit-vertx/src/main/java/org/eclipse/jkube/vertx/enricher/VertxHealthCheckEnricher.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,8 @@ private Probe discoverVertxHealthCheck(boolean readiness) {
146146
Optional<Integer> timeout = getIntegerValue(Config.TIMEOUT, readiness);
147147
Optional<Integer> successThreshold = getIntegerValue(Config.SUCCESS_THRESHOLD, readiness);
148148
Optional<Integer> failureThreshold = getIntegerValue(Config.FAILURE_THRESHOLD, readiness);
149-
List<String> command = getListValue(Config.COMMAND, readiness).orElse(Collections.<String>emptyList());
150-
Map<String, String> headers = getMapValue(Config.HEADERS, readiness).orElse(Collections.<String, String>emptyMap());
151-
149+
List<String> command = getListValue(Config.COMMAND, readiness).orElse(Collections.emptyList());
150+
Map<String, String> headers = getMapValue(Config.HEADERS, readiness).orElse(Collections.emptyMap());
152151

153152
// Validate
154153
// Port and port-name cannot be set at the same time

0 commit comments

Comments
 (0)