Author: rob.stryker(a)jboss.com
Date: 2008-10-20 17:14:12 -0400 (Mon, 20 Oct 2008)
New Revision: 11017
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/providers/descriptors/XPathPropertyLabelProvider.java
Log:
JBIDE-2214
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/providers/descriptors/XPathPropertyLabelProvider.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/providers/descriptors/XPathPropertyLabelProvider.java 2008-10-20
19:55:38 UTC (rev 11016)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/providers/descriptors/XPathPropertyLabelProvider.java 2008-10-20
21:14:12 UTC (rev 11017)
@@ -64,7 +64,7 @@
if( element instanceof XPathResultNode ) {
XPathResultNode element2 = (XPathResultNode)element;
if( columnIndex == 0 ) return Messages.DescriptorXPathMatch + element2.getIndex();
- if( columnIndex == 1 ) return element2.getText();
+ if( columnIndex == 1 ) return element2.getText().trim();
}
return null;