File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
io.cloudbeaver.model/src/io/cloudbeaver
io.cloudbeaver.server.ce/src/io/cloudbeaver/server Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -198,6 +198,7 @@ public static void patchConfigurationWithProperties(
198
198
}
199
199
}
200
200
201
+ @ NotNull
201
202
@ Override
202
203
public Object start (IApplicationContext context ) {
203
204
initializeApplicationServices ();
@@ -210,8 +211,9 @@ public Object start(IApplicationContext context) {
210
211
startServer ();
211
212
} catch (Exception e ) {
212
213
log .error (e .getMessage (), e );
214
+ return EXIT_ERROR_UNSPECIFIED ;
213
215
}
214
- return null ;
216
+ return EXIT_OK ;
215
217
}
216
218
217
219
protected abstract void startServer () throws DBException ;
Original file line number Diff line number Diff line change @@ -98,4 +98,5 @@ public class CBConstants {
98
98
99
99
public static final String BIND_SESSION_ENABLE = "enable" ;
100
100
public static final String BIND_SESSION_DISABLE = "disable" ;
101
+ public static final String DEFAULT_CLOUD_PROJECT_NAME = "GlobalConfiguration" ;
101
102
}
Original file line number Diff line number Diff line change @@ -505,9 +505,10 @@ public String getInfoDetails(DBRProgressMonitor monitor) {
505
505
return "" ;
506
506
}
507
507
508
+ @ Nullable
508
509
@ Override
509
510
public String getDefaultProjectName () {
510
- return "GlobalConfiguration" ;
511
+ return CBConstants . DEFAULT_CLOUD_PROJECT_NAME ;
511
512
}
512
513
513
514
public boolean isDevelMode () {
You can’t perform that action at this time.
0 commit comments