>        Container c = 
>        Container.builder()
>              .name(name)
> -            
> .bytesUsed(Long.parseLong(from.getFirstHeaderOrNull(CONTAINER_BYTES_USED)))
> -            
> .objectCount(Long.parseLong(from.getFirstHeaderOrNull(CONTAINER_OBJECT_COUNT)))
> +            .bytesUsed(bytesUsed==null?0:Long.parseLong(bytesUsed))
> +            .objectCount(objectCount==null?0:Long.parseLong(objectCount))

When the swift server doesn't return these values, is 0 the *real* value? Would 
it be more correct to update the container object variables to be `Long` and 
accept null values?

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

Reply via email to