mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cleanup.
This commit is contained in:
parent
d4a1629964
commit
ed640e09ab
1 changed files with 0 additions and 19 deletions
|
@ -105,25 +105,6 @@ public class CModificationVariable extends CVariable
|
||||||
|
|
||||||
private String processExpression( String oldExpression ) throws DebugException
|
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;
|
return oldExpression;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue