File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed
generator-core/src/main/java/io/dinject/webroutegen
generator-helidon/src/main/java/io/dinject/webroutegen
generator-javalin/src/main/java/io/dinject/webroutegen Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,7 @@ public class ProcessingContext {
4040 }
4141
4242 private String generatedAnnotation (boolean jdk8 ) {
43- if (jdk8 ) {
44- return null ; // isTypeAvailable(Constants.GENERATED_8) ? Constants.GENERATED_8 : null;
45- }
46- return isTypeAvailable (Constants .GENERATED_9 ) ? Constants .GENERATED_9 : null ;
43+ return jdk8 ? null : isTypeAvailable (Constants .GENERATED_9 ) ? Constants .GENERATED_9 : null ;
4744 }
4845
4946 private boolean isTypeAvailable (String canonicalName ) {
Original file line number Diff line number Diff line change 99 */
1010class ControllerWriter extends BaseControllerWriter {
1111
12- private static final String AT_GENERATED = "@Generated(\" io.dinject.helidon-webgen \" )" ;
12+ private static final String AT_GENERATED = "@Generated(\" io.dinject.helidon-generator \" )" ;
1313
1414 ControllerWriter (ControllerReader reader , ProcessingContext ctx ) throws IOException {
1515 super (reader , ctx );
Original file line number Diff line number Diff line change 77 */
88class ControllerWriter extends BaseControllerWriter {
99
10- private static final String AT_GENERATED = "@Generated(\" io.dinject.javalin-webgen \" )" ;
10+ private static final String AT_GENERATED = "@Generated(\" io.dinject.javalin-generator \" )" ;
1111 private static final String API_BUILDER = "io.javalin.apibuilder.ApiBuilder" ;
1212
1313 ControllerWriter (ControllerReader reader , ProcessingContext ctx ) throws IOException {
You can’t perform that action at this time.
0 commit comments