Fix checkstyle validations
This commit is contained in:
parent
3634b3338c
commit
933c84ff1c
@ -95,17 +95,20 @@ public class App {
|
|||||||
this.army = army;
|
this.army = army;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The factory of kingdom factories.
|
||||||
|
*/
|
||||||
public static class FactoryMaker {
|
public static class FactoryMaker {
|
||||||
|
|
||||||
private FactoryMaker() {
|
/**
|
||||||
}
|
* Enumeration for the different types of Kingdoms.
|
||||||
|
*/
|
||||||
public enum KingdomType {
|
public enum KingdomType {
|
||||||
ELF, ORC
|
ELF, ORC
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The factory of kingdom factories.
|
* The factory method to create KingdomFactory concrete objects.
|
||||||
*/
|
*/
|
||||||
public static KingdomFactory makeFactory(KingdomType type) {
|
public static KingdomFactory makeFactory(KingdomType type) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user