mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-20 07:26:49 +00:00
Adjust checkstyle rules. Make checkstyle fail the build when violations are found. Correct all current checkstyle violations.
This commit is contained in:
@@ -47,6 +47,9 @@ public class App {
|
||||
queryData();
|
||||
}
|
||||
|
||||
/**
|
||||
* Initialize data
|
||||
*/
|
||||
public static void initData() {
|
||||
// spells
|
||||
Spell spell1 = new Spell("Ice dart");
|
||||
@@ -149,6 +152,9 @@ public class App {
|
||||
wizardDao.merge(wizard4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Query the data
|
||||
*/
|
||||
public static void queryData() {
|
||||
MagicService service =
|
||||
new MagicServiceImpl(new WizardDaoImpl(), new SpellbookDaoImpl(), new SpellDaoImpl());
|
||||
|
||||
Reference in New Issue
Block a user