mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Java 7 and 8 cleanup
Diamond operator <> Lambdas and method references
This commit is contained in:
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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user