mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-09-10 08:48:56 +03:00
Remove compilation warning on Language.java
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user