mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-11 12:19:03 +00:00
Code cleanup (#1461)
* Code cleanup * Fix flux tests * Fix checkstyle errors * Fix compile error
This commit is contained in:
1 parent
5381387026
commit
417f21ed3d
243 files changed
+1154
-1162
No files matched your search
@@ -79,8 +79,8 @@ public interface IUnitOfWork<T> {
|
||||
public class StudentRepository implements IUnitOfWork<Student> {
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(StudentRepository.class);
|
||||
|
||||
private Map<String, List<Student>> context;
|
||||
private StudentDatabase studentDatabase;
|
||||
private final Map<String, List<Student>> context;
|
||||
private final StudentDatabase studentDatabase;
|
||||
|
||||
public StudentRepository(Map<String, List<Student>> context, StudentDatabase studentDatabase) {
|
||||
this.context = context;
|
||||
|
||||
@@ -35,8 +35,8 @@ import org.slf4j.LoggerFactory;
|
||||
public class StudentRepository implements IUnitOfWork<Student> {
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(StudentRepository.class);
|
||||
|
||||
private Map<String, List<Student>> context;
|
||||
private StudentDatabase studentDatabase;
|
||||
private final Map<String, List<Student>> context;
|
||||
private final StudentDatabase studentDatabase;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
|
||||
Reference in new issue
Block a user