Truth in commenting, studliness in variable naming (since all the neighbors are
studly).
This commit is contained in:
@@ -70,8 +70,8 @@ public class GetdownApp
|
|||||||
// look for a specific app identifier
|
// look for a specific app identifier
|
||||||
String appId = (aidx < args.size()) ? args.get(aidx++) : null;
|
String appId = (aidx < args.size()) ? args.get(aidx++) : null;
|
||||||
|
|
||||||
// pass along anything after that as jvm args
|
// pass along anything after that as app args
|
||||||
String[] appargs = (aidx < args.size())
|
String[] appArgs = (aidx < args.size())
|
||||||
? args.subList(aidx, args.size()).toArray(new String[0]) : null;
|
? args.subList(aidx, args.size()).toArray(new String[0]) : null;
|
||||||
|
|
||||||
// ensure a valid directory was supplied
|
// ensure a valid directory was supplied
|
||||||
@@ -107,7 +107,7 @@ public class GetdownApp
|
|||||||
log.info("---------------------------------------------");
|
log.info("---------------------------------------------");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Getdown app = new Getdown(appDir, appId, null, null, appargs) {
|
Getdown app = new Getdown(appDir, appId, null, null, appArgs) {
|
||||||
@Override
|
@Override
|
||||||
protected Container createContainer () {
|
protected Container createContainer () {
|
||||||
// create our user interface, and display it
|
// create our user interface, and display it
|
||||||
|
|||||||
Reference in New Issue
Block a user