From 008f8fadc29475e47ebad45d86c9412ceb5c7cf9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 17 Sep 2012 09:11:57 +0200 Subject: [PATCH] Suppress some warnings about potentially-static methods. --- src/test/java/net/pterodactylus/sone/text/SoneTextParserTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.7.4