Cleaned up a lot of different inspections
This commit is contained in:
parent
0dd0854bd9
commit
70d98455b7
207 changed files with 603 additions and 731 deletions
|
@ -2,14 +2,12 @@ package WayofTime.bloodmagic.util.helper;
|
|||
|
||||
import WayofTime.bloodmagic.core.data.Binding;
|
||||
import WayofTime.bloodmagic.iface.IBindable;
|
||||
import WayofTime.bloodmagic.util.Constants;
|
||||
import WayofTime.bloodmagic.event.SoulNetworkEvent;
|
||||
import WayofTime.bloodmagic.orb.BloodOrb;
|
||||
import WayofTime.bloodmagic.orb.IBloodOrb;
|
||||
import WayofTime.bloodmagic.core.registry.OrbRegistry;
|
||||
import WayofTime.bloodmagic.core.data.BMWorldSavedData;
|
||||
import WayofTime.bloodmagic.core.data.SoulNetwork;
|
||||
import com.google.common.base.Strings;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.world.World;
|
||||
|
|
|
@ -4,7 +4,7 @@ import java.util.TreeMap;
|
|||
|
||||
public class NumeralHelper {
|
||||
|
||||
private static final TreeMap<Integer, String> romanNumerals = new TreeMap<Integer, String>();
|
||||
private static final TreeMap<Integer, String> romanNumerals = new TreeMap<>();
|
||||
|
||||
static {
|
||||
romanNumerals.put(1000, "M");
|
||||
|
|
|
@ -36,7 +36,7 @@ public class TextHelper {
|
|||
}
|
||||
|
||||
public static ArrayList<String> localizeAll(List<String> input) {
|
||||
ArrayList<String> ret = new ArrayList<String>(input.size());
|
||||
ArrayList<String> ret = new ArrayList<>(input.size());
|
||||
for (int i = 0; i < input.size(); i++)
|
||||
ret.add(i, localize(input.get(i)));
|
||||
|
||||
|
@ -44,7 +44,7 @@ public class TextHelper {
|
|||
}
|
||||
|
||||
public static ArrayList<String> localizeAllEffect(List<String> input) {
|
||||
ArrayList<String> ret = new ArrayList<String>(input.size());
|
||||
ArrayList<String> ret = new ArrayList<>(input.size());
|
||||
for (int i = 0; i < input.size(); i++)
|
||||
ret.add(i, localizeEffect(input.get(i)));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue