Clean up warnings
This commit is contained in:
parent
0cf7b4be9b
commit
2f22560f3d
14 changed files with 19 additions and 22 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue