class SimpleMergeRequestManager implements MergeRequestManager {

    @Override
    public Optional<Comment> getComment(Resource commentId) {
        try (RepositoryConnection conn = configProvider.getRepository().getConnection()) {
            return getComment(commentId, conn);
        }
    }

}