mirror of https://github.com/apache/jclouds.git
fixed typo in blob builder
This commit is contained in:
parent
12d927f40d
commit
54ea98ba49
|
@ -41,7 +41,6 @@ import org.jclouds.io.Payloads;
|
||||||
import org.jclouds.io.payloads.PhantomPayload;
|
import org.jclouds.io.payloads.PhantomPayload;
|
||||||
|
|
||||||
import com.google.common.base.Throwables;
|
import com.google.common.base.Throwables;
|
||||||
import com.google.common.collect.ImmutableMap;
|
|
||||||
import com.google.common.collect.Maps;
|
import com.google.common.collect.Maps;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -70,8 +69,8 @@ public class BlobBuilderImpl implements BlobBuilder {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BlobBuilder userMetadata(Map<String, String> userMetadata) {
|
public BlobBuilder userMetadata(Map<String, String> userMetadata) {
|
||||||
if (userMetadata == null)
|
if (userMetadata != null)
|
||||||
this.userMetadata = ImmutableMap.copyOf(userMetadata);
|
this.userMetadata = Maps.newLinkedHashMap(userMetadata);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue