mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-06 16:50:39 +00:00
Infer types
This commit is contained in:
@@ -35,7 +35,7 @@ public class ServerProviderInfo {
|
|||||||
if ((line = br.readLine()) != null) {
|
if ((line = br.readLine()) != null) {
|
||||||
JSONObject jsonObject = (JSONObject) parser.parse(line);
|
JSONObject jsonObject = (JSONObject) parser.parse(line);
|
||||||
for (Object o : jsonObject.entrySet()) {
|
for (Object o : jsonObject.entrySet()) {
|
||||||
Map.Entry pairs = (Map.Entry) o;
|
Map.Entry<?, ?> pairs = (Map.Entry<?, ?>) o;
|
||||||
properties.put(String.valueOf(pairs.getKey()), String.valueOf(pairs.getValue()));
|
properties.put(String.valueOf(pairs.getKey()), String.valueOf(pairs.getValue()));
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
Reference in New Issue
Block a user