mirror of https://github.com/apache/jclouds.git
Remove @Nullable from methods returning primitives
Found via error-prone.
This commit is contained in:
parent
2385ba901e
commit
639e96d5e7
|
@ -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){
|
||||
|
|
|
@ -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);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue