Skip to content

Commit

Permalink
Formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
asvitkine committed Jul 26, 2023
1 parent 0aec660 commit 3e7b6e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ public class PurchasePanel extends ActionPanel {
private final SimpleUnitPanel purchasedUnits;
private final JLabel purchasedLabel = createIndentedLabel();
private final JButton buyButton;
@Setter
private boolean keepCurrentPurchase;
@Setter private boolean keepCurrentPurchase;

private final AbstractAction purchaseAction =
new AbstractAction("Buy") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,8 @@ public void setStatusWarningMessage(final String msg) {
bottomBar.setStatus(msg, mapPanel.getWarningImage());
}

public IntegerMap<ProductionRule> getProduction(final GamePlayer player, final boolean bid, final boolean keepCurrentPurchase) {
public IntegerMap<ProductionRule> getProduction(
final GamePlayer player, final boolean bid, final boolean keepCurrentPurchase) {
messageAndDialogThreadPool.waitForAll();
actionButtons.changeToProduce(player, keepCurrentPurchase);
return actionButtons.waitForPurchase(bid);
Expand Down

0 comments on commit 3e7b6e7

Please sign in to comment.