Finally use Java7 <>

This commit is contained in:
yueh
2017-07-20 21:21:45 +02:00
parent 8ec8babb6a
commit 7de90ed0ae
145 changed files with 315 additions and 315 deletions
@@ -35,8 +35,8 @@ import appeng.api.storage.data.IAEItemStack;
public class OreReference
{
private final List<String> otherOptions = new LinkedList<String>();
private final Set<Integer> ores = new HashSet<Integer>();
private final List<String> otherOptions = new LinkedList<>();
private final Set<Integer> ores = new HashSet<>();
private List<IAEItemStack> aeOtherOptions = null;
Collection<String> getEquivalents()
@@ -48,7 +48,7 @@ public class OreReference
{
if( this.aeOtherOptions == null )
{
this.aeOtherOptions = new ArrayList<IAEItemStack>( this.otherOptions.size() );
this.aeOtherOptions = new ArrayList<>( this.otherOptions.size() );
// SUMMON AE STACKS!
for( final String oreName : this.otherOptions )