From 2e65795c0fddab8b5e30217a813fe94938e45c4d Mon Sep 17 00:00:00 2001 From: Laurent Clouet Date: Tue, 16 Dec 2014 22:45:23 +0000 Subject: [PATCH] Cleanup: remove unused code --- src/com/sheepit/client/Client.java | 4 ---- src/com/sheepit/client/Job.java | 4 ---- 2 files changed, 8 deletions(-) diff --git a/src/com/sheepit/client/Client.java b/src/com/sheepit/client/Client.java index f475008..04eb9db 100644 --- a/src/com/sheepit/client/Client.java +++ b/src/com/sheepit/client/Client.java @@ -447,10 +447,6 @@ public class Client { } public Error.Type work(Job ajob) { - if (ajob.workeable() == false) { - this.log.error("Client::work The received job is not workeable"); - return Error.Type.WRONG_CONFIGURATION; - } int ret; ret = this.downloadExecutable(ajob); diff --git a/src/com/sheepit/client/Job.java b/src/com/sheepit/client/Job.java index 3436cc6..cb9af77 100644 --- a/src/com/sheepit/client/Job.java +++ b/src/com/sheepit/client/Job.java @@ -74,10 +74,6 @@ public class Job { return String.format("Job (numFrame '%s' sceneMD5 '%s' rendererMD5 '%s' ID '%s' revision '%s' pictureFilename '%s' jobPath '%s' renderDuration '%s', memoryUsed %skB gpu %s extras '%s' updateRenderingStatusMethod '%s')", this.numFrame, this.sceneMD5, this.rendererMD5, this.id, this.revision, this.pictureFilename, this.path, this.renderDuration, this.memoryUsed, this.useGPU, this.extras, this.updateRenderingStatusMethod); } - public boolean workeable() { - return true; - } - public String getId() { return id; }