diff --git a/apis/swift/src/main/java/org/jclouds/openstack/swift/blobstore/functions/ObjectToBlobMetadata.java b/apis/swift/src/main/java/org/jclouds/openstack/swift/blobstore/functions/ObjectToBlobMetadata.java index 8832282d94..ba0ce47960 100644 --- a/apis/swift/src/main/java/org/jclouds/openstack/swift/blobstore/functions/ObjectToBlobMetadata.java +++ b/apis/swift/src/main/java/org/jclouds/openstack/swift/blobstore/functions/ObjectToBlobMetadata.java @@ -18,13 +18,11 @@ package org.jclouds.openstack.swift.blobstore.functions; import static com.google.common.io.BaseEncoding.base16; -import javax.inject.Inject; import javax.inject.Singleton; import org.jclouds.blobstore.domain.MutableBlobMetadata; import org.jclouds.blobstore.domain.StorageType; import org.jclouds.blobstore.domain.internal.MutableBlobMetadataImpl; -import org.jclouds.blobstore.strategy.IfDirectoryReturnNameStrategy; import org.jclouds.openstack.swift.domain.MutableObjectInfoWithMetadata; import org.jclouds.openstack.swift.domain.ObjectInfo; @@ -32,13 +30,6 @@ import com.google.common.base.Function; @Singleton public class ObjectToBlobMetadata implements Function { - private final IfDirectoryReturnNameStrategy ifDirectoryReturnName; - - @Inject - public ObjectToBlobMetadata(IfDirectoryReturnNameStrategy ifDirectoryReturnName) { - this.ifDirectoryReturnName = ifDirectoryReturnName; - } - public MutableBlobMetadata apply(ObjectInfo from) { if (from == null) return null; @@ -56,13 +47,7 @@ public class ObjectToBlobMetadata implements Function