|
From: <caw...@us...> - 2007-09-05 21:33:20
|
Revision: 3093
http://rubyeclipse.svn.sourceforge.net/rubyeclipse/?rev=3093&view=rev
Author: cawilliams
Date: 2007-09-05 14:33:18 -0700 (Wed, 05 Sep 2007)
Log Message:
-----------
when type is not null and is a Symbol, prepend ':' to valueString
Modified Paths:
--------------
trunk/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/model/RubyValue.java
Modified: trunk/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/model/RubyValue.java
===================================================================
--- trunk/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/model/RubyValue.java 2007-09-05 21:19:55 UTC (rev 3092)
+++ trunk/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/model/RubyValue.java 2007-09-05 21:33:18 UTC (rev 3093)
@@ -10,10 +10,6 @@
/**
* @author Administrator
*
- * To change this generated comment edit the template variable "typecomment":
- * Window>Preferences>Java>Templates.
- * To enable and disable the creation of type comments go to
- * Window>Preferences>Java>Code Generation.
*/
//see RubyDebugTarget for the reason why PlatformObject is being extended
@@ -39,6 +35,8 @@
} else if (this.valueString.endsWith("element(s))")) {
int index = this.valueString.substring(0, this.valueString.length() - 11).lastIndexOf("(");
this.valueString = this.valueString.substring(0, index).trim() + "[" + this.valueString.substring(index + 1, this.valueString.length() - 11).trim() + "]";
+ } else if (type != null && type.equals("Symbol")) {
+ this.valueString = ':' + this.valueString;
}
this.owner = owner;
this.hasChildren = hasChildren;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|