aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/DefaultTimeMachine.java2
-rw-r--r--sonar-squid/src/main/java/org/sonar/squid/Squid.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/DefaultTimeMachine.java b/sonar-batch/src/main/java/org/sonar/batch/DefaultTimeMachine.java
index c96674fd8b5..ad2ec8007b8 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/DefaultTimeMachine.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/DefaultTimeMachine.java
@@ -73,7 +73,7 @@ public class DefaultTimeMachine implements TimeMachine {
return rows;
}
- protected List execute(TimeMachineQuery query, boolean selectAllFields, Set<Integer> metricIds) {
+ protected List<Object[]> execute(TimeMachineQuery query, boolean selectAllFields, Set<Integer> metricIds) {
Resource resource = query.getResource();
if (resource != null && resource.getId() == null) {
resource = index.getResource(query.getResource());
diff --git a/sonar-squid/src/main/java/org/sonar/squid/Squid.java b/sonar-squid/src/main/java/org/sonar/squid/Squid.java
index 6666e4dabf8..2d9ae8ca20a 100644
--- a/sonar-squid/src/main/java/org/sonar/squid/Squid.java
+++ b/sonar-squid/src/main/java/org/sonar/squid/Squid.java
@@ -108,7 +108,7 @@ public class Squid implements DirectedGraphAccessor<SourceCode, SourceCodeEdge>,
return project;
}
- private void addToPicocontainer(Class classToExpose) {
+ private void addToPicocontainer(Class<?> classToExpose) {
if (pico.getComponent(classToExpose) == null) {
pico.addComponent(classToExpose);
}