Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 282909
Collapse All | Expand All

(-)servercore/org/eclipse/wst/server/core/internal/ServerPlugin.java (-1 / +2 lines)
Lines 386-392 Link Here
386
		Iterator iterator = list.iterator();
386
		Iterator iterator = list.iterator();
387
		while (iterator.hasNext()) {
387
		while (iterator.hasNext()) {
388
			Object obj = iterator.next();
388
			Object obj = iterator.next();
389
			if (obj instanceof IServerAttributes && name.equalsIgnoreCase(((IServerAttributes)obj).getName()))
389
			if (obj instanceof IServerAttributes && 
390
					(name.equalsIgnoreCase(((IServerAttributes)obj).getName()) || name.equalsIgnoreCase(((IServerAttributes)obj).getId()))) 
390
				return true;
391
				return true;
391
			if (obj instanceof IRuntime && name.equalsIgnoreCase(((IRuntime)obj).getName()))
392
			if (obj instanceof IRuntime && name.equalsIgnoreCase(((IRuntime)obj).getName()))
392
				return true;
393
				return true;

Return to bug 282909