mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +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
@@ -87,7 +87,7 @@ public class GuiSecurityDesk extends GuiMekanism
|
||||
return;
|
||||
}
|
||||
|
||||
ArrayList<Object> data = new ArrayList<Object>();
|
||||
ArrayList<Object> data = new ArrayList<>();
|
||||
data.add(0);
|
||||
data.add(trusted);
|
||||
|
||||
@@ -101,7 +101,7 @@ public class GuiSecurityDesk extends GuiMekanism
|
||||
return;
|
||||
}
|
||||
|
||||
List<String> text = new ArrayList<String>();
|
||||
List<String> text = new ArrayList<>();
|
||||
|
||||
if(tileEntity.frequency != null)
|
||||
{
|
||||
@@ -155,7 +155,7 @@ public class GuiSecurityDesk extends GuiMekanism
|
||||
SoundHandler.playSound(SoundEvents.UI_BUTTON_CLICK);
|
||||
}
|
||||
|
||||
ArrayList<Object> data = new ArrayList<Object>();
|
||||
ArrayList<Object> data = new ArrayList<>();
|
||||
|
||||
if(xAxis >= 146 && xAxis <= 162 && yAxis >= 59 && yAxis <= 75)
|
||||
{
|
||||
@@ -235,7 +235,7 @@ public class GuiSecurityDesk extends GuiMekanism
|
||||
{
|
||||
if(tileEntity != null)
|
||||
{
|
||||
ArrayList<Object> data = new ArrayList<Object>();
|
||||
ArrayList<Object> data = new ArrayList<>();
|
||||
data.add(1);
|
||||
data.add(tileEntity.frequency.trusted.get(selection));
|
||||
|
||||
|
||||
Reference in new issue
Block a user