aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-testing-harness
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-testing-harness')
-rw-r--r--sonar-testing-harness/src/main/java/org/sonar/test/channel/ChannelMatchers.java8
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) {