Code cleanup (post-merge)
This commit is contained in:
parent
a129ca89ce
commit
f4f600ff05
|
@ -86,7 +86,9 @@ public class Main
|
|||
public static String join(Collection<?> objs, String delim)
|
||||
{
|
||||
if (objs==null)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
StringBuilder str = new StringBuilder();
|
||||
boolean needDelim = false;
|
||||
for (Object obj : objs)
|
||||
|
@ -398,25 +400,31 @@ public class Main
|
|||
{
|
||||
// is it an explicit request to create an ini file?
|
||||
if (topLevel && !FS.exists(startd_ini) && !appendStartIni)
|
||||
{
|
||||
buildIni=true;
|
||||
|
||||
}
|
||||
// else is it transitive
|
||||
else if (transitive)
|
||||
{
|
||||
// do we need an ini anyway?
|
||||
if (module.hasDefaultConfig() || module.hasLicense())
|
||||
{
|
||||
buildIni = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
StartLog.info("%-15s initialised transitively",name);
|
||||
}
|
||||
|
||||
}
|
||||
// else must be initialized explicitly
|
||||
else
|
||||
{
|
||||
for (String source : module.getSources())
|
||||
{
|
||||
StartLog.info("%-15s initialised in %s",name,baseHome.toShortForm(source));
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
buildIni=true;
|
||||
|
@ -581,7 +589,9 @@ public class Main
|
|||
}
|
||||
|
||||
if (complete)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
// look for any new ones resolved via expansion
|
||||
depends.clear();
|
||||
|
@ -816,7 +826,8 @@ public class Main
|
|||
}
|
||||
}
|
||||
|
||||
private void doStop(StartArgs args) {
|
||||
private void doStop(StartArgs args)
|
||||
{
|
||||
int stopPort = Integer.parseInt(args.getProperties().getString("STOP.PORT"));
|
||||
String stopKey = args.getProperties().getString("STOP.KEY");
|
||||
|
||||
|
|
Loading…
Reference in New Issue