Begin implementation of CheckStyle style checking

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2019-04-23 14:00:20 +10:00
parent 30a442aef7
commit c240b58f66
88 changed files with 246 additions and 192 deletions

View File

@@ -13,7 +13,7 @@ import org.bukkit.generator.ChunkGenerator;
public class TestPlugin extends PluginBase {
private boolean enabled = true;
final private String pluginName;
private final String pluginName;
public TestPlugin(String pluginName) {
this.pluginName = pluginName;

View File

@@ -9,7 +9,7 @@ import java.util.HashMap;
import org.bukkit.entity.Player;
public class TestPlayer implements InvocationHandler {
public final class TestPlayer implements InvocationHandler {
private static interface MethodHandler {
Object handle(TestPlayer server, Object[] args);
}