You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jclouds.apache.org by Andrew Phillips <no...@github.com> on 2013/10/26 23:21:58 UTC

Re: [jclouds-labs-openstack] JCLOUDS-298. Add ObjectApi to openstack-swift (#27)

> +      protected Payload payload;
> +      protected Map<String, String> metadata = ImmutableMap.of();
> +
> +      /**
> +       * @see SwiftObject#name()
> +       */
> +      public Builder name(String name) {
> +         this.name = checkNotNull(name, "name");
> +         return this;
> +      }
> +
> +      /**
> +       * @see SwiftObject#hash()
> +       */
> +      public Builder hash(String hash) {
> +         this.hash = hash;

Does this need a `checkNotNull`?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/27/files#r7235105