diff options
author | kchan | 2008-06-19 16:01:54 +0000 |
---|---|---|
committer | kchan | 2008-06-19 16:01:54 +0000 |
commit | 8a75e5abdfc6857f019231148d773fb95768f3e9 (patch) | |
tree | 6195dbb2f586752906146af5ab1e1054f84fbf66 /bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common | |
parent | 4049dbbe8c6b0ceb8a37f62d22bd5a0b4e959f3e (diff) | |
download | webtools.webservices-8a75e5abdfc6857f019231148d773fb95768f3e9.tar.gz webtools.webservices-8a75e5abdfc6857f019231148d773fb95768f3e9.tar.xz webtools.webservices-8a75e5abdfc6857f019231148d773fb95768f3e9.zip |
[237797] JAX RPC popup doesnt show remote servers.
Diffstat (limited to 'bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common')
-rw-r--r-- | bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/LabelsAndIds.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/LabelsAndIds.java b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/LabelsAndIds.java index 23842eb2e..a4a6016e5 100644 --- a/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/LabelsAndIds.java +++ b/bundles/org.eclipse.jst.ws.consumption.ui/src/org/eclipse/jst/ws/internal/consumption/ui/common/LabelsAndIds.java @@ -12,6 +12,7 @@ * 20080221 146023 gilberta@ca.ibm.com - Gilbert Andrews * 20080425 221232 gilberta@ca.ibm.com - Gilbert Andrews * 20080616 237298 gilberta@ca.ibm.com - Gilbert Andrews + * 20080619 237797 gilberta@ca.ibm.com - Gilbert Andrews *******************************************************************************/ /** */ @@ -35,7 +36,7 @@ public class LabelsAndIds } public String getId(int index){ - if (index < 0 && index > ids_.size()) return null; + if (index < 0 || index + 1 > ids_.size()) return null; return (String)ids_.get(index); } |