aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-12-04 14:25:21 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-12-04 14:26:32 +0100
commit9df8ed37f34ceb5d26045bf2d75a56b2fe80e172 (patch)
tree15b9d5a4d484ccc809f745a243fd7becf0a05166 /sonar-batch/src
parent58d45c1b7a60280949d5a3da512cde645e19e1bc (diff)
downloadsonarqube-9df8ed37f34ceb5d26045bf2d75a56b2fe80e172.tar.gz
sonarqube-9df8ed37f34ceb5d26045bf2d75a56b2fe80e172.zip
Fix quality flaws
Diffstat (limited to 'sonar-batch/src')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/sensor/DefaultSensorContext.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/sensor/DefaultSensorContext.java b/sonar-batch/src/main/java/org/sonar/batch/sensor/DefaultSensorContext.java
index f6d30a2ae02..fdde7ba5f40 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/sensor/DefaultSensorContext.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/sensor/DefaultSensorContext.java
@@ -96,7 +96,7 @@ public class DefaultSensorContext implements SensorContext {
@Override
public <G extends Serializable> NewMeasure<G> newMeasure() {
- return new DefaultMeasure<G>(sensorStorage);
+ return new DefaultMeasure<>(sensorStorage);
}
@Override