1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 20:12:07 +01:00

Suppress 'unsused' warning in SpoilerTest

This commit is contained in:
Florian Schmaus 2018-02-22 09:31:24 +01:00
parent c1e557e1d4
commit 4bf5c0c714

View file

@ -116,11 +116,13 @@ public class SpoilerTest extends SmackTestSuite {
@Test(expected = IllegalArgumentException.class)
public void spoilerCheckArgumentsNullTest() {
@SuppressWarnings("unused")
SpoilerElement spoilerElement = new SpoilerElement("de", null);
}
@Test(expected = IllegalArgumentException.class)
public void spoilerCheckArgumentsEmptyTest() {
@SuppressWarnings("unused")
SpoilerElement spoilerElement = new SpoilerElement("de", "");
}
}