Skip to content

Commit

Permalink
Formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
asvitkine committed Jul 23, 2023
1 parent b6da81b commit 51d32b6
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package games.strategy.engine.framework.startup.ui.posted.game;

import games.strategy.engine.data.properties.GameProperties;
import games.strategy.engine.player.Player;
import games.strategy.engine.random.IRemoteDiceServer;
import games.strategy.engine.random.MartiDiceRoller;
import games.strategy.engine.random.PbemDiceRoller;
Expand Down Expand Up @@ -257,8 +256,10 @@ private void checkFieldsAndNotify() {
}

public boolean areFieldsValid() {
final boolean toValid = !toAddress.getText().isEmpty() && validateEmailAddresses(toAddress.getText());
final boolean ccValid = !ccAddress.getText().isEmpty() && validateEmailAddresses(ccAddress.getText());
final boolean toValid =
!toAddress.getText().isEmpty() && validateEmailAddresses(toAddress.getText());
final boolean ccValid =
!ccAddress.getText().isEmpty() && validateEmailAddresses(ccAddress.getText());

final boolean allValid = toValid && ccValid;
testDiceButton.setEnabled(allValid);
Expand Down

0 comments on commit 51d32b6

Please sign in to comment.