From ed640e09ab005bee6689a32cfce2b80ae2f0b10b Mon Sep 17 00:00:00 2001 From: Mikhail Khodjaiants Date: Tue, 10 Jun 2003 16:47:24 +0000 Subject: [PATCH] Cleanup. --- .../core/model/CModificationVariable.java | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CModificationVariable.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CModificationVariable.java index 7f475fd9a6a..9e7f2904711 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CModificationVariable.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CModificationVariable.java @@ -105,25 +105,6 @@ public class CModificationVariable extends CVariable private String processExpression( String oldExpression ) throws DebugException { -/* - CValue value = (CValue)getValue(); - if ( value == null ) - { - logError( "Error in IValueModification#setValue: no value." ); - requestFailed( "Unable to set value.", null ); - return null; - } - if ( value.getType() == ICValue.TYPE_CHAR && getFormat() == ICDIFormat.NATURAL ) - { - char[] chars = oldExpression.toCharArray(); - if ( chars.length != 1 ) - { - requestFailed( MessageFormat.format( "Invalid value: ''{0}''.", new Object[] { oldExpression } ), null ); - return null; - } - return Short.toString( (short)chars[0] ); - } -*/ return oldExpression; } }