Remove some excess debug and fix Task

This commit is contained in:
Aria 2023-05-06 04:16:35 -07:00
parent 6cc07c0b72
commit aaf677669d
3 changed files with 6 additions and 5 deletions

View file

@ -12,7 +12,7 @@ plugins {
id 'maven-publish' id 'maven-publish'
} }
version = "1.1.6" version = "1.1.7"
group = "dev.zontreck" group = "dev.zontreck"
archivesBaseName = "LibAC" archivesBaseName = "LibAC"
java.toolchain.languageVersion = JavaLanguageVersion.of(17) java.toolchain.languageVersion = JavaLanguageVersion.of(17)

View file

@ -197,7 +197,7 @@ public class Entry<K>
Entry work = new Entry<>(); Entry work = new Entry<>();
work.type = et; work.type = et;
work.name = new String(nm); 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) 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; return work;
} }

View file

@ -34,7 +34,7 @@ public abstract class Task implements Runnable
{ {
if(token.get()) 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() public void setSuccess()
@ -61,7 +61,8 @@ public abstract class Task implements Runnable
{ {
try { try {
Thread.sleep(1000L); 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) }catch(Exception e)
{ {
e.printStackTrace(); e.printStackTrace();