diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-10-23 11:12:33 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-10-23 11:12:33 +0200 |
commit | 8a8788fb4e8eb083935fdca81884f21fb443d6a4 (patch) | |
tree | ec0cb8c97db35104b1ceb85562e08616cb1e676c /sonar-squid/src/main/java/org/sonar/squid/api/CodeScanner.java | |
parent | c408b3c0bf41d1b897d58f394a9a7133f53bfd1e (diff) | |
download | sonarqube-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.java | 8 |
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; } } |