Skip to content

Commit

Permalink
Use addComment()
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Feb 19, 2018
1 parent 9a34bb0 commit 7525f89
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ private data class Adapter(
}
}
.beginControlFlow("-1 ->")
.addCode("// Unknown name, skip it.\n")
.addComment("Unknown name, skip it.")
.addStatement("%N.nextName()", reader)
.addStatement("%N.skipValue()", reader)
.endControlFlow()
Expand Down

0 comments on commit 7525f89

Please sign in to comment.