Ref: Use Lombok annot's to minimize code.
This commit is contained in:
committed by
Sheepit Renderfarm
parent
e0991622bf
commit
dd0d50582f
@@ -203,14 +203,14 @@ public class Server extends Thread {
|
||||
FormBody formBody = new FormBody.Builder()
|
||||
.add("login", user_config.getLogin())
|
||||
.add("password", user_config.getPassword())
|
||||
.add("cpu_family", os.getCPU().family())
|
||||
.add("cpu_model", os.getCPU().model())
|
||||
.add("cpu_model_name", os.getCPU().name())
|
||||
.add("cpu_family", os.getCPU().getFamily())
|
||||
.add("cpu_model", os.getCPU().getModel())
|
||||
.add("cpu_model_name", os.getCPU().getName())
|
||||
.add("cpu_cores", String.valueOf(user_config.getNbCores() == -1 ? os.getCPU().cores() : Math.max(CPU.MIN_CORES, user_config.getNbCores())))
|
||||
.add("os", os.name())
|
||||
.add("os_version", os.getVersion())
|
||||
.add("ram", String.valueOf(os.getTotalMemory()))
|
||||
.add("bits", os.getCPU().arch())
|
||||
.add("bits", os.getCPU().getArch())
|
||||
.add("version", Configuration.jarVersion)
|
||||
.add("hostname", user_config.getHostname())
|
||||
.add("ui", client.getGui().getClass().getSimpleName())
|
||||
|
||||
Reference in New Issue
Block a user