File tree Expand file tree Collapse file tree 3 files changed +568
-1
lines changed
boot/src/main/java/com/ricequant/rqboot/boot Expand file tree Collapse file tree 3 files changed +568
-1
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ private static boolean reportVersion(String[] args) {
59
59
if ("-v" .equals (arg ) || "--version" .equals (arg )) {
60
60
61
61
System .out .println (RicequantMain .class .getPackage ().getSpecificationVersion ());
62
+ VersionReporter .printVersionInfo ();
62
63
63
64
return true ;
64
65
}
@@ -112,6 +113,7 @@ protected List<Class<IApplication>> findAppImplementation() {
112
113
113
114
@ Override
114
115
public void init (String [] args ) {
116
+ VersionReporter .printVersionInfo ();
115
117
System .out .println ("Looking for implementation of IApplication..." );
116
118
117
119
iApplication = getApplication ();
@@ -122,7 +124,7 @@ public void init(String[] args) {
122
124
if (iApplication == null ) {
123
125
List <Class <IApplication >> apps = findAppImplementation ();
124
126
125
- if (apps .size () == 0 ) {
127
+ if (apps .isEmpty () ) {
126
128
throw new RuntimeException ("Cannot find any application implementations to load" );
127
129
}
128
130
You can’t perform that action at this time.
0 commit comments