forked from loafle/openapi-generator-original
[Spring] Spotbugs static class and default encoding (#2609)
* add static modifier - mvn verify passes * specify charset, mvn verify works, compiles and clean on spotbugs in my project * update samples as per contribution guide; mvn integration-test passes * commit rest of samples * fix missing newline at EOF * lots of new newlines * needed to run mvn clean beforehand...
This commit is contained in:
committed by
William Cheng
parent
81f970e946
commit
b5ae21b090
@@ -27,7 +27,7 @@ public class OpenAPI2SpringBoot implements CommandLineRunner {
|
||||
new SpringApplication(OpenAPI2SpringBoot.class).run(args);
|
||||
}
|
||||
|
||||
class ExitException extends RuntimeException implements ExitCodeGenerator {
|
||||
static class ExitException extends RuntimeException implements ExitCodeGenerator {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
||||
@@ -16,4 +16,4 @@ public class ApiUtil {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user