Commit f07ce48b authored by AnimeGitB's avatar AnimeGitB
Browse files

Remove compilation warning on Language.java

parent 2dd644f2
...@@ -356,6 +356,7 @@ public final class Language { ...@@ -356,6 +356,7 @@ public final class Language {
); );
} }
@SuppressWarnings("unchecked")
private static Int2ObjectMap<TextStrings> loadTextMapsCache() throws Exception { private static Int2ObjectMap<TextStrings> loadTextMapsCache() throws Exception {
try (ObjectInputStream file = new ObjectInputStream(new BufferedInputStream(Files.newInputStream(TEXTMAP_CACHE_PATH), 0x100000))) { try (ObjectInputStream file = new ObjectInputStream(new BufferedInputStream(Files.newInputStream(TEXTMAP_CACHE_PATH), 0x100000))) {
final int fileVersion = file.readInt(); final int fileVersion = file.readInt();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment