>        }
>  
>  
>        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());

Wait...we are calling `.deprecated` on the Builder here, no? And the builder's 
`deprecated` method expects a non-null input? Or am I missing something here?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/24/files#r12499679

Reply via email to