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-testing-harness/src | |
parent | c408b3c0bf41d1b897d58f394a9a7133f53bfd1e (diff) | |
download | sonarqube-8a8788fb4e8eb083935fdca81884f21fb443d6a4.tar.gz sonarqube-8a8788fb4e8eb083935fdca81884f21fb443d6a4.zip |
Fix quality flaws
Diffstat (limited to 'sonar-testing-harness/src')
-rw-r--r-- | sonar-testing-harness/src/main/java/org/sonar/test/channel/ChannelMatchers.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sonar-testing-harness/src/main/java/org/sonar/test/channel/ChannelMatchers.java b/sonar-testing-harness/src/main/java/org/sonar/test/channel/ChannelMatchers.java index 3fa1d962e90..56506285771 100644 --- a/sonar-testing-harness/src/main/java/org/sonar/test/channel/ChannelMatchers.java +++ b/sonar-testing-harness/src/main/java/org/sonar/test/channel/ChannelMatchers.java @@ -26,12 +26,12 @@ public final class ChannelMatchers { private ChannelMatchers() { } - public static <OUTPUT> ChannelMatcher<OUTPUT> consume(String sourceCode, OUTPUT output) { - return new ChannelMatcher<OUTPUT>(sourceCode, output); + public static <O> ChannelMatcher<O> consume(String sourceCode, O output) { + return new ChannelMatcher<O>(sourceCode, output); } - public static <OUTPUT> ChannelMatcher<OUTPUT> consume(CodeReader codeReader, OUTPUT output) { - return new ChannelMatcher<OUTPUT>(codeReader, output); + public static <O> ChannelMatcher<O> consume(CodeReader codeReader, O output) { + return new ChannelMatcher<O>(codeReader, output); } public static ReaderHasNextCharMatcher hasNextChar(char nextChar) { |