Revert "introduced StringUtil class with .isEmpty(String input) and .isNotEmp…"

This commit is contained in:
LevelX2 2016-09-16 23:55:54 +02:00 committed by GitHub
parent 18e771ccd5
commit d7dd635bca
51 changed files with 96 additions and 294 deletions

View file

@ -163,7 +163,7 @@ public class CardArea extends JPanel implements MouseListener {
private void loadCardsMany(CardsView showCards, BigCard bigCard, UUID gameId) {
int rowsOfCards = 20;
int columns = 1;
if (showCards != null && !showCards.isEmpty()) {
if (showCards != null && showCards.size() > 0) {
Rectangle rectangle = new Rectangle(cardDimension.width, cardDimension.height);
int count = 0;
for (CardView card : showCards.values()) {