Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
diff --git a/src/main/groovy/gaiden/kai/DocumentSource.groovy b/src/main/groovy/gaiden/kai/DocumentSource.groovy index 14106af..b53c793 100644 --- a/src/main/groovy/gaiden/kai/DocumentSource.groovy +++ b/src/main/groovy/gaiden/kai/DocumentSource.groovy @@ -16,10 +16,12 @@ package gaiden.kai +import groovy.transform.CompileStatic + +@CompileStatic class DocumentSource { TocSource tocSource List<PageSource> pageSources - } diff --git a/src/main/groovy/gaiden/kai/GaidenMain.groovy b/src/main/groovy/gaiden/kai/GaidenMain.groovy index f794320..da7b44f 100644 --- a/src/main/groovy/gaiden/kai/GaidenMain.groovy +++ b/src/main/groovy/gaiden/kai/GaidenMain.groovy @@ -1,7 +1,10 @@ package gaiden.kai -import gaiden.exception.GaidenException +import gaiden.kai.exception.GaidenException +import groovy.transform.CompileStatic +import groovy.transform.TypeCheckingMode +@CompileStatic class GaidenMain { static void main(String... args) { @@ -23,6 +26,7 @@ void run(String... args) { command.execute(options.arguments()) } + @CompileStatic(TypeCheckingMode.SKIP) private String getCommandName(String[] args, OptionAccessor options) { if (options.v) { return "version" @@ -32,6 +36,7 @@ private String getCommandName(String[] args, OptionAccessor options) { null } + @CompileStatic(TypeCheckingMode.SKIP) private OptionAccessor getOptions(String[] args) { def cliBuilder = new CliBuilder() cliBuilder.with {
- Loading branch information