This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit e4ddf9eba1830bac390cbc55ceefd4d37e0e7e80 Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Fri Mar 24 14:04:06 2023 +0100 (chores) camel-github: use builtin Java methods for data conversion --- .../apache/camel/component/github/services/MockPullRequestService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-github/src/test/java/org/apache/camel/component/github/services/MockPullRequestService.java b/components/camel-github/src/test/java/org/apache/camel/component/github/services/MockPullRequestService.java index e0f6f205570..af06c0eddf5 100644 --- a/components/camel-github/src/test/java/org/apache/camel/component/github/services/MockPullRequestService.java +++ b/components/camel-github/src/test/java/org/apache/camel/component/github/services/MockPullRequestService.java @@ -66,7 +66,7 @@ public class MockPullRequestService extends PullRequestService { User author = createAuthor(); commitComment.setUser(author); - commitComment.setCommitId("" + pullRequestId); + commitComment.setCommitId(Long.toString(pullRequestId)); commitComment.setId(commentId.getAndIncrement()); commitComment.setBody(bodyText); commitComment.setBodyText(bodyText);
