Remove some excess debug and fix Task
This commit is contained in:
parent
6cc07c0b72
commit
aaf677669d
3 changed files with 6 additions and 5 deletions
|
@ -12,7 +12,7 @@ plugins {
|
|||
id 'maven-publish'
|
||||
}
|
||||
|
||||
version = "1.1.6"
|
||||
version = "1.1.7"
|
||||
group = "dev.zontreck"
|
||||
archivesBaseName = "LibAC"
|
||||
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
|
||||
|
|
|
@ -197,7 +197,7 @@ public class Entry<K>
|
|||
Entry work = new Entry<>();
|
||||
work.type = et;
|
||||
work.name = new String(nm);
|
||||
System.out.println("Read start: " + work.name + " [ " + work.type.toString() + " ]");
|
||||
//System.out.println("Read start: " + work.name + " [ " + work.type.toString() + " ]");
|
||||
|
||||
switch(et)
|
||||
{
|
||||
|
@ -318,7 +318,7 @@ public class Entry<K>
|
|||
}
|
||||
}
|
||||
|
||||
System.out.println("Read finished: " + work.name + " [ " + work.type.toString() + " ]");
|
||||
//System.out.println("Read finished: " + work.name + " [ " + work.type.toString() + " ]");
|
||||
|
||||
return work;
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ public abstract class Task implements Runnable
|
|||
{
|
||||
if(token.get())
|
||||
{
|
||||
ConsolePrompt.console.printf("\r"+TASK_NAME+"\t\t["+token.status+"]\n");
|
||||
System.out.printf("\r"+TASK_NAME+"\t\t["+token.status+"]\n");
|
||||
}
|
||||
}
|
||||
public void setSuccess()
|
||||
|
@ -61,7 +61,8 @@ public abstract class Task implements Runnable
|
|||
{
|
||||
try {
|
||||
Thread.sleep(1000L);
|
||||
ConsolePrompt.console.printf("\r"+TASK_NAME+"\t\t"+spinner.getSpinnerTick());
|
||||
|
||||
System.out.printf("\r"+TASK_NAME+"\t\t"+spinner.getSpinnerTick());
|
||||
}catch(Exception e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
|
|
Loading…
Reference in a new issue