Conditionals should have braces. This isn't Python

This commit is contained in:
David lewis 2022-09-21 10:19:35 -07:00
parent 826cad5d9e
commit f3879543cb
No known key found for this signature in database
GPG Key ID: DD51818A856E61CB
1 changed files with 2 additions and 1 deletions

View File

@ -61,8 +61,9 @@ public class CargoPanel extends FreeColPanel
this.carrier = null;
this.defaultTransferHandler = new DefaultTransferHandler(getFreeColClient(), this);
if (withTitle)
if (withTitle) {
setBorder(Utility.localizedBorder("cargoOnCarrier"));
}
}
/**