> @@ -179,7 +176,7 @@ public Integer apply(String description) {
> public String apply(ProductItem productItem) {
> checkNotNull(productItem, "productItem");
> ProductItemPrice price = ProductItems.price().apply(productItem);
> - return "" + price.getId();
> + return Objects.firstNonNull(price.getId() + "", "");
Isn't `price.getId() + ""` _always_ going to be non-null?
```
System.out.println((null + "") == null); // prints false
```
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/77/files#r5508163