Remove @Nullable from methods returning primitives

Found via error-prone.
This commit is contained in:
Andrew Gaul 2015-12-12 08:21:32 +08:00
parent 2385ba901e
commit 639e96d5e7
2 changed files with 1 additions and 2 deletions

View File

@ -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){

View File

@ -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);
/**