File tree Expand file tree Collapse file tree
services-directions-models/src/main/java/com/mapbox/api/directions/v5/models Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package com .mapbox .api .directions .v5 .models ;
22
3- import androidx .annotation .Nullable ;
3+ import androidx .annotation .NonNull ;
44
55import com .google .auto .value .AutoValue ;
66import com .google .gson .Gson ;
@@ -18,14 +18,14 @@ public abstract class Closure extends DirectionsJsonObject {
1818 /**
1919 * Closure's geometry index start point.
2020 */
21- @ Nullable
21+ @ NonNull
2222 @ SerializedName ("geometry_index_start" )
2323 public abstract Integer geometryIndexStart ();
2424
2525 /**
2626 * Closure's geometry index end point.
2727 */
28- @ Nullable
28+ @ NonNull
2929 @ SerializedName ("geometry_index_end" )
3030 public abstract Integer geometryIndexEnd ();
3131
@@ -81,14 +81,14 @@ public abstract static class Builder {
8181 *
8282 * @param geometryIndexStart start index
8383 */
84- public abstract Builder geometryIndexStart (@ Nullable Integer geometryIndexStart );
84+ public abstract Builder geometryIndexStart (@ NonNull Integer geometryIndexStart );
8585
8686 /**
8787 * Closure's geometry index end point.
8888 *
8989 * @param geometryIndexEnd end index
9090 */
91- public abstract Builder geometryIndexEnd (@ Nullable Integer geometryIndexEnd );
91+ public abstract Builder geometryIndexEnd (@ NonNull Integer geometryIndexEnd );
9292
9393 /**
9494 * Build a new {@link Closure} object.
You can’t perform that action at this time.
0 commit comments