mirror of
https://github.com/exituser/Brewery.git
synced 2026-09-17 06:38:56 +00:00
Use Java 7 Language Level
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user