Kutu
30 Jul 2008, 1:31 PM
The following line is in BaseModelData get(String property):
return map == null ? null : (X) map.get(property);
This seems to fail silently because if the return value of map.get(property) is null, converting to (X) will fail (my guess)
Maybe it should return null as well if map.get() is null before type-casting to (X).
return map == null ? null : (X) map.get(property);
This seems to fail silently because if the return value of map.get(property) is null, converting to (X) will fail (my guess)
Maybe it should return null as well if map.get() is null before type-casting to (X).