mirror of https://github.com/apache/jclouds.git
Correct misplaced AutoValue parameters
Found via error-prone 2.0.21.
This commit is contained in:
parent
d6ca5cb429
commit
d36812e5a6
|
@ -58,8 +58,8 @@ public abstract class PaginatedCollection<T> extends IterableWithMarker<T> {
|
|||
@Nullable public abstract URI last();
|
||||
|
||||
@SerializedNames({ "first", "prev", "next", "last" })
|
||||
public static Pages create(URI first, URI next, URI prev, URI last) {
|
||||
return new AutoValue_PaginatedCollection_Links_Pages(first, next, prev, last);
|
||||
public static Pages create(URI first, URI prev, URI next, URI last) {
|
||||
return new AutoValue_PaginatedCollection_Links_Pages(first, prev, next, last);
|
||||
}
|
||||
|
||||
Pages() { }
|
||||
|
|
|
@ -32,10 +32,10 @@ public abstract class ResumableUpload {
|
|||
|
||||
@Nullable public abstract String contentLength();
|
||||
|
||||
@Nullable public abstract Long rangeUpperValue();
|
||||
|
||||
@Nullable public abstract Long rangeLowerValue();
|
||||
|
||||
@Nullable public abstract Long rangeUpperValue();
|
||||
|
||||
public static ResumableUpload create(int statusCode, String uploadId, String contentLength, Long rangeLowerValue,
|
||||
Long rangeUpperValue) {
|
||||
return new AutoValue_ResumableUpload(statusCode, uploadId, contentLength, rangeLowerValue, rangeUpperValue);
|
||||
|
|
Loading…
Reference in New Issue