mirror of
https://github.com/correl/mage.git
synced 2025-01-12 03:00:13 +00:00
Typos
This commit is contained in:
parent
0c18f96ce7
commit
0d949ca7e6
2 changed files with 5 additions and 2 deletions
|
@ -34,6 +34,8 @@ import javax.swing.DefaultComboBoxModel;
|
|||
import javax.swing.JLayeredPane;
|
||||
import javax.swing.JOptionPane;
|
||||
import javax.swing.SwingWorker;
|
||||
|
||||
import mage.cards.repository.CardRepository;
|
||||
import mage.choices.Choice;
|
||||
import mage.choices.ChoiceImpl;
|
||||
import mage.client.MageFrame;
|
||||
|
@ -454,7 +456,8 @@ public class ConnectDialog extends MageDialog {
|
|||
connection.setPort(Integer.valueOf(this.txtPort.getText().trim()));
|
||||
connection.setUsername(this.txtUserName.getText().trim());
|
||||
connection.setPassword(this.txtPassword.getText().trim());
|
||||
connection.setForceDBComparison(this.chkForceUpdateDB.isSelected());
|
||||
boolean redownloadDatabase = CardRepository.instance.findCard("Island") == null;
|
||||
connection.setForceDBComparison(this.chkForceUpdateDB.isSelected() || redownloadDatabase);
|
||||
String allMAC = "";
|
||||
try {
|
||||
allMAC = connection.getMAC();
|
||||
|
|
|
@ -49,7 +49,7 @@ public final class CardScanner {
|
|||
ExpansionRepository.instance.setContentVersion(ExpansionRepository.instance.getContentVersionConstant());
|
||||
|
||||
if (setsAddedCount > 0) {
|
||||
logger.info("DB: need to add " + setsUpdatedCount + " new sets");
|
||||
logger.info("DB: need to add " + setsAddedCount + " new sets");
|
||||
}
|
||||
if (setsUpdatedCount > 0) {
|
||||
logger.info("DB: need to update " + setsUpdatedCount + " sets");
|
||||
|
|
Loading…
Reference in a new issue