Few lambda's and removed explicit type from creating lists and hashmaps

This commit is contained in:
vraskulin 2017-02-28 13:46:54 +03:00
parent 0a3c95dde5
commit 11dc1e10f1
130 changed files with 725 additions and 1105 deletions

View file

@ -2,7 +2,7 @@
package mage.client.unusedFiles;
//package mage.client.thread;
import java.awt.Component;
import java.awt.*;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
@ -18,7 +18,7 @@ public class DelayedViewerThread extends Thread {
private final Map<Component, Long> delayedViewers;
protected DelayedViewerThread() {
delayedViewers = new HashMap<Component, Long>();
delayedViewers = new HashMap<>();
start();
}