[Android] Get rid of a typecast om ConfigFile.java.
This commit is contained in:
parent
fee10d3d76
commit
f1b6f95c40
|
@ -90,9 +90,9 @@ public final class ConfigFile {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getString(String key) {
|
public String getString(String key) {
|
||||||
Object ret = map.get(key);
|
String ret = map.get(key);
|
||||||
if (ret != null)
|
if (ret != null)
|
||||||
return (String) ret;
|
return ret;
|
||||||
else
|
else
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue