From 24839b644682909ac76a5736c0ff474e0a89daa1 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Lievremont Date: Wed, 11 Feb 2015 11:45:04 +0100 Subject: Fix quality flaws --- .../src/main/java/org/sonar/markdown/HtmlBlockquoteChannel.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sonar-markdown') diff --git a/sonar-markdown/src/main/java/org/sonar/markdown/HtmlBlockquoteChannel.java b/sonar-markdown/src/main/java/org/sonar/markdown/HtmlBlockquoteChannel.java index da1594d9a30..67acf60e22d 100644 --- a/sonar-markdown/src/main/java/org/sonar/markdown/HtmlBlockquoteChannel.java +++ b/sonar-markdown/src/main/java/org/sonar/markdown/HtmlBlockquoteChannel.java @@ -62,12 +62,12 @@ class HtmlBlockquoteChannel extends Channel { private class QuotedLineElementChannel extends RegexChannel { - protected QuotedLineElementChannel() { + private QuotedLineElementChannel() { super(">\\s[^\r\n]*+"); } @Override - protected void consume(CharSequence token, MarkdownOutput output) { + public void consume(CharSequence token, MarkdownOutput output) { if (!pendingBlockConstruction) { output.append("
"); pendingBlockConstruction = true; @@ -101,7 +101,7 @@ class HtmlBlockquoteChannel extends Channel { } @Override - protected void consume(CharSequence token, MarkdownOutput output) { + public void consume(CharSequence token, MarkdownOutput output) { output.append(token); } } -- cgit v1.2.3