mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-26 00:02:06 +01:00
Suppress 'unsused' warning in SpoilerTest
This commit is contained in:
parent
c1e557e1d4
commit
4bf5c0c714
1 changed files with 2 additions and 0 deletions
|
@ -116,11 +116,13 @@ public class SpoilerTest extends SmackTestSuite {
|
||||||
|
|
||||||
@Test(expected = IllegalArgumentException.class)
|
@Test(expected = IllegalArgumentException.class)
|
||||||
public void spoilerCheckArgumentsNullTest() {
|
public void spoilerCheckArgumentsNullTest() {
|
||||||
|
@SuppressWarnings("unused")
|
||||||
SpoilerElement spoilerElement = new SpoilerElement("de", null);
|
SpoilerElement spoilerElement = new SpoilerElement("de", null);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(expected = IllegalArgumentException.class)
|
@Test(expected = IllegalArgumentException.class)
|
||||||
public void spoilerCheckArgumentsEmptyTest() {
|
public void spoilerCheckArgumentsEmptyTest() {
|
||||||
|
@SuppressWarnings("unused")
|
||||||
SpoilerElement spoilerElement = new SpoilerElement("de", "");
|
SpoilerElement spoilerElement = new SpoilerElement("de", "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue