mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- CheckStyle.
This commit is contained in:
@@ -78,8 +78,8 @@ public class FDeckChooser extends JPanel {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
public FDeckChooser(String titleText, PlayerType pt)
|
public FDeckChooser(String titleText, PlayerType pt) {
|
||||||
{
|
|
||||||
playerType = pt;
|
playerType = pt;
|
||||||
|
|
||||||
// Radio button panels: Human and AI
|
// Radio button panels: Human and AI
|
||||||
|
|||||||
@@ -220,7 +220,9 @@ public final class CardDb {
|
|||||||
* @return true, if is card supported
|
* @return true, if is card supported
|
||||||
*/
|
*/
|
||||||
public boolean isCardSupported(final String cardName0) {
|
public boolean isCardSupported(final String cardName0) {
|
||||||
if ( null == cardName0 ) return false; // obviously
|
if (null == cardName0) {
|
||||||
|
return false; // obviously
|
||||||
|
}
|
||||||
|
|
||||||
final boolean isFoil = this.isFoil(cardName0);
|
final boolean isFoil = this.isFoil(cardName0);
|
||||||
final String cardName = isFoil ? this.removeFoilSuffix(cardName0) : cardName0;
|
final String cardName = isFoil ? this.removeFoilSuffix(cardName0) : cardName0;
|
||||||
|
|||||||
Reference in New Issue
Block a user