[290965] the org.eclipse.wst.server.ui.serverToolTip extension point does not accept multiple contributions for a server type
diff --git a/plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/ServerToolTip.java b/plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/ServerToolTip.java
index 0922457..d106a16 100644
--- a/plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/ServerToolTip.java
+++ b/plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/ServerToolTip.java
@@ -1,5 +1,5 @@
/**********************************************************************
- * Copyright (c) 2007, 2008 IBM Corporation and others.
+ * Copyright (c) 2007, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -256,8 +256,8 @@
if ("*".equals(exServerType) || exServerType.startsWith(serverType.getId())) {
IServerToolTip exTooltip = (IServerToolTip) exElement.createExecutableExtension("class");
ArrayList<IServerToolTip> listOfProviders = new ArrayList<IServerToolTip>();
- if (toolTipProviders.containsKey(serverType))
- listOfProviders = toolTipProviders.get(serverType);
+ if (toolTipProviders.containsKey(serverType.getId()))
+ listOfProviders = toolTipProviders.get(serverType.getId());
listOfProviders.add(exTooltip);
toolTipProviders.put(serverType.getId(), listOfProviders);