aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-markdown/src
diff options
context:
space:
mode:
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2015-02-11 11:45:04 +0100
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2015-02-16 13:34:18 +0100
commit24839b644682909ac76a5736c0ff474e0a89daa1 (patch)
treed0bd87178829cd7b9d1a465d7d08ffbe1dfba0a8 /sonar-markdown/src
parent82a84f73980555074f4a6a2de93cfd1428e78e13 (diff)
downloadsonarqube-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.java6
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("&gt;\\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);
}
}