aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2016-08-17 13:40:40 +0200
committerDuarte Meneses <duarte.meneses@sonarsource.com>2016-08-17 14:27:12 +0200
commit1f6be4e35ec828247c72ae3a7fafde4d80299e1b (patch)
tree99d1fb00e2c426d9ffb9e3f53ce5049d6c9b582b /sonar-scanner-engine
parentcb5bb2fb084e1a00fa6b1beb03343f26ce1d6f2d (diff)
downloadsonarqube-1f6be4e35ec828247c72ae3a7fafde4d80299e1b.tar.gz
sonarqube-1f6be4e35ec828247c72ae3a7fafde4d80299e1b.zip
Improve scanner report viewer
Diffstat (limited to 'sonar-scanner-engine')
-rw-r--r--sonar-scanner-engine/src/main/java/org/sonar/scanner/report/ContextPropertiesPublisher.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/report/ContextPropertiesPublisher.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/report/ContextPropertiesPublisher.java
index 87b6574e612..71788f66d94 100644
--- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/report/ContextPropertiesPublisher.java
+++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/report/ContextPropertiesPublisher.java
@@ -21,7 +21,6 @@ package org.sonar.scanner.report;
import com.google.common.base.Function;
import java.util.Map;
-import javax.annotation.Nonnull;
import org.sonar.scanner.protocol.output.ScannerReport;
import org.sonar.scanner.protocol.output.ScannerReportWriter;
import org.sonar.scanner.repository.ContextPropertiesCache;
@@ -44,7 +43,8 @@ public class ContextPropertiesPublisher implements ReportPublisherStep {
private static final class MapEntryToContextPropertyFunction implements Function<Map.Entry<String, String>, ScannerReport.ContextProperty> {
private final ScannerReport.ContextProperty.Builder builder = ScannerReport.ContextProperty.newBuilder();
- public ScannerReport.ContextProperty apply(@Nonnull Map.Entry<String, String> input) {
+ @Override
+ public ScannerReport.ContextProperty apply(Map.Entry<String, String> input) {
return builder.clear().setKey(input.getKey()).setValue(input.getValue()).build();
}
}