diff --git a/src/com/sheepit/client/Configuration.java b/src/com/sheepit/client/Configuration.java index d263d78..898acc4 100644 --- a/src/com/sheepit/client/Configuration.java +++ b/src/com/sheepit/client/Configuration.java @@ -36,7 +36,7 @@ import com.sheepit.client.os.OS; public class Configuration { public enum ComputeType { CPU_GPU, CPU_ONLY, GPU_ONLY - }; // accept job for ... + } // accept job for ... public File workingDirectory; public File storageDirectory; // for permanent storage (binary archive) diff --git a/src/com/sheepit/client/Error.java b/src/com/sheepit/client/Error.java index 457f5c3..1b4193a 100644 --- a/src/com/sheepit/client/Error.java +++ b/src/com/sheepit/client/Error.java @@ -39,7 +39,7 @@ public class Error { OS_NOT_SUPPORTED, CPU_NOT_SUPPORTED, UNKNOWN - }; + } public enum ServerCode { OK(0), diff --git a/src/com/sheepit/client/Log.java b/src/com/sheepit/client/Log.java index 7ba970a..8285483 100644 --- a/src/com/sheepit/client/Log.java +++ b/src/com/sheepit/client/Log.java @@ -30,7 +30,7 @@ import java.util.Map; public class Log { private static Log instance = null; - private Map> checkpoints = new HashMap>();; + private Map> checkpoints = new HashMap>(); private int lastCheckPoint; private DateFormat dateFormat; diff --git a/src/com/sheepit/client/Server.java b/src/com/sheepit/client/Server.java index 5d73154..e895466 100644 --- a/src/com/sheepit/client/Server.java +++ b/src/com/sheepit/client/Server.java @@ -387,7 +387,7 @@ public class Server extends Thread implements HostnameVerifier, X509TrustManager String update_method = null; if (renderer_node.hasAttribute("update_method")) { - update_method = renderer_node.getAttribute("update_method");; + update_method = renderer_node.getAttribute("update_method"); } Job a_job = new Job( diff --git a/src/com/sheepit/client/standalone/GuiSwing.java b/src/com/sheepit/client/standalone/GuiSwing.java index 249a56c..047fb1d 100644 --- a/src/com/sheepit/client/standalone/GuiSwing.java +++ b/src/com/sheepit/client/standalone/GuiSwing.java @@ -37,7 +37,7 @@ import com.sheepit.client.standalone.swing.activity.Working; public class GuiSwing extends JFrame implements Gui { public enum ActivityType { WORKING, SETTINGS - }; + } private JPanel panel; private Working activityWorking;