Skip to content

Commit 392a7c9

Browse files
committed
Update Application.java template.
1 parent 7ed013b commit 392a7c9

File tree

1 file changed

+4
-5
lines changed
  • src/main/resources/archetype-resources/src/main/java/__packageInPathFormat__

1 file changed

+4
-5
lines changed

src/main/resources/archetype-resources/src/main/java/__packageInPathFormat__/Application.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55

66
@Action(value = "", description = "Sample tinystruct application", mode = Action.Mode.CLI)
77
public class Application extends AbstractApplication {
8+
@Override
9+
public void init() {
10+
this.setTemplateRequired(false);
11+
}
812

913
@Action(value = "hello", description = "Say hello")
1014
public String sayHello() {
@@ -17,11 +21,6 @@ public String help() {
1721
return super.help();
1822
}
1923

20-
@Override
21-
public void init() {
22-
this.setTemplateRequired(false);
23-
}
24-
2524
@Override
2625
public String version() {
2726
return "";

0 commit comments

Comments
 (0)