Skip to content

Commit

Permalink
The food id names are now used when creating the backup csv file
Browse files Browse the repository at this point in the history
  • Loading branch information
slavick committed Nov 15, 2016
1 parent 6d8003b commit a6720d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public void setName(String name) {
this.name = name;
}

private String getIdName() {
public String getIdName() {
return idName;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ private String getHeadersLine() {
final StringBuilder headers = new StringBuilder("Date");

for (Food food : allFoods) {
headers.append(String.format(",%s", food.getName()));
headers.append(String.format(",%s", food.getIdName()));
}

return headers.toString();
Expand Down

0 comments on commit a6720d4

Please sign in to comment.