diff --git a/apis/s3/src/main/java/org/jclouds/s3/blobstore/functions/ObjectToBlobMetadata.java b/apis/s3/src/main/java/org/jclouds/s3/blobstore/functions/ObjectToBlobMetadata.java index ca6ee3c6e1..dedb879979 100644 --- a/apis/s3/src/main/java/org/jclouds/s3/blobstore/functions/ObjectToBlobMetadata.java +++ b/apis/s3/src/main/java/org/jclouds/s3/blobstore/functions/ObjectToBlobMetadata.java @@ -22,7 +22,6 @@ 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.domain.Location; import org.jclouds.http.HttpUtils; import org.jclouds.s3.domain.AccessControlList; @@ -36,14 +35,12 @@ import com.google.common.cache.LoadingCache; @Singleton public class ObjectToBlobMetadata implements Function { - private final IfDirectoryReturnNameStrategy ifDirectoryReturnName; private final LoadingCache bucketAcls; private final Function locationOfBucket; @Inject - public ObjectToBlobMetadata(IfDirectoryReturnNameStrategy ifDirectoryReturnName, - LoadingCache bucketAcls, Function locationOfBucket) { - this.ifDirectoryReturnName = ifDirectoryReturnName; + public ObjectToBlobMetadata(LoadingCache bucketAcls, Function locationOfBucket) { this.bucketAcls = bucketAcls; this.locationOfBucket = locationOfBucket; } @@ -67,13 +64,7 @@ public class ObjectToBlobMetadata implements Function