mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 13:15:39 +00:00
Remove compilation warning on Language.java
This commit is contained in:
parent
2dd644f28b
commit
f07ce48b24
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user