diff options
author | Daniel Schwarz <daniel.schwarz@sonarsource.com> | 2017-11-24 09:24:44 +0100 |
---|---|---|
committer | Daniel Schwarz <bartfastiel@users.noreply.github.com> | 2017-11-29 20:24:11 +0100 |
commit | 636c9ebb8b0ef6da08e376a0cdafbc27aa722421 (patch) | |
tree | 1d89e4181e9985dfca4a88efd8ff5fb36d19b0e3 /sonar-ws-generator | |
parent | e1588798acce44a0fcb4e99a1104d62b0ae8d271 (diff) | |
download | sonarqube-636c9ebb8b0ef6da08e376a0cdafbc27aa722421.tar.gz sonarqube-636c9ebb8b0ef6da08e376a0cdafbc27aa722421.zip |
In ws-client-generator, remove obsolete class name special cases
Diffstat (limited to 'sonar-ws-generator')
-rw-r--r-- | sonar-ws-generator/src/main/java/org/sonarqube/wsgenerator/Helper.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sonar-ws-generator/src/main/java/org/sonarqube/wsgenerator/Helper.java b/sonar-ws-generator/src/main/java/org/sonarqube/wsgenerator/Helper.java index 67bf96f17b7..e38ea016dcf 100644 --- a/sonar-ws-generator/src/main/java/org/sonarqube/wsgenerator/Helper.java +++ b/sonar-ws-generator/src/main/java/org/sonarqube/wsgenerator/Helper.java @@ -110,10 +110,7 @@ public class Helper { private Stream<String> guessResponseOuterClassName(String path) { return Stream.of( rawName(path), - rawName(path).replaceFirst("Qualityprofiles", "QualityProfiles"), "Ws" + rawName(path), - "Ws" + rawName(path).replaceFirst("Qualitygates", "QualityGates"), - "Ws" + rawName(path).replaceFirst("ProjectBranches", "Branches"), rawName(path) + "Ws"); } |