Cleanup: remove unused code
This commit is contained in:
@@ -447,10 +447,6 @@ public class Client {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Error.Type work(Job ajob) {
|
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;
|
int ret;
|
||||||
|
|
||||||
ret = this.downloadExecutable(ajob);
|
ret = this.downloadExecutable(ajob);
|
||||||
|
|||||||
@@ -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);
|
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() {
|
public String getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user