X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Ftest%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Ftext%2FSoneTextParserTest.java;h=d81cdc6efa881d6fc6ce49d236f9f5b304190324;hp=7de50fb5a18f9ab7eb66bc2489f940963ae1a4c2;hb=008f8fadc29475e47ebad45d86c9412ceb5c7cf9;hpb=36a908ed376d95bbddc6473769edfb7b7e0fe446 diff --git a/src/test/java/net/pterodactylus/sone/text/SoneTextParserTest.java b/src/test/java/net/pterodactylus/sone/text/SoneTextParserTest.java index 7de50fb..d81cdc6 100644 --- a/src/test/java/net/pterodactylus/sone/text/SoneTextParserTest.java +++ b/src/test/java/net/pterodactylus/sone/text/SoneTextParserTest.java @@ -41,6 +41,7 @@ public class SoneTextParserTest extends TestCase { * @throws IOException * if an I/O error occurs */ + @SuppressWarnings("static-method") public void testPlainText() throws IOException { SoneTextParser soneTextParser = new SoneTextParser(null, null); Iterable parts; @@ -67,6 +68,7 @@ public class SoneTextParserTest extends TestCase { * @throws IOException * if an I/O error occurs */ + @SuppressWarnings("static-method") public void testKSKLinks() throws IOException { SoneTextParser soneTextParser = new SoneTextParser(null, null); Iterable parts; @@ -93,7 +95,7 @@ public class SoneTextParserTest extends TestCase { * @throws IOException * if an I/O error occurs */ - @SuppressWarnings("synthetic-access") + @SuppressWarnings({ "synthetic-access", "static-method" }) public void testEmptyLinesAndSoneLinks() throws IOException { SoneTextParser soneTextParser = new SoneTextParser(new TestSoneProvider(), null); Iterable parts;