removed unused warning + surpressed warning

This commit is contained in:
Parnassian
2015-03-06 16:11:58 +01:00
parent 5fb9fa3826
commit a6ced6adf5
2 changed files with 2 additions and 2 deletions
+2 -1
View File
@@ -99,7 +99,8 @@ public class Core {
* Checks the version of the bot using a checksum of the jar comparison against checksum given by the website
* @return <b>true</b> if no new version is found, otherwise <b>false</b>.
*/
private static boolean checksumValid(){
@SuppressWarnings("unused")
private static boolean checksumValid(){
String checksum = "";
File f = new File(Landing.class.getProtectionDomain().getCodeSource().getLocation().getFile());
@@ -4,7 +4,6 @@ import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.net.SocketException;
import javax.swing.Box;
import javax.swing.BoxLayout;