mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
clean up some Java warnings in Upkeep.java
This commit is contained in:
@@ -792,7 +792,6 @@ public class Upkeep implements java.io.Serializable {
|
||||
final Card c = cards.get(i);
|
||||
|
||||
final Ability noPay = new Ability(c, "B B B") {
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = 4820011390853920644L;
|
||||
|
||||
@Override
|
||||
@@ -815,7 +814,6 @@ public class Upkeep implements java.io.Serializable {
|
||||
String question = "Pay Demonic Hordes upkeep cost?";
|
||||
if (GameActionUtil.showYesNoDialog(c, question)) {
|
||||
final Ability pay = new Ability(c, "0") {
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = 4820011440853920644L;
|
||||
|
||||
public void resolve() {
|
||||
@@ -843,7 +841,6 @@ public class Upkeep implements java.io.Serializable {
|
||||
else { //computer
|
||||
if ((c.getController().isComputer() && (ComputerUtil.canPayCost(noPay)))) {
|
||||
final Ability computerPay = new Ability(c, "0") {
|
||||
@SuppressWarnings("unused")
|
||||
private static final long serialVersionUID = 4820011440852868644L;
|
||||
|
||||
public void resolve() {
|
||||
|
||||
Reference in New Issue
Block a user