Thx for the fix! Having a look at the [CloudStack 
docs](http://cloudstack-administration.readthedocs.org/en/latest/usage.html#disk-volume-usage-record-format),
 it seems that the *size* field is not returned in all usage types. I'm not 
very familiar with the CloudStack provider, but if I'm not wrong, the current 
implementation reuses the UsageRecord entity for all types, so the *size* field 
could actually be null in some cases. In that case, we should keep the Long 
object with the `@Nullable` annotation.

Can you share the issues you experienced with that approach, to see if we can 
fix it?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/845#issuecomment-136520689

Reply via email to