Skip to content

Commit

Permalink
#1011 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Yegor Bugayenko committed Jan 28, 2015
1 parent 47e43de commit 061aa28
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/com/jcabi/github/mock/MkIssue.java
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,13 @@ public JsonObject json() throws IOException {
}
return json
.add("labels", array)
.add(
// @checkstyle MultipleStringLiteralsCheck (1 line)
"assignee",
Json.createObjectBuilder().add(
"login", obj.getString("assignee", "")
).build()
)
.add(
"pull_request",
Json.createObjectBuilder().addNull("html_url").build()
Expand Down

0 comments on commit 061aa28

Please sign in to comment.