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 {
40
40
}
41
41
42
42
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 ;
47
44
}
48
45
49
46
private boolean isTypeAvailable (String canonicalName ) {
Original file line number Diff line number Diff line change 9
9
*/
10
10
class ControllerWriter extends BaseControllerWriter {
11
11
12
- private static final String AT_GENERATED = "@Generated(\" io.dinject.helidon-webgen \" )" ;
12
+ private static final String AT_GENERATED = "@Generated(\" io.dinject.helidon-generator \" )" ;
13
13
14
14
ControllerWriter (ControllerReader reader , ProcessingContext ctx ) throws IOException {
15
15
super (reader , ctx );
Original file line number Diff line number Diff line change 7
7
*/
8
8
class ControllerWriter extends BaseControllerWriter {
9
9
10
- private static final String AT_GENERATED = "@Generated(\" io.dinject.javalin-webgen \" )" ;
10
+ private static final String AT_GENERATED = "@Generated(\" io.dinject.javalin-generator \" )" ;
11
11
private static final String API_BUILDER = "io.javalin.apibuilder.ApiBuilder" ;
12
12
13
13
ControllerWriter (ControllerReader reader , ProcessingContext ctx ) throws IOException {
You can’t perform that action at this time.
0 commit comments