mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 06:58:41 +00:00
📍Use lombok, reformat, and optimize the code (#1560)
* Use lombok, reformat, and optimize the code * Fix merge conflicts and some sonar issues Co-authored-by: va1m <va1m@email.com>
This commit is contained in:
@@ -53,7 +53,7 @@ public class EventManager implements ThreadCompleteListener {
|
||||
*/
|
||||
public EventManager() {
|
||||
rand = new SecureRandom();
|
||||
eventPool = new ConcurrentHashMap<Integer, Event>(MAX_RUNNING_EVENTS);
|
||||
eventPool = new ConcurrentHashMap<>(MAX_RUNNING_EVENTS);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user