public String pullRequestHtmlUrl(String account,String collection,String projectName,String repositoryName,String pullRequestId){
  Objects.requireNonNull(projectName,"Project name required");
  Objects.requireNonNull(repositoryName,"Repository name required");
  Objects.requireNonNull(pullRequestId,"Pull request id required");
  String pullRequestUrl;
  if (projectName.equals(repositoryName)) {
    pullRequestUrl=getTeamBaseUrl(account,collection) + format(PROJECT_HTML_PULL_REQUEST,projectName,pullRequestId);
  }
 else {
    pullRequestUrl=getTeamBaseUrl(account,collection) + format(PROJECT_REPO_HTML_PULL_REQUEST,projectName,repositoryName,pullRequestId);
  }
  return pullRequestUrl;
}

public String pullRequestHtmlUrl ( String account , String collection , String projectName , String repositoryName , String pullRequestId ) { Objects . requireNonNull ( projectName , "Project name required" ) ; Objects . requireNonNull ( repositoryName , "Repository name required" ) ; Objects . requireNonNull ( pullRequestId , "Pull request id required" ) ; String pullRequestUrl ; if ( projectName . equals ( repositoryName ) ) { pullRequestUrl = getTeamBaseUrl ( account , collection ) + format ( PROJECT_HTML_PULL_REQUEST , projectName , pullRequestId ) ; } else { pullRequestUrl = getTeamBaseUrl ( account , collection ) + format ( PROJECT_REPO_HTML_PULL_REQUEST , projectName , repositoryName , pullRequestId ) ; } return pullRequestUrl ; }
returns pull request html url .
