jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds-labs-google] JCLOUDS-458:Added Blobstore Abstraction (#48)
Date Sat, 20 Sep 2014 03:19:39 GMT
> +import java.util.Map;
> +
> +import javax.inject.Singleton;
> +
> +import org.jclouds.blobstore.domain.BlobMetadata;
> +import org.jclouds.googlecloudstorage.domain.templates.ObjectTemplate;
> +import org.jclouds.io.ContentMetadata;
> +
> +import com.google.common.base.Function;
> +import com.google.common.hash.HashCode;
> +
> +@Singleton
> +public class BlobMetadataToObjectTemplate implements Function<BlobMetadata, ObjectTemplate>
{
> +
> +   public ObjectTemplate apply(BlobMetadata from) {
> +      if (from == null)

[minor] Add `{...}`

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/48/files#r17817552
Mime
View raw message