1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
This commit is contained in:
Mikhail Khodjaiants 2003-06-10 16:47:24 +00:00
parent d4a1629964
commit ed640e09ab

View file

@ -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;
}
}