> + > + public Builder<?> toBuilder() { > + return new ConcreteBuilder().fromImage(this); > + } > + > + public abstract static class Builder<T extends Builder<T>> extends > Resource.Builder<T> { > + protected Long size; > + protected String checksum; > + protected Date updatedAt; > + protected Date createdAt; > + protected Image.Status status; > + protected String visibility; > + protected String self; > + protected String file; > + protected String schema; > + protected List<String> tags = ImmutableList.of();
Collections and Maps in Builders like this could be changed to ImmutableList.Builder to avoid reassigning the variable if the user sets the values. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/77/files#r9094198