forked from External/mage
Removed some debug messages.
This commit is contained in:
parent
dafe138dd9
commit
4f5c8fc45d
2 changed files with 20 additions and 14 deletions
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
package mage.client.game;
|
||||
|
||||
import java.awt.*;
|
||||
import java.awt.Component;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.io.Serializable;
|
||||
import java.util.Map;
|
||||
|
|
@ -52,7 +52,6 @@ import mage.constants.PlayerAction;
|
|||
import mage.remote.Session;
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
|
|
@ -87,8 +86,6 @@ public class FeedbackPanel extends javax.swing.JPanel {
|
|||
}
|
||||
|
||||
public void getFeedback(FeedbackMode mode, String message, boolean special, Map<String, Serializable> options, int messageId) {
|
||||
logger.debug("text: " + message);
|
||||
|
||||
synchronized (this) {
|
||||
if (messageId < this.lastMessageId) {
|
||||
logger.warn("ignoring message from later source: " + messageId + ", text=" + message);
|
||||
|
|
@ -153,8 +150,6 @@ public class FeedbackPanel extends javax.swing.JPanel {
|
|||
this.helper.setSpecial("Pay 2 life", true);
|
||||
}
|
||||
|
||||
//boolean yourTurn = options != null && options.containsKey("your_turn");
|
||||
|
||||
requestFocusIfPossible();
|
||||
handleOptions(options);
|
||||
|
||||
|
|
@ -220,7 +215,6 @@ public class FeedbackPanel extends javax.swing.JPanel {
|
|||
this.btnRight.setVisible(false);
|
||||
this.btnSpecial.setVisible(false);
|
||||
this.lblMessage.setText("");
|
||||
logger.debug("feedback - clear");
|
||||
}
|
||||
|
||||
private void customInitComponents() {
|
||||
|
|
@ -341,7 +335,6 @@ public class FeedbackPanel extends javax.swing.JPanel {
|
|||
private javax.swing.JButton btnSpecial;
|
||||
private javax.swing.JButton btnUndo;
|
||||
private javax.swing.JScrollPane jScrollPane1;
|
||||
//private javax.swing.JTextArea lblMessage;
|
||||
private MageTextArea lblMessage;
|
||||
private HelperPanel helper;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue