aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-jacoco-plugin
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2012-04-24 10:12:28 +0200
committerDavid Gageot <david@gageot.net>2012-04-27 14:58:59 +0200
commit872b3923f80d9a2bcc13713f41cf801f2a7024eb (patch)
tree2ef0a5003c3becb1b0e53d5683e60ed3c9f759b5 /plugins/sonar-jacoco-plugin
parent4b262d15878b31c6c2c7efd8236fb5c65093ba11 (diff)
downloadsonarqube-872b3923f80d9a2bcc13713f41cf801f2a7024eb.tar.gz
sonarqube-872b3923f80d9a2bcc13713f41cf801f2a7024eb.zip
Remove warnings
Diffstat (limited to 'plugins/sonar-jacoco-plugin')
-rw-r--r--plugins/sonar-jacoco-plugin/src/main/java/org/sonar/plugins/jacoco/JaCoCoPlugin.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/sonar-jacoco-plugin/src/main/java/org/sonar/plugins/jacoco/JaCoCoPlugin.java b/plugins/sonar-jacoco-plugin/src/main/java/org/sonar/plugins/jacoco/JaCoCoPlugin.java
index fae29ce55ef..8fd1e6c5cbd 100644
--- a/plugins/sonar-jacoco-plugin/src/main/java/org/sonar/plugins/jacoco/JaCoCoPlugin.java
+++ b/plugins/sonar-jacoco-plugin/src/main/java/org/sonar/plugins/jacoco/JaCoCoPlugin.java
@@ -19,15 +19,16 @@
*/
package org.sonar.plugins.jacoco;
+import com.google.common.collect.ImmutableList;
+import org.sonar.api.BatchExtension;
import org.sonar.api.SonarPlugin;
-import java.util.Arrays;
import java.util.List;
public class JaCoCoPlugin extends SonarPlugin {
- public List getExtensions() {
- return Arrays.asList(
+ public List<Class<? extends BatchExtension>> getExtensions() {
+ return ImmutableList.of(
JacocoConfiguration.class,
JaCoCoAgentDownloader.class,
// Ant