> }
>
>
> public Builder fromMachineType(MachineType in) {
> return
> super.fromResource(in).memoryMb(in.getMemoryMb()).imageSpaceGb(in.getImageSpaceGb()).scratchDisks(in
>
> .getScratchDisks()).maximumPersistentDisks(in.getMaximumPersistentDisks())
> -
> .maximumPersistentDisksSizeGb(in.getMaximumPersistentDisksSizeGb()).zone(in
> - .getZone());
> +
> .maximumPersistentDisksSizeGb(in.getMaximumPersistentDisksSizeGb()).zone(in.getZone())
> + .deprecated(in.getDeprecated().orNull());
Thanks @demobox I think you are right, there is no need to checkNotNull in
builder's deprecated method. Thanks
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/24/files#r12884228