mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-24 02:24:51 +00:00
Resolves checkstyle errors for delegation dependency-injection dirty-flag double-buffer double-checked-locking double-dispatch (#1068)
* Reduces checkstyle errors in delegation * Reduces checkstyle errors in dependency-injection * Reduces checkstyle errors in dirty-flag * Reduces checkstyle errors in double-buffer * Reduces checkstyle errors in double-checked-locking * Reduces checkstyle errors in double-dispatch
This commit is contained in:
committed by
Ilkka Seppälä
parent
01e489c77b
commit
f2c91eb836
@@ -23,22 +23,19 @@
|
||||
|
||||
package com.iluwatar.dirtyflag;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import javax.xml.crypto.Data;
|
||||
import java.io.BufferedReader;
|
||||
import java.io.File;
|
||||
import java.io.FileReader;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* A mock database manager -- Fetches data from a raw file.
|
||||
*
|
||||
* @author swaisuan
|
||||
*
|
||||
* @author swaisuan
|
||||
*/
|
||||
public class DataFetcher {
|
||||
|
||||
@@ -61,7 +58,7 @@ public class DataFetcher {
|
||||
|
||||
/**
|
||||
* Fetches data/content from raw file.
|
||||
*
|
||||
*
|
||||
* @return List of strings
|
||||
*/
|
||||
public List<String> fetch() {
|
||||
|
||||
Reference in New Issue
Block a user