diff options
author | Hugo Fonseca <hdtfonseca@gmail.com> | 2015-02-11 15:42:08 +0000 |
---|---|---|
committer | Hugo Fonseca <hdtfonseca@gmail.com> | 2015-02-11 15:42:08 +0000 |
commit | 0fbc5e16cb0642131530fb52ca8098b53bfdcc30 (patch) | |
tree | dd991f7156be19d422af20a3d72ca8463754cd8c | |
parent | 96e6eded31e6bfdcb2b4845086daff77c733a0be (diff) | |
download | bbprb-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.java | 4 |
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; } } |