This commit is contained in:
Gabriele C 2016-11-15 19:00:00 +01:00
parent b53f71706a
commit e9f274aa89
3 changed files with 1 additions and 3 deletions

View File

@ -85,7 +85,6 @@ public class MessageUpdater {
}
}
@SuppressWarnings("unchecked")
private void copyMissingMessages() {
for (Property<String> property : properties) {
String message = userConfiguration.getString(property.getPath());

View File

@ -98,7 +98,7 @@ public abstract class AbstractResourceClosingTest {
}
/** Initialize the settings mock and makes it return the default of any given property by default. */
@SuppressWarnings("unchecked")
@SuppressWarnings({ "unchecked", "rawtypes" })
@BeforeClass
public static void initializeSettings() throws IOException, ClassNotFoundException {
settings = mock(Settings.class);

View File

@ -173,7 +173,6 @@ public class LimboPlayerTaskManagerTest {
@Test
public void shouldNotRegisterTimeoutTaskForZeroTimeout() {
// given
String name = "snail";
Player player = mock(Player.class);
LimboPlayer limboPlayer = mock(LimboPlayer.class);
given(settings.getProperty(RestrictionSettings.TIMEOUT)).willReturn(0);