diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-09-18 11:27:06 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-09-18 23:49:44 +0200 |
commit | 8b80e32f4e020ecc82b6e4fd6fd01b5d9374167a (patch) | |
tree | 46cfd62c29832a887a914de4a37b5f0485da7ecd /sonar-plugin-api/src | |
parent | 4f109df6d8e53e6a2db17bbfcdb9d38332256930 (diff) | |
download | sonarqube-8b80e32f4e020ecc82b6e4fd6fd01b5d9374167a.tar.gz sonarqube-8b80e32f4e020ecc82b6e4fd6fd01b5d9374167a.zip |
SONAR-6834 support project branches
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/batch/bootstrap/ProjectDefinition.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/bootstrap/ProjectDefinition.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/bootstrap/ProjectDefinition.java index 561cded1c40..101ad3290a2 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/bootstrap/ProjectDefinition.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/bootstrap/ProjectDefinition.java @@ -210,7 +210,7 @@ public class ProjectDefinition { } @CheckForNull - private String getBranch() { + public String getBranch() { String branch = properties.get(CoreProperties.PROJECT_BRANCH_PROPERTY); if (StringUtils.isNotBlank(branch)) { return branch; |