Clean up warnings

This commit is contained in:
Mike Primm 2011-06-13 22:05:14 -05:00
parent 0cf7b4be9b
commit 2f22560f3d
14 changed files with 19 additions and 22 deletions

View file

@ -39,6 +39,7 @@ public class ClientComponent extends Component {
return o;
}
@SuppressWarnings("unchecked")
protected static final JSONArray convertList(List<?> l) {
JSONArray o = new JSONArray();
for(Object entry : l) {
@ -47,6 +48,7 @@ public class ClientComponent extends Component {
return o;
}
@SuppressWarnings("unchecked")
protected static final Object convert(Object o) {
if (o instanceof Map<?, ?>) {
return convertMap((Map<String, ?>)o);