Skip to content

Commit

Permalink
Tidy up the Game model class
Browse files Browse the repository at this point in the history
  • Loading branch information
ccomeaux committed May 21, 2015
1 parent 7cd1daa commit 8a233c1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/src/main/java/com/boardgamegeek/export/model/Game.java
Expand Up @@ -51,12 +51,11 @@ public void addColors(Context context) {

try {
while (cursor.moveToNext()) {
Color filter = Color.fromCursor(cursor);
colors.add(filter);
Color color = Color.fromCursor(cursor);
colors.add(color);
}
} finally {
cursor.close();
}
}

}

0 comments on commit 8a233c1

Please sign in to comment.