diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2021-11-18 16:45:02 -0600 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-11-20 20:03:51 +0000 |
commit | 3f9445c25962f914ccdd889c002ddd8e19b0cf89 (patch) | |
tree | eb4f34a62b7164a71fd0bbe34d6f59621a687d8d /sonar-ws-generator/src | |
parent | aa640be9e2b9cfa2c027ef0768940b31ebb5536c (diff) | |
download | sonarqube-3f9445c25962f914ccdd889c002ddd8e19b0cf89.tar.gz sonarqube-3f9445c25962f914ccdd889c002ddd8e19b0cf89.zip |
Improve code quality
Diffstat (limited to 'sonar-ws-generator/src')
-rw-r--r-- | sonar-ws-generator/src/main/java/org/sonarqube/wsgenerator/Helper.java | 4 |
1 files changed, 1 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 eafe7a34625..1521f8ff070 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 @@ -121,9 +121,7 @@ public class Helper { } catch (ClassNotFoundException e) { } return Stream.empty(); - })).findFirst().orElseGet(() -> { - return "String"; - }); + })).findFirst().orElseGet(() -> "String"); } private Stream<String> guessResponseInnerClassName(String action) { |