mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
fix a few java warnings
This commit is contained in:
@@ -8,7 +8,6 @@ import java.util.HashSet;
|
|||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Random;
|
|
||||||
|
|
||||||
import javax.swing.JOptionPane;
|
import javax.swing.JOptionPane;
|
||||||
|
|
||||||
@@ -4222,6 +4221,7 @@ public class CardFactory implements NewConstants {
|
|||||||
final int count = Integer.parseInt(card.getKeyword().get(bloodthirst).split(" ")[1]);
|
final int count = Integer.parseInt(card.getKeyword().get(bloodthirst).split(" ")[1]);
|
||||||
|
|
||||||
card.addComesIntoPlayCommand(new Command() {
|
card.addComesIntoPlayCommand(new Command() {
|
||||||
|
private static final long serialVersionUID = -1849308549161972508L;
|
||||||
|
|
||||||
public void execute() {
|
public void execute() {
|
||||||
if(card.getController().getOpponent().getAssignedDamage() > 0)
|
if(card.getController().getOpponent().getAssignedDamage() > 0)
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
package forge;
|
package forge;
|
||||||
|
|
||||||
import java.security.PublicKey;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Hashtable;
|
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
||||||
//doesHumanAttackAndWin() uses the global variable AllZone.ComputerPlayer
|
//doesHumanAttackAndWin() uses the global variable AllZone.ComputerPlayer
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package forge;
|
package forge;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
|
|
||||||
import javax.swing.JOptionPane;
|
import javax.swing.JOptionPane;
|
||||||
|
|
||||||
import forge.gui.GuiUtils;
|
import forge.gui.GuiUtils;
|
||||||
|
|||||||
@@ -1,9 +1,5 @@
|
|||||||
package forge;
|
package forge;
|
||||||
|
|
||||||
import java.util.HashMap;
|
|
||||||
|
|
||||||
//import java.util.*;
|
|
||||||
|
|
||||||
//handles "until end of turn" and "at end of turn" commands from cards
|
//handles "until end of turn" and "at end of turn" commands from cards
|
||||||
public class EndOfTurn implements java.io.Serializable
|
public class EndOfTurn implements java.io.Serializable
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
package forge;
|
package forge;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
|
||||||
|
|
||||||
public class PhaseUtil {
|
public class PhaseUtil {
|
||||||
// ******* UNTAP PHASE *****
|
// ******* UNTAP PHASE *****
|
||||||
|
|||||||
Reference in New Issue
Block a user