Commit ff84d347 authored by Liang Ding's avatar Liang Ding

🎨 去除构建过程中的警告输出 #12322

parent e1c2e1a0
...@@ -52,7 +52,7 @@ public final class MarkdownsTestCase { ...@@ -52,7 +52,7 @@ public final class MarkdownsTestCase {
final URL testFile = MarkdownsTestCase.class.getResource("/markdown_syntax.text"); final URL testFile = MarkdownsTestCase.class.getResource("/markdown_syntax.text");
final String path = URLDecoder.decode(testFile.getPath(), "UTF-8"); final String path = URLDecoder.decode(testFile.getPath(), "UTF-8");
System.out.println(path); //System.out.println(path);
final StringBuilder markdownTextBuilder = new StringBuilder(); final StringBuilder markdownTextBuilder = new StringBuilder();
@SuppressWarnings("unchecked") final List<String> lines = IOUtils.readLines(new FileInputStream(path)); @SuppressWarnings("unchecked") final List<String> lines = IOUtils.readLines(new FileInputStream(path));
...@@ -70,13 +70,13 @@ public final class MarkdownsTestCase { ...@@ -70,13 +70,13 @@ public final class MarkdownsTestCase {
//System.out.println(html); //System.out.println(html);
System.out.println("Stopwatch: "); //System.out.println("Stopwatch: ");
System.out.println(Stopwatchs.getTimingStat()); //System.out.println(Stopwatchs.getTimingStat());
// HTML entity test // HTML entity test
markdownText = "The first: &#39; <br/> The second: &AElig;"; markdownText = "The first: &#39; <br/> The second: &AElig;";
html = Markdowns.toHTML(markdownText); html = Markdowns.toHTML(markdownText);
System.out.println(html); Assert.assertEquals(html, "<p>The first: ' <br/> The second: ?</p>");
} }
} }
...@@ -23,8 +23,8 @@ ...@@ -23,8 +23,8 @@
mail.user= mail.user=
mail.password= mail.password=
mail.debug=false mail.debug=false
mail.smtp.host=smtp.gmail.com mail.smtp.host=
mail.smtp.port=587 mail.smtp.port=
mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
mail.smtp.socketFactory.fallback=false mail.smtp.socketFactory.fallback=false
mail.smtp.socketFactory.port=465 mail.smtp.socketFactory.port=465
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment