From 28a18fedac205af0b470d6d05fc9df88d95d78c1 Mon Sep 17 00:00:00 2001 From: Josiah Noel <32279667+SentryMan@users.noreply.github.com> Date: Sun, 7 Jan 2024 19:09:30 -0500 Subject: [PATCH] Fix Javalin 5 generation not triggering properly --- .../java/io/avaje/http/generator/core/ProcessingContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-generator-core/src/main/java/io/avaje/http/generator/core/ProcessingContext.java b/http-generator-core/src/main/java/io/avaje/http/generator/core/ProcessingContext.java index 85efa8d1..ea81a0cc 100644 --- a/http-generator-core/src/main/java/io/avaje/http/generator/core/ProcessingContext.java +++ b/http-generator-core/src/main/java/io/avaje/http/generator/core/ProcessingContext.java @@ -86,7 +86,7 @@ private static final class Ctx { } else { useJavax = (javax); } - this.javalin6 = elementUtils.getTypeElement("io.javalin.config.JavalinConfig") != null; + this.javalin6 = elementUtils.getTypeElement("io.javalin.config.RouterConfig") != null; } }