fix compilation error

This commit is contained in:
fjy 2014-09-30 11:44:50 -07:00
parent 4c23a5e9f6
commit 575d51b0ce
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ public class FillCapacityWorkerSelectStrategy implements WorkerSelectStrategy
this.config = config; this.config = config;
} }
public Optional<ZkWorker> findWorkerForTask( public Optional<ImmutableZkWorker> findWorkerForTask(
final ImmutableMap<String, ImmutableZkWorker> zkWorkers, final ImmutableMap<String, ImmutableZkWorker> zkWorkers,
final Task task final Task task
) )

View File

@ -76,7 +76,7 @@ public class Worker
return "Worker{" + return "Worker{" +
"host='" + host + '\'' + "host='" + host + '\'' +
", ip='" + ip + '\'' + ", ip='" + ip + '\'' +
", capacity=" + capacity + ", capacity=" + capacity +
", version='" + version + '\'' + ", version='" + version + '\'' +
'}'; '}';
} }