> + * @author Andrea Turli
> + */
> +@Singleton
> +public class VirtualGuestToImage implements Function<VirtualGuest, Image> {
> +
> + private static final String UNRECOGNIZED = "UNRECOGNIZED";
> +
> + @Resource
> + @Named(ComputeServiceConstants.COMPUTE_LOGGER)
> + protected Logger logger = Logger.NULL;
> +
> + private final OperatingSystemToImage operatingSystemToImage;
> +
> + @Inject
> + public VirtualGuestToImage(OperatingSystemToImage operatingSystemToImage)
> {
> + this.operatingSystemToImage = operatingSystemToImage;
Add a `checkNotNull` check here.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/296/files#r12882154