Clean the project

This commit is contained in:
Gabriele C
2016-01-20 12:40:04 +01:00
parent adfd0e6674
commit 51d2e37853
17 changed files with 331 additions and 87 deletions

View File

@ -13,7 +13,6 @@ import java.util.regex.Pattern;
import com.intellectualcrafters.plot.config.C;
import com.intellectualcrafters.plot.object.PlotPlayer;
import com.intellectualcrafters.plot.util.Permissions;
import com.intellectualcrafters.plot.util.StringMan;
import com.plotsquared.general.commands.Command;

View File

@ -27,7 +27,7 @@ import com.intellectualcrafters.plot.object.PlotPlayer;
* SubCommand class
*
*/
*/
@SuppressWarnings({ "deprecation" })
public abstract class SubCommand extends com.plotsquared.general.commands.Command<PlotPlayer> {

View File

@ -30,7 +30,6 @@ import com.intellectualcrafters.plot.util.StringComparison;
* Main Configuration Utility
*
*/
*/
public class Configuration {

View File

@ -45,7 +45,6 @@ import com.intellectualcrafters.plot.util.Permissions;
*/
@SuppressWarnings("unused")
public class FlagManager {
private final static HashSet<String> reserved = new HashSet<>();

View File

@ -95,7 +95,6 @@ public class ConsoleColors {
win = lin;
}
@SuppressWarnings("unused")
public String getWin() {
return win;
}

View File

@ -186,7 +186,8 @@ public abstract class EventUtil {
if (Permissions.hasPermission(pp, C.PERMISSION_ADMIN_INTERACT_OTHER.s(), false)) {
return true;
}
return !(!false || MainUtil.sendMessage(pp, C.FLAG_TUTORIAL_USAGE, C.FLAG_USE.s() + "/" + C.FLAG_DEVICE_INTERACT.s()));
// TODO: fix the commented dead code
return true; //!(!false || MainUtil.sendMessage(pp, C.FLAG_TUTORIAL_USAGE, C.FLAG_USE.s() + "/" + C.FLAG_DEVICE_INTERACT.s()));
}
return true;
}

View File

@ -28,7 +28,6 @@ import java.util.Collections;
* String comparison library
*
*/
public class StringComparison<T> {

View File

@ -5,7 +5,6 @@ import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.nio.ByteBuffer;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;