> + String driver, String execDriver, Map<String, String>
> volumes, Map<String, Boolean> volumesRW,
> + String command, String status, HostConfig hostConfig,
> List<Port> ports) {
> + this.id = checkNotNull(id, "id");
> + this.name = checkNotNull(name, "name");
> + this.created = checkNotNull(created, "created");
> + this.path = checkNotNull(path, "path");
> + this.args = checkNotNull(args, "args");
> + this.config = checkNotNull(config, "config");
> + this.state = checkNotNull(state, "state");
> + this.image = checkNotNull(image, "image");
> + this.networkSettings = checkNotNull(networkSettings,
> "networkSettings");
> + this.resolvConfPath = checkNotNull(resolvConfPath, "resolvConfPath");
> + this.driver = checkNotNull(driver, "driver");
> + this.execDriver = checkNotNull(execDriver, "execDriver");
> + this.volumes = checkNotNull(volumes, "volumes");
> + this.volumesRw = checkNotNull(volumesRW, "volumesRW");
Same here, make it immutable.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/57/files#r12937472