forked from loafle/openapi-generator-original
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:
committed by
William Cheng
parent
0a9c6f56c8
commit
3465f2918e
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user