forked from External/mage
Sonar fixes
remove the deprecated GameState.getWatchers()
This commit is contained in:
parent
90bf7bd18c
commit
63718e7a6e
28 changed files with 70 additions and 72 deletions
|
|
@ -531,11 +531,6 @@ public class GameState implements Serializable, Copyable<GameState> {
|
|||
return this.turnMods;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public Watchers getWatchers() {
|
||||
return this.watchers;
|
||||
}
|
||||
|
||||
public <T extends Watcher> T getWatcher(Class<T> watcherClass) {
|
||||
return watcherClass.cast(watchers.get(watcherClass.getSimpleName()));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue