Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Piech2009-03-31 17:25:53 -0400
committerPawel Piech2009-03-31 17:25:53 -0400
commit0c98984ff01fc95e4098cd1820e74f739d295848 (patch)
tree08698b15b2651025720ec4cd97eb9403da2005f6 /dsf/org.eclipse.cdt.examples.dsf.pda
parent05578093afc6d475a2a2888603cd854653173a60 (diff)
downloadorg.eclipse.cdt-0c98984ff01fc95e4098cd1820e74f739d295848.tar.gz
org.eclipse.cdt-0c98984ff01fc95e4098cd1820e74f739d295848.tar.xz
org.eclipse.cdt-0c98984ff01fc95e4098cd1820e74f739d295848.zip
Fixed range of supported number formats in PDA.
Diffstat (limited to 'dsf/org.eclipse.cdt.examples.dsf.pda')
-rw-r--r--dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDAExpressions.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDAExpressions.java b/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDAExpressions.java
index 09a8347db2..c4dc84407e 100644
--- a/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDAExpressions.java
+++ b/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDAExpressions.java
@@ -337,17 +337,17 @@ public class PDAExpressions extends AbstractDsfService implements ICachingServic
protected void handleSuccess() {
try {
Integer.parseInt(getData().getFormattedValue());
- rm.setData(new String[] { NATURAL_FORMAT, STRING_FORMAT, HEX_FORMAT, DECIMAL_FORMAT, OCTAL_FORMAT, BINARY_FORMAT });
+ rm.setData(new String[] { DECIMAL_FORMAT, HEX_FORMAT, DECIMAL_FORMAT, OCTAL_FORMAT, BINARY_FORMAT });
rm.done();
} catch (NumberFormatException e) {
- rm.setData(new String[] { NATURAL_FORMAT, STRING_FORMAT });
+ rm.setData(new String[] { STRING_FORMAT });
rm.done();
}
}
@Override
protected void handleErrorOrWarning() {
- rm.setData(new String[] { NATURAL_FORMAT, STRING_FORMAT });
+ rm.setData(new String[] { STRING_FORMAT });
rm.done();
}
});

Back to the top