diff --git a/jkube-kit/jkube-kit-micronaut/src/main/java/org/eclipse/jkube/micronaut/generator/MicronautGenerator.java b/jkube-kit/jkube-kit-micronaut/src/main/java/org/eclipse/jkube/micronaut/generator/MicronautGenerator.java index a74ac1d12b..85e7f02dcf 100644 --- a/jkube-kit/jkube-kit-micronaut/src/main/java/org/eclipse/jkube/micronaut/generator/MicronautGenerator.java +++ b/jkube-kit/jkube-kit-micronaut/src/main/java/org/eclipse/jkube/micronaut/generator/MicronautGenerator.java @@ -49,6 +49,8 @@ public boolean isApplicable(List configs) { @Override protected Map getEnv(boolean prePackagePhase) { + //TODO: Java8 compatibility, remove warning. Remove annotation once baseline is set to Java11+ + //noinspection Convert2MethodRef return nestedGenerator.getEnv(ppp -> super.getEnv(ppp), prePackagePhase); }