diff --git a/src/main/java/JobServ/JobServClientAPIConnector.java b/src/main/java/JobServ/JobServClientAPIConnector.java index 2e4a02c..a32df10 100644 --- a/src/main/java/JobServ/JobServClientAPIConnector.java +++ b/src/main/java/JobServ/JobServClientAPIConnector.java @@ -1,4 +1,4 @@ -/* +b/* * JobServClientAPIConnector * * v1.0 @@ -24,11 +24,6 @@ import java.util.logging.Logger; class JobServClientAPIConnector { private final String apiFailureMessage = "Failed while trying to connect to server."; - /* - * The client should not use the same logging module as the server. - * In a more robust product the server logging module will take advantage of system level - * log aggregators such as journalctl, which the client should not be writing to on the users system - */ private static final Logger logger = Logger.getLogger(JobServClient.class.getName()); private final ManagedChannel channel; diff --git a/src/main/java/JobServ/ProcessController.java b/src/main/java/JobServ/ProcessController.java index 71e6ec5..f7d4cef 100644 --- a/src/main/java/JobServ/ProcessController.java +++ b/src/main/java/JobServ/ProcessController.java @@ -65,8 +65,6 @@ class ProcessController { /* * getStatus() * returns whether or not the process is running - * - * TODO: (for future release) return thread state */ public int getStatus() { if (this.killedManually) { diff --git a/src/main/java/JobServ/ProcessManager.java b/src/main/java/JobServ/ProcessManager.java index d659920..14ac67d 100644 --- a/src/main/java/JobServ/ProcessManager.java +++ b/src/main/java/JobServ/ProcessManager.java @@ -189,9 +189,6 @@ class ProcessManager { /* * getLock() - * Locks access to this.processQueue - * Waits for a predefined timeout period for mutex to be avail. - * Synchronized so two things cannot grab lock at once. * Throws TimeoutException when it fails to get the lock. * Alternatively, throws false if lock doesnt exist for PID * Function is synchronized to prevent multiple threads accessing the same lock at once