- CheckStyle.

This commit is contained in:
Chris
2012-12-01 21:13:09 +00:00
parent 4b415ea611
commit a9a199518d
6 changed files with 53 additions and 51 deletions

View File

@@ -78,8 +78,8 @@ public class FDeckChooser extends JPanel {
}
};
public FDeckChooser(String titleText, PlayerType pt)
{
public FDeckChooser(String titleText, PlayerType pt) {
playerType = pt;
// Radio button panels: Human and AI

View File

@@ -220,7 +220,9 @@ public final class CardDb {
* @return true, if is card supported
*/
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 String cardName = isFoil ? this.removeFoilSuffix(cardName0) : cardName0;