Java 7 and 8 cleanup

Diamond operator <>
Lambdas and method references
This commit is contained in:
Tom Elfring committed 2017-08-05 17:50:38 +02:00
1 parent 3db03edbc9
commit b72d6efab3
234 files changed
+1614 -2253

No files matched your search

@@ -33,7 +33,7 @@ import net.minecraftforge.fml.common.FMLCommonHandler;
public class TileEntityBoilerCasing extends TileEntityMultiblock<SynchronizedBoilerData> implements IHeatTransfer
{
/** A client-sided set of valves on this tank's structure that are currently active, used on the client for rendering fluids. */
public Set<ValveData> valveViewing = new HashSet<ValveData>();
public Set<ValveData> valveViewing = new HashSet<>();
/** The capacity this tank has on the client-side. */
public int clientWaterCapacity;
@@ -253,7 +253,7 @@ public class TileEntityBoilerCasing extends TileEntityMultiblock<SynchronizedBoi
{
data.add(structure.clientHot);
Set<ValveData> toSend = new HashSet<ValveData>();
Set<ValveData> toSend = new HashSet<>();
for(ValveData valveData : structure.valves)
{