Use Java 7 Language Level

This commit is contained in:
Sn0wStorm
2016-05-27 19:31:05 +02:00
parent 816dacf76b
commit 581dd69f38
18 changed files with 51 additions and 57 deletions
+4 -4
View File
@@ -29,7 +29,7 @@ import org.apache.commons.lang.ArrayUtils;
public class Barrel implements InventoryHolder {
public static CopyOnWriteArrayList<Barrel> barrels = new CopyOnWriteArrayList<Barrel>();
public static CopyOnWriteArrayList<Barrel> barrels = new CopyOnWriteArrayList<>();
private static int check = 0;
private Block spigot;
@@ -766,7 +766,7 @@ public class Barrel implements InventoryHolder {
int endX;
int endZ;
ArrayList<Integer> stairs = new ArrayList<Integer>();
ArrayList<Integer> stairs = new ArrayList<>();
if (direction == 1) {
startX = 1;
@@ -839,8 +839,8 @@ public class Barrel implements InventoryHolder {
int endX;
int endZ;
ArrayList<Integer> stairs = new ArrayList<Integer>();
ArrayList<Integer> woods = new ArrayList<Integer>();
ArrayList<Integer> stairs = new ArrayList<>();
ArrayList<Integer> woods = new ArrayList<>();
if (direction == 1) {
startX = 1;