Transform Java lambda to Kotlin Lamba with IntelliJ generate syntax error
I have a Java class that configure the embebed tomcat of Spring Boot 2.0.6 for use HTTP2 protocol:
package com.oesia.mako.config;
import org.apache.catalina.connector.Connector;
import org.apache.coyote.http2.Http2Protocol;
import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory;
import org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory;
import org.springframework.context.annotation.Bean;
import...