diff --git a/extensions/qute/deployment/src/main/java/io/quarkus/qute/deployment/devconsole/QuteDevConsoleProcessor.java b/extensions/qute/deployment/src/main/java/io/quarkus/qute/deployment/devconsole/QuteDevConsoleProcessor.java index 2a1f8c67f0d63..843cad17ddd03 100644 --- a/extensions/qute/deployment/src/main/java/io/quarkus/qute/deployment/devconsole/QuteDevConsoleProcessor.java +++ b/extensions/qute/deployment/src/main/java/io/quarkus/qute/deployment/devconsole/QuteDevConsoleProcessor.java @@ -11,8 +11,6 @@ import java.util.Map.Entry; import java.util.function.BiFunction; -import org.jboss.logging.Logger; - import io.quarkus.deployment.IsDevelopment; import io.quarkus.deployment.annotations.BuildStep; import io.quarkus.deployment.annotations.Record; @@ -34,8 +32,6 @@ public class QuteDevConsoleProcessor { - private static final Logger LOG = Logger.getLogger(QuteDevConsoleProcessor.class); - @BuildStep @Record(value = STATIC_INIT, optional = true) DevConsoleRouteBuildItem invokeEndpoint(QuteDevConsoleRecorder recorder) { @@ -122,7 +118,7 @@ private Map processVariants(List template for (String variant : variants) { String source = templatePaths.stream().filter(p -> p.getPath().equals(variant)) .map(TemplatePathBuildItem::getContent).findFirst() - .orElse(null); + .orElse(""); source = source.replace("\n", "\\n"); variantsMap.put(variant, source); }