> */
> public class ProductItem {
>
> - public static Builder<?> builder() {
> - return new ConcreteBuilder();
> + private final int id;
> + private final String description;
> + private final String softwareDescriptionId;
> + private final SoftwareDescription softwareDescription;
> +
> + @ConstructorProperties({"id", "description", "softwareDescriptionId",
> "softwareDescription"})
> + public ProductItem(int id, @Nullable String description, @Nullable String
> softwareDescriptionId,
> + @Nullable SoftwareDescription softwareDescription) {
> + this.id = checkNotNull(id, "id");
A primitive `int` will never be null, you could remove this check.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/296/files#r12882589