diff options
author | David Gageot <david@gageot.net> | 2012-07-17 09:37:04 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2012-07-17 09:37:04 +0200 |
commit | c483248114cadab291a4a64aa8e8aaeacdbbe610 (patch) | |
tree | 9f175e46fc724061080de3bd9c6fa14f83a6a2af | |
parent | 99ab43da7e1c0860654cb99af5b740cf3480b685 (diff) | |
download | sonarqube-c483248114cadab291a4a64aa8e8aaeacdbbe610.tar.gz sonarqube-c483248114cadab291a4a64aa8e8aaeacdbbe610.zip |
Fix warnings
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/DefaultTimeMachine.java | 2 | ||||
-rw-r--r-- | sonar-squid/src/main/java/org/sonar/squid/Squid.java | 2 |
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); } |