Cleanup: remove unused code

This commit is contained in:
Laurent Clouet
2014-12-16 22:45:23 +00:00
parent bdfa0d2b2a
commit 2e65795c0f
2 changed files with 0 additions and 8 deletions

View File

@@ -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);

View File

@@ -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;
}