> @@ -179,7 +176,8 @@ public Integer apply(String description) {
> public String apply(ProductItem productItem) {
> checkNotNull(productItem, "productItem");
> ProductItemPrice price = ProductItems.price().apply(productItem);
> - return "" + price.getId();
> + checkNotNull(price, "price");
> + return String.valueOf(price.getId());
Combine into `return String.valueOf(checkNotNull(price, "price").getId());`?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/77/files#r7000372