aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-squid/src/main/java/org/sonar/squid/api/CodeScanner.java
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-10-23 11:12:33 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-10-23 11:12:33 +0200
commit8a8788fb4e8eb083935fdca81884f21fb443d6a4 (patch)
treeec0cb8c97db35104b1ceb85562e08616cb1e676c /sonar-squid/src/main/java/org/sonar/squid/api/CodeScanner.java
parentc408b3c0bf41d1b897d58f394a9a7133f53bfd1e (diff)
downloadsonarqube-8a8788fb4e8eb083935fdca81884f21fb443d6a4.tar.gz
sonarqube-8a8788fb4e8eb083935fdca81884f21fb443d6a4.zip
Fix quality flaws
Diffstat (limited to 'sonar-squid/src/main/java/org/sonar/squid/api/CodeScanner.java')
-rw-r--r--sonar-squid/src/main/java/org/sonar/squid/api/CodeScanner.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/sonar-squid/src/main/java/org/sonar/squid/api/CodeScanner.java b/sonar-squid/src/main/java/org/sonar/squid/api/CodeScanner.java
index 4eba556a2fa..b7ad8ceebba 100644
--- a/sonar-squid/src/main/java/org/sonar/squid/api/CodeScanner.java
+++ b/sonar-squid/src/main/java/org/sonar/squid/api/CodeScanner.java
@@ -24,17 +24,17 @@ import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
-public abstract class CodeScanner<VISITOR extends CodeVisitor> {
+public abstract class CodeScanner<V extends CodeVisitor> {
private List<CodeVisitor> visitors = new ArrayList<CodeVisitor>();
- public abstract Collection<Class<? extends VISITOR>> getVisitorClasses();
+ public abstract Collection<Class<? extends V>> getVisitorClasses();
public void accept(CodeVisitor visitor) {
visitors.add(visitor);
}
- public List<VISITOR> getVisitors() {
- return (List<VISITOR>) visitors;
+ public List<V> getVisitors() {
+ return (List<V>) visitors;
}
}