diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-05-09 14:23:04 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-05-09 23:10:31 +0200 |
commit | 4fc0e09a6029affb5cb5f526387aba12e99065c4 (patch) | |
tree | 430148b905c5a53dc50daab37587b28ae167cb68 /server | |
parent | b66064a3f9cb4f8afbb0a8da67027946e4214506 (diff) | |
download | sonarqube-4fc0e09a6029affb5cb5f526387aba12e99065c4.tar.gz sonarqube-4fc0e09a6029affb5cb5f526387aba12e99065c4.zip |
Fix quality flaws
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-server/src/main/java/org/sonar/server/issue/IssueBulkChangeService.java | 2 | ||||
-rw-r--r-- | server/sonar-server/src/main/java/org/sonar/server/measure/MeasureFilterCondition.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/issue/IssueBulkChangeService.java b/server/sonar-server/src/main/java/org/sonar/server/issue/IssueBulkChangeService.java index 352defecc4b..9d1d7eba9e0 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/issue/IssueBulkChangeService.java +++ b/server/sonar-server/src/main/java/org/sonar/server/issue/IssueBulkChangeService.java @@ -128,7 +128,7 @@ public class IssueBulkChangeService { private Collection<Issue> getByKeysForUpdate(List<String> issueKeys) { // Load from index to check permission SearchOptions options = new SearchOptions().setLimit(SearchOptions.MAX_LIMIT); - // TODO restrict fields to issue key, in order to not load all other fields; + // TODO restrict fields to issue key, in order to not load all other fields List<IssueDoc> authorizedIssues = issueIndex.search(IssueQuery.builder(userSession).issueKeys(issueKeys).build(), options).getDocs(); Collection<String> authorizedKeys = Collections2.transform(authorizedIssues, new Function<IssueDoc, String>() { @Override diff --git a/server/sonar-server/src/main/java/org/sonar/server/measure/MeasureFilterCondition.java b/server/sonar-server/src/main/java/org/sonar/server/measure/MeasureFilterCondition.java index 499e5759987..3deaa13005d 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/measure/MeasureFilterCondition.java +++ b/server/sonar-server/src/main/java/org/sonar/server/measure/MeasureFilterCondition.java @@ -30,7 +30,7 @@ public class MeasureFilterCondition { private String code; private String sql; - private Operator(String code, String sql) { + Operator(String code, String sql) { this.code = code; this.sql = sql; } |