localized some items in English.

This commit is contained in:
huanghongxun
2015-11-30 20:27:24 +08:00
parent 626cc2f6ed
commit 73a9fbb1c4
10 changed files with 19 additions and 13 deletions

View File

@@ -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;

View File

@@ -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);
}
}