mirror of https://github.com/apache/jclouds.git
JCLOUDS-654: Add size to BlobMetadata constructor
Follow on to fae097e144
.
This commit is contained in:
parent
613290ea8d
commit
00a36c3e45
|
@ -43,13 +43,21 @@ public class BlobMetadataImpl extends StorageMetadataImpl implements BlobMetadat
|
|||
public BlobMetadataImpl(String id, String name, @Nullable Location location, URI uri, String eTag,
|
||||
@Nullable Date creationDate, @Nullable Date lastModified,
|
||||
Map<String, String> userMetadata, @Nullable URI publicUri,
|
||||
@Nullable String container, ContentMetadata contentMetadata) {
|
||||
super(StorageType.BLOB, id, name, location, uri, eTag, creationDate, lastModified, userMetadata);
|
||||
@Nullable String container, ContentMetadata contentMetadata, @Nullable Long size) {
|
||||
super(StorageType.BLOB, id, name, location, uri, eTag, creationDate, lastModified, userMetadata, size);
|
||||
this.publicUri = publicUri;
|
||||
this.container = container;
|
||||
this.contentMetadata = checkNotNull(contentMetadata, "contentMetadata");
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public BlobMetadataImpl(String id, String name, @Nullable Location location, URI uri, String eTag,
|
||||
@Nullable Date creationDate, @Nullable Date lastModified,
|
||||
Map<String, String> userMetadata, @Nullable URI publicUri,
|
||||
@Nullable String container, ContentMetadata contentMetadata) {
|
||||
this(id, name, location, uri, eTag, creationDate, lastModified, userMetadata, publicUri, container, contentMetadata, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue