modify license header

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

No files matched your search

@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* 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 static final Gson gsonPrettyPrinting = new GsonBuilder().setPrettyPrinting().create();
public static final Gson gson = new Gson();
public static final Gson GSON = new GsonBuilder().setPrettyPrinting().create();
public static final ResourceBundle I18N;
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* 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 {
if (download_link == null)
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) {
HMCLog.warn("Failed to get update link.", e);
}
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -107,7 +107,7 @@ public class FileDownloadTask extends Task implements PreviousResult<File>, Prev
= (HttpURLConnection) url.openConnection();
connection.setConnectTimeout(5000);
connection.setRequestProperty("User-Agent", "Hello Minecraft! Launcher");
connection.setRequestProperty("User-Agent", "Hello Minecraft!");
// Connect to server.
connection.connect();
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
@@ -1,5 +1,5 @@
/*
* Hello Minecraft! Launcher.
* Hello Minecraft!.
* Copyright (C) 2013 huangyuhui <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
Loaded 100 of 169 files, more files were not shown because too many files have changed in this diff. Show more