[cooja] plugins/VariableViewer: Fix decoding in stringToValue()

This commit is contained in:
Enrico Joerns 2014-08-28 17:16:14 +02:00
parent 171863a8c5
commit 33b211c0b3

View file

@ -625,11 +625,10 @@ public class VariableWatcher extends VisPlugin implements MotePlugin {
try {
switch (mType) {
case BYTE:
ret = Byte.decode(text);
break;
case INT:
case SHORT:
ret = Integer.decode(text);
break;
case INT:
case LONG:
case ADDR:
ret = Long.decode(text);