> +   public static final Integer DEFAULT_VERSION = 10;
> +
> +   @Resource
> +   @Named(ChefProperties.CHEF_LOGGER)
> +   private Logger logger = Logger.NULL;
> +
> +   /** The configured version of the Chef Server API. */
> +   private final String apiVersion;
> +
> +   @Inject
> +   ChefVersionSupplier(@ApiVersion String apiVersion) {
> +      this.apiVersion = checkNotNull(apiVersion, "apiVersion must not be 
> null");
> +   }
> +
> +   @Override
> +   public Integer get() {

This method is the one from the `Supplier` interface, so it must return the 
object instead of the primitive type.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-chef/pull/18/files#r6280258

Reply via email to