Generic cleanup of warnings, whitespace and style.

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
Bukkit/Spigot
2011-12-25 16:02:30 +01:00
parent 98960fd73e
commit aaab1cba23
257 changed files with 1408 additions and 1152 deletions

View File

@@ -6,34 +6,34 @@ import java.util.HashMap;
* Represents the art on a painting
*/
public enum Art {
KEBAB(0,1,1),
AZTEC(1,1,1),
ALBAN(2,1,1),
AZTEC2(3,1,1),
BOMB(4,1,1),
PLANT(5,1,1),
WASTELAND(6,1,1),
POOL(7,2,1),
COURBET(8,2,1),
SEA(9,2,1),
SUNSET(10,2,1),
CREEBET(11,2,1),
WANDERER(12,1,2),
GRAHAM(13,1,2),
MATCH(14,4,2),
BUST(15,2,2),
STAGE(16,2,2),
VOID(17,2,2),
SKULL_AND_ROSES(18,2,2),
FIGHTERS(19,2,2),
POINTER(20,4,4),
PIGSCENE(21,4,4),
BURNINGSKULL(22,4,4),
SKELETON(23,4,3),
DONKEYKONG(24,4,3);
KEBAB(0, 1, 1),
AZTEC(1, 1, 1),
ALBAN(2, 1, 1),
AZTEC2(3, 1, 1),
BOMB(4, 1, 1),
PLANT(5, 1, 1),
WASTELAND(6, 1, 1),
POOL(7, 2, 1),
COURBET(8, 2, 1),
SEA(9, 2, 1),
SUNSET(10, 2, 1),
CREEBET(11, 2, 1),
WANDERER(12, 1, 2),
GRAHAM(13, 1, 2),
MATCH(14, 4, 2),
BUST(15, 2, 2),
STAGE(16, 2, 2),
VOID(17, 2, 2),
SKULL_AND_ROSES(18, 2, 2),
FIGHTERS(19, 2, 2),
POINTER(20, 4, 4),
PIGSCENE(21, 4, 4),
BURNINGSKULL(22, 4, 4),
SKELETON(23, 4, 3),
DONKEYKONG(24, 4, 3);
private int id, width, height;
private static HashMap<String,Art> names = new HashMap<String,Art>();
private static HashMap<Integer,Art> ids = new HashMap<Integer,Art>();
private static HashMap<String, Art> names = new HashMap<String, Art>();
private static HashMap<Integer, Art> ids = new HashMap<Integer, Art>();
static {
for (Art art : Art.values()) {
ids.put(art.id, art);