modify license header

This commit is contained in:
huangyuhui
2016-01-30 14:43:13 +08:00
parent 587abda389
commit 55b200dec4
169 changed files with 228 additions and 241 deletions

View File

@@ -105,7 +105,7 @@ public class ModInfo implements Comparable<ModInfo> {
private static ModInfo getForgeModInfo(File f, ZipFile jar, ZipEntry entry) throws IOException { private static ModInfo getForgeModInfo(File f, ZipFile jar, ZipEntry entry) throws IOException {
ModInfo i = new ModInfo(); ModInfo i = new ModInfo();
i.location = f; i.location = f;
List<ModInfo> m = C.gson.fromJson(new InputStreamReader(jar.getInputStream(entry)), List<ModInfo> m = C.GSON.fromJson(new InputStreamReader(jar.getInputStream(entry)),
new TypeToken<List<ModInfo>>() { new TypeToken<List<ModInfo>>() {
}.getType()); }.getType());
if (m != null && m.size() > 0) { if (m != null && m.size() > 0) {
@@ -116,7 +116,7 @@ public class ModInfo implements Comparable<ModInfo> {
} }
private static ModInfo getLiteLoaderModInfo(File f, ZipFile jar, ZipEntry entry) throws IOException { private static ModInfo getLiteLoaderModInfo(File f, ZipFile jar, ZipEntry entry) throws IOException {
ModInfo m = C.gson.fromJson(new InputStreamReader(jar.getInputStream(entry)), ModInfo m = C.GSON.fromJson(new InputStreamReader(jar.getInputStream(entry)),
ModInfo.class); ModInfo.class);
if (m == null) if (m == null)
m = new ModInfo(); m = new ModInfo();

View File

@@ -59,7 +59,7 @@ public class AssetsMojangLoader extends IAssetsHandler {
String result = FileUtils.readFileToString(f); String result = FileUtils.readFileToString(f);
if (StrUtils.isBlank(result)) if (StrUtils.isBlank(result))
throw new IllegalStateException("Index json is empty, please redownload it!"); throw new IllegalStateException("Index json is empty, please redownload it!");
AssetsIndex o = C.gson.fromJson(result, AssetsIndex.class); AssetsIndex o = C.GSON.fromJson(result, AssetsIndex.class);
assetsDownloadURLs = new ArrayList<>(); assetsDownloadURLs = new ArrayList<>();
assetsLocalNames = new ArrayList<>(); assetsLocalNames = new ArrayList<>();
ArrayList<String> al = new ArrayList<>(); ArrayList<String> al = new ArrayList<>();

View File

@@ -102,7 +102,7 @@ public class MinecraftAssetService extends IMinecraftAssetService {
File objectsDir = new File(assetsDir, "objects"); File objectsDir = new File(assetsDir, "objects");
File indexFile = new File(indexDir, assetVersion + ".json"); File indexFile = new File(indexDir, assetVersion + ".json");
try { try {
AssetsIndex index = (AssetsIndex) C.gson.fromJson(FileUtils.readFileToString(indexFile, "UTF-8"), AssetsIndex.class); AssetsIndex index = (AssetsIndex) C.GSON.fromJson(FileUtils.readFileToString(indexFile, "UTF-8"), AssetsIndex.class);
String hash = ((AssetsObject) index.getFileMap().get(name)).getHash(); String hash = ((AssetsObject) index.getFileMap().get(name)).getHash();
return new File(objectsDir, hash.substring(0, 2) + "/" + hash); return new File(objectsDir, hash.substring(0, 2) + "/" + hash);

View File

@@ -140,6 +140,9 @@ public class YggdrasilAuthentication {
String jsonResult = input == null ? NetUtils.get(url) : NetUtils.post(url, GSON.toJson(input), "application/json", proxy); String jsonResult = input == null ? NetUtils.get(url) : NetUtils.post(url, GSON.toJson(input), "application/json", proxy);
Response response = (Response) GSON.fromJson(jsonResult, Response.class); Response response = (Response) GSON.fromJson(jsonResult, Response.class);
if (response == null)
throw new AuthenticationException("No valid response here");
if (StrUtils.isNotBlank(response.error)) { if (StrUtils.isNotBlank(response.error)) {
HMCLog.err("Failed to log in, the auth server returned an error: " + response.error + ", message: " + response.errorMessage + ", cause: " + response.cause); HMCLog.err("Failed to log in, the auth server returned an error: " + response.error + ", message: " + response.errorMessage + ", cause: " + response.cause);
if (response.errorMessage.contains("Invalid token")) if (response.errorMessage.contains("Invalid token"))

View File

@@ -85,7 +85,7 @@ public class MinecraftDownloadService extends IMinecraftDownloadService {
.addTask(new FileDownloadTask(vurl + id + ".jar", IOUtils.tryGetCanonicalFile(mvj)).setTag(id + ".jar")) .addTask(new FileDownloadTask(vurl + id + ".jar", IOUtils.tryGetCanonicalFile(mvj)).setTag(id + ".jar"))
.start()) .start())
try { try {
return C.gson.fromJson(FileUtils.readFileToStringQuietly(mvt), MinecraftVersion.class); return C.GSON.fromJson(FileUtils.readFileToStringQuietly(mvt), MinecraftVersion.class);
} catch (JsonSyntaxException ex) { } catch (JsonSyntaxException ex) {
HMCLog.err("Failed to parse minecraft version json.", ex); HMCLog.err("Failed to parse minecraft version json.", ex);
} }
@@ -155,7 +155,7 @@ public class MinecraftDownloadService extends IMinecraftDownloadService {
return new OverridableSwingWorker<MinecraftRemoteVersion>() { return new OverridableSwingWorker<MinecraftRemoteVersion>() {
@Override @Override
protected void work() throws Exception { protected void work() throws Exception {
MinecraftRemoteVersions r = C.gson.fromJson(NetUtils.get(service.getDownloadType().getProvider().getVersionsListDownloadURL()), MinecraftRemoteVersions.class); MinecraftRemoteVersions r = C.GSON.fromJson(NetUtils.get(service.getDownloadType().getProvider().getVersionsListDownloadURL()), MinecraftRemoteVersions.class);
if (r != null && r.versions != null) if (r != null && r.versions != null)
publish(r.versions.toArray(new MinecraftRemoteVersion[0])); publish(r.versions.toArray(new MinecraftRemoteVersion[0]));
} }

View File

@@ -59,7 +59,7 @@ public class ForgeInstaller extends Task {
ZipFile zipFile = new ZipFile(forgeInstaller); ZipFile zipFile = new ZipFile(forgeInstaller);
ZipEntry entry = zipFile.getEntry("install_profile.json"); ZipEntry entry = zipFile.getEntry("install_profile.json");
String content = NetUtils.getStreamContent(zipFile.getInputStream(entry)); String content = NetUtils.getStreamContent(zipFile.getInputStream(entry));
InstallProfile profile = C.gsonPrettyPrinting.fromJson(content, InstallProfile.class); InstallProfile profile = C.GSON.fromJson(content, InstallProfile.class);
File from = new File(gameDir, "versions" + File.separator + profile.install.minecraft); File from = new File(gameDir, "versions" + File.separator + profile.install.minecraft);
if (!from.exists()) if (!from.exists())
@@ -81,7 +81,7 @@ public class ForgeInstaller extends Task {
* if (library.name.startsWith("net.minecraftforge:forge:")) * if (library.name.startsWith("net.minecraftforge:forge:"))
* library.url = installerVersion.universal; * library.url = installerVersion.universal;
*/ */
FileUtils.write(new File(to, profile.install.target + ".json"), C.gsonPrettyPrinting.toJson(profile.versionInfo)); FileUtils.write(new File(to, profile.install.target + ".json"), C.GSON.toJson(profile.versionInfo));
HMCLog.log("Extracting universal forge pack..." + profile.install.filePath); HMCLog.log("Extracting universal forge pack..." + profile.install.filePath);

View File

@@ -53,7 +53,7 @@ public class MinecraftForgeVersionList extends InstallerVersionList {
return; return;
String s = NetUtils.get(DownloadType.getSuggestedDownloadType().getProvider().getParsedLibraryDownloadURL(C.URL_FORGE_LIST)); String s = NetUtils.get(DownloadType.getSuggestedDownloadType().getProvider().getParsedLibraryDownloadURL(C.URL_FORGE_LIST));
root = C.gson.fromJson(s, MinecraftForgeVersionRoot.class); root = C.GSON.fromJson(s, MinecraftForgeVersionRoot.class);
versionMap = new HashMap<>(); versionMap = new HashMap<>();
versions = new ArrayList<>(); versions = new ArrayList<>();

View File

@@ -78,7 +78,7 @@ public class LiteLoaderInstaller extends Task implements PreviousResultRegistrar
folder.mkdirs(); folder.mkdirs();
File json = new File(folder, mv.id + ".json"); File json = new File(folder, mv.id + ".json");
HMCLog.log("Creating new version profile..." + mv.id + ".json"); HMCLog.log("Creating new version profile..." + mv.id + ".json");
FileUtils.write(json, C.gsonPrettyPrinting.toJson(mv)); FileUtils.write(json, C.GSON.toJson(mv));
} }
@Override @Override

View File

@@ -55,7 +55,7 @@ public class LiteLoaderVersionList extends InstallerVersionList {
if (root != null) if (root != null)
return; return;
root = C.gson.fromJson(s, LiteLoaderVersionsRoot.class); root = C.GSON.fromJson(s, LiteLoaderVersionsRoot.class);
versionMap = new HashMap<>(); versionMap = new HashMap<>();
versions = new ArrayList<>(); versions = new ArrayList<>();

View File

@@ -75,7 +75,7 @@ public class OptiFineInstaller extends Task implements PreviousResultRegistrar<F
File loc = new File(service.baseDirectory(), "versions/" + mv.id); File loc = new File(service.baseDirectory(), "versions/" + mv.id);
loc.mkdirs(); loc.mkdirs();
File json = new File(loc, mv.id + ".json"); File json = new File(loc, mv.id + ".json");
FileUtils.writeStringToFile(json, C.gsonPrettyPrinting.toJson(mv, MinecraftVersion.class)); FileUtils.writeStringToFile(json, C.GSON.toJson(mv, MinecraftVersion.class));
} }
@Override @Override

View File

@@ -59,7 +59,7 @@ public class OptiFineBMCLVersionList extends InstallerVersionList {
if (s == null) if (s == null)
return; return;
root = C.gson.fromJson(s, new TypeToken<ArrayList<OptiFineVersion>>() { root = C.GSON.fromJson(s, new TypeToken<ArrayList<OptiFineVersion>>() {
}.getType()); }.getType());
for (OptiFineVersion v : root) { for (OptiFineVersion v : root) {
v.mirror = v.mirror.replace("http://optifine.net/http://optifine.net/", "http://optifine.net/"); v.mirror = v.mirror.replace("http://optifine.net/http://optifine.net/", "http://optifine.net/");

View File

@@ -128,7 +128,7 @@ public class MinecraftLoader extends AbstractMinecraftLoader {
return false; return false;
try { try {
AssetsIndex index = (AssetsIndex) C.gson.fromJson(FileUtils.readFileToString(indexFile, "UTF-8"), AssetsIndex.class); AssetsIndex index = (AssetsIndex) C.GSON.fromJson(FileUtils.readFileToString(indexFile, "UTF-8"), AssetsIndex.class);
if (index == null) if (index == null)
return false; return false;
@@ -155,7 +155,7 @@ public class MinecraftLoader extends AbstractMinecraftLoader {
} }
try { try {
AssetsIndex index = (AssetsIndex) C.gson.fromJson(FileUtils.readFileToString(indexFile, "UTF-8"), AssetsIndex.class); AssetsIndex index = (AssetsIndex) C.GSON.fromJson(FileUtils.readFileToString(indexFile, "UTF-8"), AssetsIndex.class);
if (index == null) if (index == null)
return assetsDir; return assetsDir;

View File

@@ -33,7 +33,6 @@ import org.jackhuang.hellominecraft.launcher.core.service.IMinecraftProvider;
import org.jackhuang.hellominecraft.launcher.core.service.IMinecraftService; import org.jackhuang.hellominecraft.launcher.core.service.IMinecraftService;
import org.jackhuang.hellominecraft.launcher.core.version.MinecraftVersion; import org.jackhuang.hellominecraft.launcher.core.version.MinecraftVersion;
import org.jackhuang.hellominecraft.util.func.BiFunction; import org.jackhuang.hellominecraft.util.func.BiFunction;
import org.jackhuang.hellominecraft.util.func.Predicate;
import org.jackhuang.hellominecraft.util.system.Compressor; import org.jackhuang.hellominecraft.util.system.Compressor;
import org.jackhuang.hellominecraft.util.system.FileUtils; import org.jackhuang.hellominecraft.util.system.FileUtils;
import org.jackhuang.hellominecraft.util.system.ZipEngine; import org.jackhuang.hellominecraft.util.system.ZipEngine;
@@ -89,13 +88,10 @@ public final class ModpackManager {
try { try {
final AtomicInteger b = new AtomicInteger(0); final AtomicInteger b = new AtomicInteger(0);
HMCLog.log("Decompressing modpack"); HMCLog.log("Decompressing modpack");
Compressor.unzip(input, versions, new Predicate<String>() { Compressor.unzip(input, versions, t -> {
@Override if (t.equals("minecraft/pack.json"))
public boolean apply(String t) { b.incrementAndGet();
if (t.equals("minecraft/pack.json")) return true;
b.incrementAndGet();
return true;
}
}, true); }, true);
if (b.get() < 1) if (b.get() < 1)
throw new FileNotFoundException(C.i18n("modpack.incorrect_format.no_json")); throw new FileNotFoundException(C.i18n("modpack.incorrect_format.no_json"));
@@ -103,13 +99,13 @@ public final class ModpackManager {
oldFile.renameTo(nowFile); oldFile.renameTo(nowFile);
File json = new File(nowFile, "pack.json"); File json = new File(nowFile, "pack.json");
MinecraftVersion mv = C.gson.fromJson(FileUtils.readFileToString(json), MinecraftVersion.class); MinecraftVersion mv = C.GSON.fromJson(FileUtils.readFileToString(json), MinecraftVersion.class);
if (mv.jar == null) if (mv.jar == null)
throw new FileNotFoundException(C.i18n("modpack.incorrect_format.no_jar")); throw new FileNotFoundException(C.i18n("modpack.incorrect_format.no_jar"));
c.add(service.download().downloadMinecraftJarTo(mv.jar, new File(nowFile, id + ".jar"))); c.add(service.download().downloadMinecraftJarTo(mv.jar, new File(nowFile, id + ".jar")));
mv.jar = null; mv.jar = null;
FileUtils.writeStringToFile(json, C.gsonPrettyPrinting.toJson(mv)); FileUtils.writeStringToFile(json, C.GSON.toJson(mv));
json.renameTo(new File(nowFile, id + ".json")); json.renameTo(new File(nowFile, id + ".json"));
if (preVersionRenamed != null) { if (preVersionRenamed != null) {
@@ -216,7 +212,7 @@ public final class ModpackManager {
throw new FileSystemException(C.i18n("modpack.cannot_read_version") + ": " + MinecraftVersionRequest.getResponse(r)); throw new FileSystemException(C.i18n("modpack.cannot_read_version") + ": " + MinecraftVersionRequest.getResponse(r));
mv.jar = r.version; mv.jar = r.version;
mv.runDir = "version"; mv.runDir = "version";
zip.putTextFile(C.gsonPrettyPrinting.toJson(mv), "minecraft/pack.json"); zip.putTextFile(C.GSON.toJson(mv), "minecraft/pack.json");
} finally { } finally {
if (zip != null) if (zip != null)
zip.closeFile(); zip.closeFile();

View File

@@ -113,7 +113,7 @@ public class MinecraftVersionManager extends IMinecraftProvider {
} }
MinecraftVersion mcVersion; MinecraftVersion mcVersion;
try { try {
mcVersion = C.gson.fromJson(FileUtils.readFileToString(jsonFile), MinecraftVersion.class); mcVersion = C.GSON.fromJson(FileUtils.readFileToString(jsonFile), MinecraftVersion.class);
if (mcVersion == null) if (mcVersion == null)
throw new GameException("Wrong json format, got null."); throw new GameException("Wrong json format, got null.");
} catch (IOException | GameException e) { } catch (IOException | GameException e) {
@@ -121,7 +121,7 @@ public class MinecraftVersionManager extends IMinecraftProvider {
if (MessageBox.Show(C.i18n("launcher.versions_json_not_formatted", id), MessageBox.YES_NO_OPTION) == MessageBox.YES_OPTION) { if (MessageBox.Show(C.i18n("launcher.versions_json_not_formatted", id), MessageBox.YES_NO_OPTION) == MessageBox.YES_OPTION) {
service.download().downloadMinecraftVersionJson(id); service.download().downloadMinecraftVersionJson(id);
try { try {
mcVersion = C.gson.fromJson(FileUtils.readFileToString(jsonFile), MinecraftVersion.class); mcVersion = C.GSON.fromJson(FileUtils.readFileToString(jsonFile), MinecraftVersion.class);
if (mcVersion == null) if (mcVersion == null)
throw new GameException("Wrong json format, got null."); throw new GameException("Wrong json format, got null.");
} catch (IOException | GameException ex) { } catch (IOException | GameException ex) {
@@ -135,7 +135,7 @@ public class MinecraftVersionManager extends IMinecraftProvider {
if (!id.equals(mcVersion.id)) { if (!id.equals(mcVersion.id)) {
HMCLog.warn("Found: " + dir + ", it contains id: " + mcVersion.id + ", expected: " + id + ", this app will fix this problem."); HMCLog.warn("Found: " + dir + ", it contains id: " + mcVersion.id + ", expected: " + id + ", this app will fix this problem.");
mcVersion.id = id; mcVersion.id = id;
FileUtils.writeQuietly(jsonFile, C.gsonPrettyPrinting.toJson(mcVersion)); FileUtils.writeQuietly(jsonFile, C.GSON.toJson(mcVersion));
} }
if (mcVersion.libraries != null) if (mcVersion.libraries != null)
@@ -169,9 +169,9 @@ public class MinecraftVersionManager extends IMinecraftProvider {
public boolean renameVersion(String from, String to) { public boolean renameVersion(String from, String to) {
try { try {
File fromJson = new File(versionRoot(from), from + ".json"); File fromJson = new File(versionRoot(from), from + ".json");
MinecraftVersion mcVersion = C.gson.fromJson(FileUtils.readFileToString(fromJson), MinecraftVersion.class); MinecraftVersion mcVersion = C.GSON.fromJson(FileUtils.readFileToString(fromJson), MinecraftVersion.class);
mcVersion.id = to; mcVersion.id = to;
FileUtils.writeQuietly(fromJson, C.gsonPrettyPrinting.toJson(mcVersion)); FileUtils.writeQuietly(fromJson, C.GSON.toJson(mcVersion));
File toDir = versionRoot(to); File toDir = versionRoot(to);
versionRoot(from).renameTo(toDir); versionRoot(from).renameTo(toDir);
File toJson = new File(toDir, to + ".json"); File toJson = new File(toDir, to + ".json");
@@ -200,7 +200,7 @@ public class MinecraftVersionManager extends IMinecraftProvider {
if (callback != null) { if (callback != null) {
callback.accept(v); callback.accept(v);
File mvt = new File(versionRoot(id), id + ".json"); File mvt = new File(versionRoot(id), id + ".json");
FileUtils.writeQuietly(mvt, C.gsonPrettyPrinting.toJson(v)); FileUtils.writeQuietly(mvt, C.GSON.toJson(v));
} }
if (v != null) { if (v != null) {
refreshVersions(); refreshVersions();

View File

@@ -62,7 +62,7 @@ public class DefaultMinecraftService extends IMinecraftService {
if (f.exists()) { if (f.exists()) {
String s = FileUtils.readFileToStringQuietly(f); String s = FileUtils.readFileToStringQuietly(f);
if (s != null) if (s != null)
vs = C.gson.fromJson(s, VersionSetting.class); vs = C.GSON.fromJson(s, VersionSetting.class);
} }
vs.id = id; vs.id = id;
versionSettings.put(id, vs); versionSettings.put(id, vs);
@@ -90,7 +90,7 @@ public class DefaultMinecraftService extends IMinecraftService {
if (!versionSettings.containsKey(id)) if (!versionSettings.containsKey(id))
return; return;
File f = new File(provider.versionRoot(id), "hmclversion.cfg"); File f = new File(provider.versionRoot(id), "hmclversion.cfg");
FileUtils.writeQuietly(f, C.gson.toJson(versionSettings.get(id))); FileUtils.writeQuietly(f, C.GSON.toJson(versionSettings.get(id)));
} }
@Override @Override

View File

@@ -34,7 +34,7 @@ public final class Profile {
private String name, selectedMinecraftVersion = "", gameDir; private String name, selectedMinecraftVersion = "", gameDir;
protected transient IMinecraftService service; private transient IMinecraftService service;
public transient final EventHandler<String> propertyChanged = new EventHandler<>(this); public transient final EventHandler<String> propertyChanged = new EventHandler<>(this);
public Profile() { public Profile() {
@@ -74,9 +74,9 @@ public final class Profile {
public String getSelectedVersion() { public String getSelectedVersion() {
String v = selectedMinecraftVersion; String v = selectedMinecraftVersion;
if (StrUtils.isBlank(v) || service.version().getVersionById(v) == null) { if (StrUtils.isBlank(v) || service().version().getVersionById(v) == null) {
if (service.version().getVersionCount() > 0) if (service().version().getVersionCount() > 0)
v = service.version().getOneVersion().id; v = service().version().getOneVersion().id;
if (StrUtils.isNotBlank(v)) if (StrUtils.isNotBlank(v))
setSelectedMinecraftVersion(v); setSelectedMinecraftVersion(v);
} }

View File

@@ -55,12 +55,9 @@ public final class Settings {
static { static {
SETTINGS = initSettings(); SETTINGS = initSettings();
SETTINGS.downloadTypeChangedEvent.register(new Event<DownloadType>() { SETTINGS.downloadTypeChangedEvent.register((sender, t) -> {
@Override DownloadType.setSuggestedDownloadType(t);
public boolean call(Object sender, DownloadType t) { return true;
DownloadType.setSuggestedDownloadType(t);
return true;
}
}); });
DownloadType.setSuggestedDownloadType(SETTINGS.getDownloadSource()); DownloadType.setSuggestedDownloadType(SETTINGS.getDownloadSource());
if (!getProfiles().containsKey(DEFAULT_PROFILE)) if (!getProfiles().containsKey(DEFAULT_PROFILE))
@@ -68,12 +65,9 @@ public final class Settings {
for (Profile e : getProfiles().values()) { for (Profile e : getProfiles().values()) {
e.checkFormat(); e.checkFormat();
e.propertyChanged.register(new Event<String>() { e.propertyChanged.register((sender, t) -> {
@Override save();
public boolean call(Object sender, String t) { return true;
save();
return true;
}
}); });
} }
} }
@@ -86,7 +80,7 @@ public final class Settings {
if (str == null || str.trim().equals("")) if (str == null || str.trim().equals(""))
HMCLog.log("Settings file is empty, use the default settings."); HMCLog.log("Settings file is empty, use the default settings.");
else { else {
Config d = C.gsonPrettyPrinting.fromJson(str, Config.class); Config d = C.GSON.fromJson(str, Config.class);
if (d != null) if (d != null)
c = d; c = d;
} }
@@ -105,7 +99,7 @@ public final class Settings {
public static void save() { public static void save() {
try { try {
FileUtils.write(SETTINGS_FILE, C.gsonPrettyPrinting.toJson(SETTINGS)); FileUtils.write(SETTINGS_FILE, C.GSON.toJson(SETTINGS));
} catch (IOException ex) { } catch (IOException ex) {
HMCLog.err("Failed to save config", ex); HMCLog.err("Failed to save config", ex);
} }
@@ -126,12 +120,7 @@ public final class Settings {
} }
public static Collection<Profile> getProfilesFiltered() { public static Collection<Profile> getProfilesFiltered() {
return CollectionUtils.map(getProfiles().values(), new Predicate<Profile>() { return CollectionUtils.map(getProfiles().values(), t -> t != null && t.getName() != null);
@Override
public boolean apply(Profile t) {
return t != null && t.getName() != null;
}
});
} }
public static Profile getOneProfile() { public static Profile getOneProfile() {

View File

@@ -62,7 +62,7 @@ public class AppDataUpgrader extends IUpgrader {
try { try {
File f = AppDataUpgraderTask.HMCL_VER_FILE; File f = AppDataUpgraderTask.HMCL_VER_FILE;
if (f.exists()) { if (f.exists()) {
Map<String, String> m = C.gson.fromJson(FileUtils.readFileToString(f), Map.class); Map<String, String> m = C.GSON.fromJson(FileUtils.readFileToString(f), Map.class);
String s = m.get("ver"); String s = m.get("ver");
if (s != null && VersionNumber.check(s).compareTo(nowVersion) > 0) { if (s != null && VersionNumber.check(s).compareTo(nowVersion) > 0) {
String j = m.get("loc"); String j = m.get("loc");
@@ -166,7 +166,7 @@ public class AppDataUpgrader extends IUpgrader {
} }
json.put("ver", newestVersion); json.put("ver", newestVersion);
json.put("loc", f.getAbsolutePath()); json.put("loc", f.getAbsolutePath());
String result = C.gson.toJson(json); String result = C.GSON.toJson(json);
FileUtils.write(HMCL_VER_FILE, result); FileUtils.write(HMCL_VER_FILE, result);
} }

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -28,8 +28,7 @@ import java.util.ResourceBundle;
*/ */
public final class C { public final class C {
public static final Gson gsonPrettyPrinting = new GsonBuilder().setPrettyPrinting().create(); public static final Gson GSON = new GsonBuilder().setPrettyPrinting().create();
public static final Gson gson = new Gson();
public static final ResourceBundle I18N; public static final ResourceBundle I18N;

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@@ -74,7 +74,7 @@ public final class UpdateChecker implements IUpdateChecker {
protected void work() throws Exception { protected void work() throws Exception {
if (download_link == null) if (download_link == null)
try { try {
download_link = C.gson.fromJson(NetUtils.get("http://huangyuhui.duapp.com/update_link.php?type=" + type), Map.class); download_link = C.GSON.fromJson(NetUtils.get("http://huangyuhui.duapp.com/update_link.php?type=" + type), Map.class);
} catch (Exception e) { } catch (Exception e) {
HMCLog.warn("Failed to get update link.", e); HMCLog.warn("Failed to get update link.", e);
} }

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

View File

@@ -1,5 +1,5 @@
/* /*
* Hello Minecraft! Launcher. * Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com> * Copyright (C) 2013 huangyuhui <huanghongxun2008@126.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify

Some files were not shown because too many files have changed in this diff Show More