mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-19 11:25:58 +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:
@@ -25,8 +25,7 @@ package com.iluwatar.dirtyflag;
|
||||
|
||||
import java.util.concurrent.Executors;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
/**
|
||||
* This application demonstrates the <b>Dirty Flag</b> pattern. The dirty flag behavioral pattern
|
||||
@@ -51,10 +50,9 @@ import org.slf4j.LoggerFactory;
|
||||
* re-fetches from <i>world.txt</i> when needed. {@link World} mainly serves the data to the
|
||||
* front-end.
|
||||
*/
|
||||
@Slf4j
|
||||
public class App {
|
||||
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(App.class);
|
||||
|
||||
/**
|
||||
* Program execution point.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user