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

@@ -7,16 +7,16 @@ import org.bukkit.block.BlockFace;
* Material data for the piston base block
*/
public class PistonBaseMaterial extends MaterialData implements Directional, Redstone {
public PistonBaseMaterial(final Material type) {
super(type);
}
/**
* Constructs a PistonBaseMaterial.
*
*
* @param type the material type to use
* @param data the raw data value
* @param data the raw data value
* @deprecated Magic value
*/
@Deprecated

View File

@@ -23,7 +23,7 @@ public class Wood extends MaterialData {
/**
* Constructs a wood block of the given tree species.
*
*
* @param species the species of the wood block
*/
public Wood(TreeSpecies species) {

View File

@@ -66,8 +66,8 @@ public enum MushroomBlockTexture {
* Stem texture on all faces.
*/
ALL_STEM(15, null);
private final static Map<Byte, MushroomBlockTexture> BY_DATA = Maps.newHashMap();
private final static Map<BlockFace, MushroomBlockTexture> BY_BLOCKFACE = Maps.newHashMap();
private static final Map<Byte, MushroomBlockTexture> BY_DATA = Maps.newHashMap();
private static final Map<BlockFace, MushroomBlockTexture> BY_BLOCKFACE = Maps.newHashMap();
private final Byte data;
private final BlockFace capFace;