Cleanup (2/?)

This commit is contained in:
Gabriele C 2020-06-27 03:45:11 +02:00
parent 8ca3374c16
commit 5271e76b75
4 changed files with 4 additions and 6 deletions

View File

@ -1,9 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="EntryPointsManager">
<list size="2">
<list size="3">
<item index="0" class="java.lang.String" itemvalue="javax.inject.Inject" />
<item index="1" class="java.lang.String" itemvalue="org.bukkit.event.EventHandler" />
<item index="2" class="java.lang.String" itemvalue="org.mockito.Mock" />
</list>
<writeAnnotations>
<writeAnnotation name="ch.jalu.injector.testing.InjectDelayed" />

View File

@ -74,8 +74,6 @@ public class DistributedFilesPersistenceHandlerTest {
/** UUID for which no data is stored (belongs to an existing segment file: seg16-8). */
private static final UUID UNKNOWN_UUID2 = fromString("84d1cc0b-8f12-d04a-e7ba-a067d05cdc39");
@SuppressWarnings("unused")
@InjectDelayed
private DistributedFilesPersistenceHandler persistenceHandler;

View File

@ -32,14 +32,12 @@ import static org.mockito.Mockito.mock;
@RunWith(DelayedInjectionRunner.class)
public class SpawnLoaderTest {
@SuppressWarnings("unused")
@InjectDelayed
private SpawnLoader spawnLoader;
@Mock
private Settings settings;
@SuppressWarnings("unused")
@Mock
private PluginHookService pluginHookService;

View File

@ -48,9 +48,10 @@ public class CommandManagerTest {
@Mock
private BukkitService bukkitService;
@Mock
private GeoIpService geoIpService;
@SuppressWarnings("unused")
@Mock
private SettingsMigrationService settingsMigrationService;