Fix a regression bug that was introduce in a recent commit. Removed the tabs that were causing error in Play Framework (#7241)

This commit is contained in:
Jean-François Côté
2018-01-06 21:48:49 -05:00
committed by William Cheng
parent 0a9c6f56c8
commit 3465f2918e
30 changed files with 223 additions and 300 deletions

View File

@@ -24,7 +24,7 @@ public class Pet {
private String name = null;
@JsonProperty("photoUrls")
private List<String> photoUrls = new ArrayList<String>();
private List<String> photoUrls = new ArrayList<>();
@JsonProperty("tags")
private List<Tag> tags = null;
@@ -145,7 +145,7 @@ public class Pet {
public Pet addTagsItem(Tag tagsItem) {
if (tags == null) {
tags = new ArrayList<Tag>();
tags = new ArrayList<>();
}
tags.add(tagsItem);
return this;