From 5d437312bfe20e654b4400fe24e5d91db6b3e5e8 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Thu, 2 Jun 2016 22:33:54 -0700 Subject: [PATCH] JCLOUDS-912: Remove GCS simpleUpload UploadBinder This is not necessary; jclouds binds the Payload automatically; jclouds binds the Payload automatically. --- .../org/jclouds/googlecloudstorage/features/ObjectApi.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/providers/google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/features/ObjectApi.java b/providers/google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/features/ObjectApi.java index ab8cab6f62..b75040661d 100644 --- a/providers/google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/features/ObjectApi.java +++ b/providers/google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/features/ObjectApi.java @@ -33,7 +33,6 @@ import javax.ws.rs.Produces; import org.jclouds.Fallbacks.FalseOnNotFoundOr404; import org.jclouds.Fallbacks.NullOnNotFoundOr404; import org.jclouds.googlecloudstorage.binders.MultipartUploadBinder; -import org.jclouds.googlecloudstorage.binders.UploadBinder; import org.jclouds.googlecloudstorage.domain.GoogleCloudStorageObject; import org.jclouds.googlecloudstorage.domain.ListPageWithPrefixes; import org.jclouds.googlecloudstorage.domain.RewriteResponse; @@ -187,10 +186,9 @@ public interface ObjectApi { @QueryParams(keys = "uploadType", values = "media") @Consumes(APPLICATION_JSON) @Path("/upload/storage/v1/b/{bucket}/o") - @MapBinder(UploadBinder.class) GoogleCloudStorageObject simpleUpload(@PathParam("bucket") String bucketName, @HeaderParam("Content-Type") String contentType, @HeaderParam("Content-Length") Long contentLength, @PayloadParam("payload") Payload payload, - InsertObjectOptions Options); + InsertObjectOptions options); /** * Deletes an object and its metadata. Deletions are permanent if versioning is not enabled.