This commit is contained in:
BetaSteward 2011-08-19 22:19:09 -04:00
parent 35d993c3c1
commit 2e0662e295
7 changed files with 4 additions and 15 deletions

View file

@ -19,7 +19,6 @@
<excludes> <excludes>
<exclude>org.mage:Mage-Client</exclude> <exclude>org.mage:Mage-Client</exclude>
<exclude>org.mage:Mage-Theme-Plugin</exclude> <exclude>org.mage:Mage-Theme-Plugin</exclude>
<exclude>org.mage:Mage-Card-Plugin</exclude>
<exclude>org.mage:Mage-Counter-Plugin</exclude> <exclude>org.mage:Mage-Counter-Plugin</exclude>
</excludes> </excludes>
</dependencySet> </dependencySet>
@ -27,7 +26,6 @@
<outputDirectory>/plugins</outputDirectory> <outputDirectory>/plugins</outputDirectory>
<includes> <includes>
<include>org.mage:Mage-Theme-Plugin</include> <include>org.mage:Mage-Theme-Plugin</include>
<include>org.mage:Mage-Card-Plugin</include>
<include>org.mage:Mage-Counter-Plugin</include> <include>org.mage:Mage-Counter-Plugin</include>
<include>org.mage:Mage-Counter-Plugin</include> <include>org.mage:Mage-Counter-Plugin</include>
</includes> </includes>

View file

@ -1,9 +1,7 @@
package mage.client.components.ability; package mage.client.components.ability;
import org.jdesktop.swingx.painter.AbstractPainter; import org.jdesktop.swingx.painter.AbstractPainter;
import sun.swing.CachedPainter;
import javax.swing.*;
import java.awt.*; import java.awt.*;
import java.awt.geom.Area; import java.awt.geom.Area;
import java.awt.geom.Ellipse2D; import java.awt.geom.Ellipse2D;

View file

@ -34,7 +34,6 @@
package mage.client.game; package mage.client.game;
import com.sun.corba.se.spi.presentation.rmi.IDLNameTranslator;
import mage.Constants; import mage.Constants;
import mage.client.MageFrame; import mage.client.MageFrame;
import mage.client.cards.Cards; import mage.client.cards.Cards;
@ -49,7 +48,6 @@ import mage.remote.Session;
import mage.view.*; import mage.view.*;
import org.apache.log4j.Logger; import org.apache.log4j.Logger;
import javax.net.ssl.HandshakeCompletedEvent;
import javax.swing.*; import javax.swing.*;
import javax.swing.border.Border; import javax.swing.border.Border;
import javax.swing.border.EmptyBorder; import javax.swing.border.EmptyBorder;
@ -61,7 +59,6 @@ import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent; import java.awt.event.MouseEvent;
import java.io.Serializable; import java.io.Serializable;
import java.util.*; import java.util.*;
import java.util.List;
import java.util.prefs.Preferences; import java.util.prefs.Preferences;
/** /**
@ -872,7 +869,7 @@ public class GamePanel extends javax.swing.JPanel {
} }
}//GEN-LAST:event_btnConcedeActionPerformed }//GEN-LAST:event_btnConcedeActionPerformed
private void btnSwitchHandActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnConcedeActionPerformed private void btnSwitchHandActionPerformed(java.awt.event.ActionEvent evt) {
String[] choices = handCards.keySet().toArray(new String[0]); String[] choices = handCards.keySet().toArray(new String[0]);
String chosenHandKey = (String) JOptionPane.showInputDialog( String chosenHandKey = (String) JOptionPane.showInputDialog(

View file

@ -193,7 +193,7 @@ public class Session {
} }
client.disconnected(); client.disconnected();
if (showMessage) if (showMessage)
client.showError("Server error. You have been disconnected"); client.showError("Network error. You have been disconnected");
} }
class CallbackHandler implements InvokerCallbackHandler { class CallbackHandler implements InvokerCallbackHandler {

View file

@ -7,10 +7,8 @@ import mage.abilities.effects.common.DamageTargetEffect;
import mage.cards.Card; import mage.cards.Card;
import mage.target.Target; import mage.target.Target;
import mage.target.common.TargetCreatureOrPlayer; import mage.target.common.TargetCreatureOrPlayer;
import mage.target.common.TargetCreatureOrPlayerAmount;
import mage.target.common.TargetCreaturePermanent; import mage.target.common.TargetCreaturePermanent;
import org.apache.log4j.Logger; import org.apache.log4j.Logger;
import sun.rmi.runtime.Log;
import java.io.InputStream; import java.io.InputStream;
import java.util.*; import java.util.*;

View file

@ -35,7 +35,6 @@ import java.util.Map;
import java.util.Set; import java.util.Set;
import java.util.UUID; import java.util.UUID;
import com.sun.corba.se.spi.monitoring.StatisticMonitoredAttribute;
import mage.Constants.Outcome; import mage.Constants.Outcome;
import mage.Constants.RangeOfInfluence; import mage.Constants.RangeOfInfluence;
import mage.Constants.TargetController; import mage.Constants.TargetController;
@ -77,7 +76,6 @@ import mage.target.common.TargetCreatureOrPlayer;
import mage.target.common.TargetCreaturePermanent; import mage.target.common.TargetCreaturePermanent;
import mage.target.common.TargetDefender; import mage.target.common.TargetDefender;
import javax.xml.transform.Source;
/** /**
* *

View file

@ -74,7 +74,7 @@ public class ServerMessagesUtil {
} }
private void reloadMessages() { private void reloadMessages() {
log.info("Reading server messages..."); log.debug("Reading server messages...");
List<String> newMessages = readFromFile(); List<String> newMessages = readFromFile();
if (newMessages != null && !newMessages.isEmpty()) { if (newMessages != null && !newMessages.isEmpty()) {
lock.writeLock().lock(); lock.writeLock().lock();
@ -90,7 +90,7 @@ public class ServerMessagesUtil {
private List<String> readFromFile() { private List<String> readFromFile() {
InputStream is = ServerMessagesUtil.class.getResourceAsStream(SERVER_MSG_TXT_FILE); InputStream is = ServerMessagesUtil.class.getResourceAsStream(SERVER_MSG_TXT_FILE);
if (is == null) { if (is == null) {
log.info("Couldn't find server.msg"); log.warn("Couldn't find server.msg");
return null; return null;
} }
Scanner scanner = new Scanner(is); Scanner scanner = new Scanner(is);