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:
@@ -479,7 +479,7 @@ public class Application
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
String prefix = (_appid == null) ? "" : (_appid + ".");
|
String prefix = StringUtil.isBlank(_appid) ? "" : (_appid + ".");
|
||||||
|
|
||||||
// determine our application class name
|
// determine our application class name
|
||||||
_class = (String)cdata.get(prefix + "class");
|
_class = (String)cdata.get(prefix + "class");
|
||||||
|
|||||||
Reference in New Issue
Block a user