Fix #881 Update codebase to Java 7

This commit is contained in:
mezz committed 2015-10-10 22:49:09 -07:00
1 parent 9ecab0fecd
commit 3f0dc9e74f
185 files changed
+427 -414

No files matched your search

@@ -31,7 +31,7 @@ import forestry.storage.items.ItemBackpack;
public class ResupplyHandler implements IResupplyHandler {
private static List<ItemStack> backpacks(InventoryPlayer playerInventory) {
List<ItemStack> backpacks = new ArrayList<ItemStack>();
List<ItemStack> backpacks = new ArrayList<>();
for (ItemStack itemStack : playerInventory.mainInventory) {
if (itemStack != null && itemStack.stackSize > 0 && (itemStack.getItem() instanceof ItemBackpack)) {
backpacks.add(itemStack);