removed obsolete warning
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -40,7 +40,6 @@ public class Translations extends PathHandler implements Translator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private JSONObject loadTranslations(String lang) throws IOException {
|
private JSONObject loadTranslations(String lang) throws IOException {
|
||||||
LOG.log(WARNING,"loadTranslations({0}) not implemented!",lang);
|
|
||||||
var filename = lang + ".json";
|
var filename = lang + ".json";
|
||||||
URL url = getClass().getClassLoader().getResource(filename);
|
URL url = getClass().getClassLoader().getResource(filename);
|
||||||
if (url == null) return new JSONObject();
|
if (url == null) return new JSONObject();
|
||||||
|
|||||||
Reference in New Issue
Block a user