localized some items in English.
This commit is contained in:
@@ -51,6 +51,7 @@ public final class NetUtils {
|
||||
|
||||
public static String getStreamContent(InputStream is, String encoding)
|
||||
throws IOException {
|
||||
if (is == null) return null;
|
||||
StringBuilder sb = new StringBuilder();
|
||||
try (InputStreamReader br = new InputStreamReader(is, encoding)) {
|
||||
int len;
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
package org.jackhuang.hellominecraft.version;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import org.jackhuang.hellominecraft.C;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -28,8 +27,4 @@ public class MinecraftRemoteVersions {
|
||||
public ArrayList<MinecraftRemoteVersion> versions;
|
||||
public MinecraftRemoteLatestVersion latest;
|
||||
|
||||
public static MinecraftRemoteVersions fromJson(String s) {
|
||||
return C.gson.fromJson(s, MinecraftRemoteVersions.class);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user