Allow GCS object nullable owner

This addresses a NullPointerException seen while listing a bucket:

{statusCode=200, message=OK, headers={X-Frame-Options=[SAMEORIGIN], Server=[GSE], Cache-Control=[private, max-age=0, must-revalidate, no-transform], X-Content-Type-Options=[nosniff], Vary=[X-Origin, Origin], X-XSS-Protection=[1; mode=block], Date=[Fri, 29 May 2015 21:43:51 GMT], Alternate-Protocol=[443:quic,p=1]}, payload=[content=true, contentMetadata=[contentDisposition=null, contentEncoding=null, contentLanguage=null, contentLength=760, contentMD5=null, contentType=application/json; charset=UTF-8, expires=Fri May 29 14:43:51 PDT 2015], written=false]}
This commit is contained in:
Andrew Gaul 2015-05-29 14:45:13 -07:00
parent 3d9258f75a
commit fb4c65141e
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ public abstract class GoogleCloudStorageObject {
@Nullable public abstract String contentLanguage();
@Nullable public abstract String cacheControl();
public abstract List<ObjectAccessControls> acl();
public abstract Owner owner();
@Nullable public abstract Owner owner();
@Nullable public abstract String crc32c();
@Nullable public abstract Integer componentCount();