diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2011-05-05 15:19:52 +0200 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2011-05-05 15:28:58 +0200 |
commit | 38b3cc5a1332ad9871c4f7f189a23724d774a1ea (patch) | |
tree | 3f10b42c9ea734570e26899bc8d8e2316bcbe9a1 /sonar-markdown/src/main | |
parent | c72a3de1c77a89ec1671233cfd5debbf50881ff6 (diff) | |
download | sonarqube-38b3cc5a1332ad9871c4f7f189a23724d774a1ea.tar.gz sonarqube-38b3cc5a1332ad9871c4f7f189a23724d774a1ea.zip |
Rename the class MarkdownEngine to Markdown
Diffstat (limited to 'sonar-markdown/src/main')
-rw-r--r-- | sonar-markdown/src/main/java/org/sonar/markdown/Markdown.java (renamed from sonar-markdown/src/main/java/org/sonar/markdown/MarkdownEngine.java) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-markdown/src/main/java/org/sonar/markdown/MarkdownEngine.java b/sonar-markdown/src/main/java/org/sonar/markdown/Markdown.java index 13c80ce39ff..9e7522cd692 100644 --- a/sonar-markdown/src/main/java/org/sonar/markdown/MarkdownEngine.java +++ b/sonar-markdown/src/main/java/org/sonar/markdown/Markdown.java @@ -29,11 +29,11 @@ import java.util.List; /** * Entry point of the Markdown library */ -public final class MarkdownEngine { +public final class Markdown { private ChannelDispatcher<MarkdownOutput> dispatcher; - private MarkdownEngine() { + private Markdown() { List<Channel> markdownChannels = Arrays.<Channel>asList( new HtmlUrlChannel(), new HtmlEndOfLineChannel(), @@ -58,6 +58,6 @@ public final class MarkdownEngine { } public static String convertToHtml(String input) { - return new MarkdownEngine().convert(input); + return new Markdown().convert(input); } } |