mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-27 11:09:06 +00:00
No warnings
This commit is contained in:
@@ -5,8 +5,6 @@ import java.io.FileInputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
||||
import org.bukkit.command.CommandSender;
|
||||
|
||||
import net.md_5.bungee.api.ChatColor;
|
||||
import ninja.bytecode.iris.Iris;
|
||||
import ninja.bytecode.iris.generator.genobject.GenObject;
|
||||
|
||||
@@ -4,10 +4,8 @@ import org.bukkit.Bukkit;
|
||||
|
||||
import ninja.bytecode.iris.Iris;
|
||||
import ninja.bytecode.shuriken.bench.PrecisionStopwatch;
|
||||
import ninja.bytecode.shuriken.execution.ChronoLatch;
|
||||
import ninja.bytecode.shuriken.execution.Queue;
|
||||
import ninja.bytecode.shuriken.execution.ShurikenQueue;
|
||||
import ninja.bytecode.shuriken.format.F;
|
||||
import ninja.bytecode.shuriken.logging.L;
|
||||
|
||||
public class ChronoQueue
|
||||
@@ -48,10 +46,9 @@ public class ChronoQueue
|
||||
{
|
||||
s.reset();
|
||||
s.begin();
|
||||
int m = 0;
|
||||
|
||||
while(q.hasNext() && (s.getMilliseconds() < limit || q.size() > jobLimit))
|
||||
{
|
||||
m++;
|
||||
try
|
||||
{
|
||||
q.next().run();
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
package ninja.bytecode.iris.util;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.function.Function;
|
||||
|
||||
import mortar.lang.collection.GList;
|
||||
|
||||
Reference in New Issue
Block a user