mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-20 14:24:15 +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:
@@ -23,8 +23,7 @@
|
||||
|
||||
package com.iluwatar.updatemethod;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
/**
|
||||
* This pattern simulate a collection of independent objects by telling each to
|
||||
@@ -32,10 +31,9 @@ import org.slf4j.LoggerFactory;
|
||||
* of objects. Each object implements an update method that simulates one frame of
|
||||
* the object’s behavior. Each frame, the game updates every object in the collection.
|
||||
*/
|
||||
@Slf4j
|
||||
public class App {
|
||||
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(App.class);
|
||||
|
||||
private static final int GAME_RUNNING_TIME = 2000;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user