mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-21 20:52:11 +00:00
Intellij suggested changes
This commit is contained in:
1 parent
e3462ac9c9
commit
05b5fa7baf
80 files changed
+479
-487
No files matched your search
@@ -9,8 +9,8 @@ public class NEIActions
|
||||
{
|
||||
public static final int protocol = 0;
|
||||
|
||||
public static HashMap<String, NEIActions> nameActionMap = new HashMap<String, NEIActions>();
|
||||
public static HashSet<String> canDisable = new HashSet<String>();
|
||||
public static HashMap<String, NEIActions> nameActionMap = new HashMap<>();
|
||||
public static HashSet<String> canDisable = new HashSet<>();
|
||||
|
||||
public static void addAction(String name, String base, boolean smpreq)
|
||||
{
|
||||
@@ -85,7 +85,7 @@ public class NEIActions
|
||||
|
||||
public static List<String> baseActions()
|
||||
{
|
||||
List<String> list = new LinkedList<String>();
|
||||
List<String> list = new LinkedList<>();
|
||||
for(NEIActions a : nameActionMap.values())
|
||||
if(a.base.equals(a.name))
|
||||
list.add(a.name);
|
||||
|
||||
Reference in new issue
Block a user