diff --git a/jkube-kit/jkube-kit-spring-boot/src/main/java/org/eclipse/jkube/springboot/generator/SpringBootGenerator.java b/jkube-kit/jkube-kit-spring-boot/src/main/java/org/eclipse/jkube/springboot/generator/SpringBootGenerator.java index 41d01bee0f..967aaaa1b5 100644 --- a/jkube-kit/jkube-kit-spring-boot/src/main/java/org/eclipse/jkube/springboot/generator/SpringBootGenerator.java +++ b/jkube-kit/jkube-kit-spring-boot/src/main/java/org/eclipse/jkube/springboot/generator/SpringBootGenerator.java @@ -84,6 +84,9 @@ public List customize(List configs, bool @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); }