diff --git a/providers/google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/domain/templates/ComposeObjectTemplate.java b/providers/google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/domain/templates/ComposeObjectTemplate.java index 4ad8d5ec9c..3f333d8455 100644 --- a/providers/google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/domain/templates/ComposeObjectTemplate.java +++ b/providers/google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/domain/templates/ComposeObjectTemplate.java @@ -37,7 +37,7 @@ public abstract class ComposeObjectTemplate { @AutoValue public abstract static class ObjectPreconditions { - @Nullable public abstract long ifGenerationMatch(); + public abstract long ifGenerationMatch(); @SerializedNames({"ifGenerationMatch"}) public static ObjectPreconditions create(long ifGenerationMatch){ 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 4e4f5b93ff..ab8cab6f62 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 @@ -85,7 +85,6 @@ public interface ObjectApi { @GET @Path("storage/v1/b/{bucket}/o/{object}") @Fallback(FalseOnNotFoundOr404.class) - @Nullable boolean objectExists(@PathParam("bucket") String bucketName, @PathParam("object") @Encoded String objectName); /**