Allow a blank app_id so that when calling Getdown via:

java -jar getdown.jar app_dir [app_id] [app_arg ...]

we could conceivably supply '""' for app_id and pass arguments to the default
application.
This commit is contained in:
Michael Bayne
2011-02-11 22:59:27 +00:00
parent 1eaa058fa8
commit 3f94853bb2
@@ -479,7 +479,7 @@ public class Application
}
}
String prefix = (_appid == null) ? "" : (_appid + ".");
String prefix = StringUtil.isBlank(_appid) ? "" : (_appid + ".");
// determine our application class name
_class = (String)cdata.get(prefix + "class");