Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvpunski2010-02-11 12:47:53 +0000
committervpunski2010-02-11 12:47:53 +0000
commit9bb6bda929db52e440e207720a799b3159862f8f (patch)
tree0b2f20e2fe1566af9e16d585b0eb023325c075e6
parentf1b0bc62f2b8877b628ff5f0d216035016e7fb83 (diff)
downloadorg.eclipse.pdt-9bb6bda929db52e440e207720a799b3159862f8f.tar.gz
org.eclipse.pdt-9bb6bda929db52e440e207720a799b3159862f8f.tar.xz
org.eclipse.pdt-9bb6bda929db52e440e207720a799b3159862f8f.zip
wrong backslash representation in outline for classes with 3 levels of NS
-rw-r--r--plugins/org.eclipse.php.debug.core/src/org/eclipse/php/internal/debug/core/zend/model/PHPValue.java19
1 files changed, 1 insertions, 18 deletions
diff --git a/plugins/org.eclipse.php.debug.core/src/org/eclipse/php/internal/debug/core/zend/model/PHPValue.java b/plugins/org.eclipse.php.debug.core/src/org/eclipse/php/internal/debug/core/zend/model/PHPValue.java
index a3f5fa435..1d5b06971 100644
--- a/plugins/org.eclipse.php.debug.core/src/org/eclipse/php/internal/debug/core/zend/model/PHPValue.java
+++ b/plugins/org.eclipse.php.debug.core/src/org/eclipse/php/internal/debug/core/zend/model/PHPValue.java
@@ -11,8 +11,6 @@
*******************************************************************************/
package org.eclipse.php.internal.debug.core.zend.model;
-import java.util.StringTokenizer;
-
import org.eclipse.debug.core.DebugException;
import org.eclipse.debug.core.model.IValue;
import org.eclipse.debug.core.model.IVariable;
@@ -62,22 +60,7 @@ public class PHPValue extends PHPDebugElement implements IValue {
* @see org.eclipse.debug.core.model.IValue#getValueString()
*/
public String getValueString() throws DebugException {
- StringBuffer string = new StringBuffer();
- StringTokenizer tokenizer = new StringTokenizer(fValue
- .getValueAsString(), "\\", true);
- String token;
- while (tokenizer.hasMoreTokens()) {
- token = tokenizer.nextToken();
- if (token.length() > 1) {
- string.append(token);
- } else {
- string.append(token);
- if (tokenizer.hasMoreTokens())
- tokenizer.nextToken();
- }
- }
- String rString = string.toString();
- return rString;
+ return fValue.getValueAsString();
}
public String getValue() throws DebugException {

Back to the top