> + * OS images from the image repository > + * > + * @see <a href="http://msdn.microsoft.com/en-us/library/jj157191" >api</a> > + */ > +public class OSImage { > + public static String LOCATION = "location"; > + > + public static Builder<?> builder() { > + return new ConcreteBuilder(); > + } > + > + public Builder<?> toBuilder() { > + return new ConcreteBuilder().fromHostedService(this); > + } > + > + public abstract static class Builder<T extends Builder<T>> {
If the builder is not going to be subclassed, there is no need for an abstract and a concrete builder. Keep just one regular builder and remove the unnecessary inheritance. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs/pull/132/files#r24749729
