diff options
author | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2015-02-11 11:45:04 +0100 |
---|---|---|
committer | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2015-02-16 13:34:18 +0100 |
commit | 24839b644682909ac76a5736c0ff474e0a89daa1 (patch) | |
tree | d0bd87178829cd7b9d1a465d7d08ffbe1dfba0a8 /sonar-markdown/src | |
parent | 82a84f73980555074f4a6a2de93cfd1428e78e13 (diff) | |
download | sonarqube-24839b644682909ac76a5736c0ff474e0a89daa1.tar.gz sonarqube-24839b644682909ac76a5736c0ff474e0a89daa1.zip |
Fix quality flaws
Diffstat (limited to 'sonar-markdown/src')
-rw-r--r-- | sonar-markdown/src/main/java/org/sonar/markdown/HtmlBlockquoteChannel.java | 6 |
1 files changed, 3 insertions, 3 deletions
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<MarkdownOutput> { private class QuotedLineElementChannel extends RegexChannel<MarkdownOutput> { - 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("<blockquote>"); pendingBlockConstruction = true; @@ -101,7 +101,7 @@ class HtmlBlockquoteChannel extends Channel<MarkdownOutput> { } @Override - protected void consume(CharSequence token, MarkdownOutput output) { + public void consume(CharSequence token, MarkdownOutput output) { output.append(token); } } |