- Fixed some wrongs in data matching, causing crashes with onlyWithTag in some cases

- Fixed a variable check when resolving variables
This commit is contained in:
Stan Hebben committed 2014-10-14 23:33:10 +02:00
1 parent f20af21fef
commit 59ef38877f
15 files changed
+119 -44

No files matched your search

@@ -57,22 +57,22 @@ public class DataShort implements IData {
@Override
public List<IData> asList() {
throw new UnsupportedOperationException("Cannot cast a short to a list");
return null;
}
@Override
public Map<String, IData> asMap() {
throw new UnsupportedOperationException("Cannot cast a short to a map");
return null;
}
@Override
public byte[] asByteArray() {
throw new RuntimeException("Cannot cast a short to a byte array");
return null;
}
@Override
public int[] asIntArray() {
throw new RuntimeException("Cannot cast a short to an int array");
return null;
}
@Override