diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2015-02-17 15:23:54 +0100 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2015-02-17 15:58:12 +0100 |
commit | f0d1fa77e8eb0b782c1664b1271e3b0823d6f1a4 (patch) | |
tree | 9ec1d01e3855c6f8da8d195c7ada05ff8cf575b5 /sonar-batch | |
parent | 5f38e304a3c00f2bb2b3e35ff9936d5ac1527126 (diff) | |
download | sonarqube-f0d1fa77e8eb0b782c1664b1271e3b0823d6f1a4.tar.gz sonarqube-f0d1fa77e8eb0b782c1664b1271e3b0823d6f1a4.zip |
SONAR-6084 Fix message when using invalid branch name
Diffstat (limited to 'sonar-batch')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/scan/ProjectReactorValidator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/scan/ProjectReactorValidator.java b/sonar-batch/src/main/java/org/sonar/batch/scan/ProjectReactorValidator.java index d92dc698bea..88970aa75da 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/scan/ProjectReactorValidator.java +++ b/sonar-batch/src/main/java/org/sonar/batch/scan/ProjectReactorValidator.java @@ -123,7 +123,7 @@ public class ProjectReactorValidator { private void validateBranch(List<String> validationMessages, @Nullable String branch) { if (StringUtils.isNotEmpty(branch) && !ComponentKeys.isValidBranch(branch)) { validationMessages.add(String.format("\"%s\" is not a valid branch name. " - + "Allowed characters are alphanumeric, '-', '_' and '.'.", branch)); + + "Allowed characters are alphanumeric, '-', '_', '.' and '/'.", branch)); } } |