Adds annotations by contract of the interface

This commit is contained in:
thatsIch
2015-05-02 15:39:59 +02:00
parent 2eec5309ac
commit 875214c166
5 changed files with 20 additions and 9 deletions
@@ -27,6 +27,7 @@ import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import java.util.concurrent.ThreadFactory;
import java.util.concurrent.TimeUnit;
import javax.annotation.Nonnull;
import net.minecraft.block.Block;
import net.minecraft.world.World;
@@ -175,7 +176,7 @@ public class CompassService implements ThreadFactory
}
@Override
public Thread newThread( Runnable job )
public Thread newThread( @Nonnull Runnable job )
{
return new Thread( job, "AE Compass Service" );
}