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