File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
http-generator-helidon/src/main/java/io/avaje/http/generator/helidon/nima
http-generator-javalin/src/main/java/io/avaje/http/generator/javalin
http-generator-jex/src/main/java/io/avaje/http/generator/jex Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ private void writeRoutes(List<ControllerMethodWriter> methods) {
123
123
private void writeClassStart () {
124
124
writer .append (AT_GENERATED ).eol ();
125
125
writer .append (diAnnotation ()).eol ();
126
- writer .append ("public class %s$Route implements HttpFeature {" , shortName ).eol ().eol ();
126
+ writer .append ("public final class %s$Route implements HttpFeature {" , shortName ).eol ().eol ();
127
127
128
128
var controllerName = "controller" ;
129
129
var controllerType = shortName ;
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ private void writeClassStart() {
84
84
writer .append (AT_GENERATED ).eol ();
85
85
writer .append (diAnnotation ()).eol ();
86
86
writer
87
- .append ("public class " )
87
+ .append ("public final class " )
88
88
.append (shortName )
89
89
.append (javalin6 ? "$Route extends AvajeJavalinPlugin {" : "$Route implements Plugin {" )
90
90
.eol ()
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ private void writeRouting(MethodReader method) {
89
89
private void writeClassStart () {
90
90
writer .append (AT_GENERATED ).eol ();
91
91
writer .append (diAnnotation ()).eol ();
92
- writer .append ("public class " ).append (shortName ).append ("$Route implements Routing.HttpService {" ).eol ().eol ();
92
+ writer .append ("public final class " ).append (shortName ).append ("$Route implements Routing.HttpService {" ).eol ().eol ();
93
93
94
94
String controllerName = "controller" ;
95
95
String controllerType = shortName ;
You can’t perform that action at this time.
0 commit comments