Bad method name.

This commit is contained in:
asofold 2012-09-26 16:43:13 +02:00
parent a1493a8c71
commit 14da78fa8d
2 changed files with 2 additions and 2 deletions

View File

@ -300,7 +300,7 @@ public class NoCheatPlus extends JavaPlugin implements Listener {
// getServer().getScheduler().scheduleAsyncDelayedTask(this, new Runnable() { // getServer().getScheduler().scheduleAsyncDelayedTask(this, new Runnable() {
// @Override // @Override
// public void run() { // public void run() {
// updateAvailable = Updates.CheckForUpdatesTask(getDescription().getVersion(), timeout); // updateAvailable = Updates.checkForUpdates(getDescription().getVersion(), timeout);
// } // }
// }); // });
// } // }

View File

@ -33,7 +33,7 @@ public class Updates {
* @param updateTimeout * @param updateTimeout
* @return * @return
*/ */
public static boolean CheckForUpdatesTask(String versionString, int updateTimeout) { public static boolean checkForUpdates(String versionString, int updateTimeout) {
BufferedReader bufferedReader = null; BufferedReader bufferedReader = null;
boolean updateAvailable = false; boolean updateAvailable = false;
try { try {