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

+2 -2
View File
@@ -12,11 +12,11 @@ public class KeySync
public static int ASCEND = 0;
public static int DESCEND = 1;
public Map<EntityPlayer, KeySet> keys = new HashMap<EntityPlayer, KeySet>();
public Map<EntityPlayer, KeySet> keys = new HashMap<>();
public static class KeySet
{
public Set<Integer> keysActive = new HashSet<Integer>();
public Set<Integer> keysActive = new HashSet<>();
public KeySet(int key)
{