Removes unused size and visibility enumerations

This commit is contained in:
Dos Debug 2017-09-21 20:10:12 +05:00
parent eb36033b83
commit c9f4048301
3 changed files with 5 additions and 3 deletions

View File

@ -29,7 +29,7 @@ package com.iluwatar.command;
*/ */
public enum Size { public enum Size {
SMALL("small"), NORMAL("normal"), LARGE("large"), UNDEFINED(""); SMALL("small"), NORMAL("normal");
private String title; private String title;

View File

@ -29,7 +29,7 @@ package com.iluwatar.command;
*/ */
public enum Visibility { public enum Visibility {
VISIBLE("visible"), INVISIBLE("invisible"), UNDEFINED(""); VISIBLE("visible"), INVISIBLE("invisible");
private String title; private String title;

View File

@ -40,7 +40,9 @@ public class Wizard {
private Deque<Command> undoStack = new LinkedList<>(); private Deque<Command> undoStack = new LinkedList<>();
private Deque<Command> redoStack = new LinkedList<>(); private Deque<Command> redoStack = new LinkedList<>();
public Wizard() {} public Wizard() {
// comment to ignore sonar issue: LEVEL critical
}
/** /**
* Cast spell * Cast spell