@@ -36,13 +36,6 @@ public class AppConfig {
36
36
*/
37
37
public static final String DEFAULT_APP_NAME = "my-app" ;
38
38
39
- /**
40
- * These are assumed as sensible defaults in a development environment, where teams often use admin/admin for the
41
- * admin login. They are of course expected to change in a real environment.
42
- */
43
- public static final String DEFAULT_USERNAME = "admin" ;
44
- public static final String DEFAULT_PASSWORD = "admin" ;
45
-
46
39
/**
47
40
* This is set purely for development purposes so that an app can be configured without specifying a port. The
48
41
* v1/rest-apis endpoint will select an open port if none is provided, but some work is then required to figure out
@@ -60,7 +53,15 @@ public class AppConfig {
60
53
public final static String DEFAULT_GROUP = "Default" ;
61
54
62
55
private String name = DEFAULT_APP_NAME ;
63
- private String host = DEFAULT_HOST ;
56
+
57
+ /**
58
+ * These are assumed as sensible defaults in a development environment, where teams often use admin/admin for the
59
+ * admin login. They are of course expected to change in a real environment.
60
+ */
61
+ public static final String DEFAULT_USERNAME = "admin" ;
62
+ public static final String DEFAULT_PASSWORD = "admin" ;
63
+
64
+ private String host = DEFAULT_HOST ;
64
65
65
66
private boolean catchDeployExceptions = false ;
66
67
private boolean catchUndeployExceptions = false ;
@@ -219,7 +220,7 @@ public AppConfig(String defaultModulePath) {
219
220
}
220
221
221
222
public AppConfig (String defaultModulePath , String defaultSchemasPath ) {
222
- modulePaths = new ArrayList <String >();
223
+ modulePaths = new ArrayList <>();
223
224
modulePaths .add (defaultModulePath );
224
225
configDirs = new ArrayList <>();
225
226
configDirs .add (new ConfigDir ());
0 commit comments