aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Fonseca <hdtfonseca@gmail.com>2015-02-11 15:42:08 +0000
committerHugo Fonseca <hdtfonseca@gmail.com>2015-02-11 15:42:08 +0000
commit0fbc5e16cb0642131530fb52ca8098b53bfdcc30 (patch)
treedd991f7156be19d422af20a3d72ca8463754cd8c
parent96e6eded31e6bfdcb2b4845086daff77c733a0be (diff)
downloadbbprb-0fbc5e16cb0642131530fb52ca8098b53bfdcc30.tar.gz
fix description link
I didn't test this because I don't have the environment configured but I think that this does not need that though. The thing is taht I have this in my console ```<a href=https://bitbucket.org/org_duimmyy/projectdummy/pull-request/39>#39 PROJECT-1368</a>```
-rw-r--r--src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketCause.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketCause.java b/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketCause.java
index 4745f15..29ef21f 100644
--- a/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketCause.java
+++ b/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketCause.java
@@ -83,9 +83,9 @@ public class BitbucketCause extends Cause {
@Override
public String getShortDescription() {
- String description = "<a href=" + BITBUCKET_URL + this.getDestinationRepositoryOwner() + "/";
+ String description = '<a href="' + BITBUCKET_URL + this.getDestinationRepositoryOwner() + "/";
description += this.getDestinationRepositoryName() + "/pull-request/" + this.getPullRequestId();
- description += ">#" + this.getPullRequestId() + " " + this.getPullRequestTitle() + "</a>";
+ description += '">#' + this.getPullRequestId() + " " + this.getPullRequestTitle() + "</a>";
return description;
}
}