Fix or suppress warnings

This commit is contained in:
drdev
2015-06-27 19:24:16 +00:00
parent 276144a62b
commit 61f5424b2e
6 changed files with 20 additions and 13 deletions

View File

@@ -1070,7 +1070,7 @@ public class CardView extends GameEntityView {
}
boolean needFlagAsChanged = false;
for (Card c : cardsToAdd) {
if (c !=null && oldCards.add(c)) {
if (c != null && oldCards.add(c)) {
if (views == null) {
views = new TrackableCollection<CardView>();
views.add(c.getView());