Do not create applications with "." in the application name

when apps.properties is modified.
This commit is contained in:
hns 2002-07-10 13:24:14 +00:00
parent 8ee53d5a25
commit 7088254cb1

View file

@ -56,7 +56,7 @@ public class ApplicationManager {
try { try {
for (Enumeration e = props.keys(); e.hasMoreElements (); ) { for (Enumeration e = props.keys(); e.hasMoreElements (); ) {
String appName = (String) e.nextElement (); String appName = (String) e.nextElement ();
if (applications.get (appName) == null) { if (appName.indexOf (".") == -1 && applications.get (appName) == null) {
start (appName); start (appName);
register (appName); register (appName);
} }