Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split Directions models from the implementation into a separate module #1104

Merged
merged 16 commits into from
Jan 13, 2020

Conversation

Guardiola31337
Copy link
Contributor

Instead of writing wrappers and mappers internal to Navigation SDK, we could modify mapbox-java and split models (like RouteLeg or LegStep) from the implementation (like MapboxDirections which makes the HTTP requests).

Models would be released as one artifact, while the implementation would be another. This way, the whole Nav SDK could reuse the models passed form both onboard and offboard routers while only the MapboxOffboardRouter will depend on actual communication details (Retrofit, OkHttp).

This approach would simplify the setup by having only one source of directions DTOs while not blocking future modularisation options.

The code in the mapbox-java repo does a moderately good job of separating models into separate packages and I think we could make this switch into 2 artifacts seamless, without breaking semver.

cc @abhishek1508 @LukasPaczos @korshaknn

@sonatype-lift
Copy link

sonatype-lift bot commented Jan 13, 2020

Muse analysis has completed. New issues were detected with line numbers outside of the pull request change set:

  • (NULL_DEREFERENCE)[https://github.com/mapbox/mapbox-java/blob/4578c9121a56c51e4ba5cf6e012a4dd09edb1763/samples/src/main/java/com/mapbox/samples/BasicDirections.java#L121]: object returned by response.body().routes().get(0).legs() could be null and is dereferenced at line 121.
  • (NULL_DEREFERENCE)[https://github.com/mapbox/mapbox-java/blob/4578c9121a56c51e4ba5cf6e012a4dd09edb1763/services-directions-models/src/main/java/com/mapbox/api/directions/models/DirectionsWaypoint.java#L46]: object returned by rawLocation() could be null and is dereferenced at line 46.
  • (NULL_DEREFERENCE)[https://github.com/mapbox/mapbox-java/blob/4578c9121a56c51e4ba5cf6e012a4dd09edb1763/services-directions/src/main/java/com/mapbox/api/directions/v5/MapboxDirections.java#L375]: object returned by walkingOptions() could be null and is dereferenced at line 375.
  • (NULL_DEREFERENCE)[https://github.com/mapbox/mapbox-java/blob/4578c9121a56c51e4ba5cf6e012a4dd09edb1763/services-directions/src/main/java/com/mapbox/api/directions/v5/MapboxDirections.java#L357]: object returned by walkingOptions() could be null and is dereferenced at line 357.
  • (NULL_DEREFERENCE)[https://github.com/mapbox/mapbox-java/blob/4578c9121a56c51e4ba5cf6e012a4dd09edb1763/services-directions/src/main/java/com/mapbox/api/directions/v5/MapboxDirections.java#L366]: object returned by walkingOptions() could be null and is dereferenced at line 366.
  • (NULL_DEREFERENCE)[https://github.com/mapbox/mapbox-java/blob/4578c9121a56c51e4ba5cf6e012a4dd09edb1763/services-geojson/src/main/java/com/mapbox/geojson/utils/PolylineUtils.java#L271]: object point last assigned on line 260 could be null and is dereferenced by call to equals(...) at line 271.
  • (NULL_DEREFERENCE)[https://github.com/mapbox/mapbox-java/blob/4578c9121a56c51e4ba5cf6e012a4dd09edb1763/services-matching/src/main/java/com/mapbox/api/matching/v5/MatchingResponseFactory.java#L55]: object matchings last assigned on line 53 could be null and is dereferenced at line 55.
  • (NULL_DEREFERENCE)[https://github.com/mapbox/mapbox-java/blob/4578c9121a56c51e4ba5cf6e012a4dd09edb1763/services-matching/src/main/java/com/mapbox/api/matching/v5/models/MapMatchingTracepoint.java#L73]: object returned by rawLocation() could be null and is dereferenced at line 73.
  • (NULL_DEREFERENCE)[https://github.com/mapbox/mapbox-java/blob/4578c9121a56c51e4ba5cf6e012a4dd09edb1763/services-optimization/src/main/java/com/mapbox/api/optimization/v1/models/OptimizationWaypoint.java#L68]: object returned by rawLocation() could be null and is dereferenced at line 68.
  • (NULL_DEREFERENCE)[https://github.com/mapbox/mapbox-java/blob/4578c9121a56c51e4ba5cf6e012a4dd09edb1763/services-staticmap/src/main/java/com/mapbox/api/staticmap/v1/models/StaticMarkerAnnotation.java#L50]: object returned by lnglat() could be null and is dereferenced at line 50.

@@ -152,7 +152,7 @@ public static Builder builder() {
public abstract List<VoiceInstructions> voiceInstructions();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AutoValueImmutableFields: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC

@sonatype-lift
Copy link

sonatype-lift bot commented Jan 13, 2020

Muse analysis has completed. New issues were detected with line numbers outside of the pull request change set:

  • (NULL_DEREFERENCE)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsWaypoint.java#L47]: object returned by rawLocation() could be null and is dereferenced at line 47.
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/BannerComponents.java#L203]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/BannerText.java#L52]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/BannerView.java#L51]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsResponse.java#L87]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsResponse.java#L75]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsRoute.java#L98]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsWaypoint.java#L59]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/IntersectionLanes.java#L51]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L40]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L50]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L60]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L72]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L82]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegStep.java#L164]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegStep.java#L193]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/RouteLeg.java#L64]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/RouteOptions.java#L88]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L54]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L92]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L64]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L127]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L81]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/ecbd86102bd4f1a1f3027154401b40fb86c1ede6/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepManeuver.java#L211]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC

@Guardiola31337 Guardiola31337 force-pushed the feature/ak-#1103_module_models branch from ecbd861 to e8e9506 Compare January 13, 2020 12:26
@@ -152,9 +152,9 @@ public static Builder builder() {
public abstract List<VoiceInstructions> voiceInstructions();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AutoValueImmutableFields: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC

@sonatype-lift
Copy link

sonatype-lift bot commented Jan 13, 2020

Muse analysis has completed. New issues were detected with line numbers outside of the pull request change set:

  • (NULL_DEREFERENCE)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsWaypoint.java#L47]: object returned by rawLocation() could be null and is dereferenced at line 47.
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/BannerComponents.java#L203]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/BannerText.java#L52]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/BannerView.java#L51]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsResponse.java#L87]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsResponse.java#L75]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsRoute.java#L98]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsWaypoint.java#L59]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/IntersectionLanes.java#L51]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L40]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L50]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L60]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L72]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L82]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegStep.java#L164]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegStep.java#L193]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/RouteLeg.java#L64]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/RouteOptions.java#L88]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L54]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L92]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L64]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L127]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L81]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/e8e9506293280fc6ea928710ea2dd88c0e86e842/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepManeuver.java#L211]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC

@LukasPaczos LukasPaczos marked this pull request as ready for review January 13, 2020 16:16
@@ -152,9 +152,9 @@ public static Builder builder() {
public abstract List<VoiceInstructions> voiceInstructions();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AutoValueImmutableFields: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC

@sonatype-lift
Copy link

sonatype-lift bot commented Jan 13, 2020

Muse analysis has completed. New issues were detected with line numbers outside of the pull request change set:

  • (NULL_DEREFERENCE)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsWaypoint.java#L47]: object returned by rawLocation() could be null and is dereferenced at line 47.
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/BannerComponents.java#L203]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/BannerText.java#L52]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/BannerView.java#L51]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsResponse.java#L87]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsResponse.java#L75]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsRoute.java#L98]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsWaypoint.java#L59]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/IntersectionLanes.java#L51]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L40]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L50]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L60]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L72]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L82]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegStep.java#L164]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegStep.java#L193]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/RouteLeg.java#L64]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/RouteOptions.java#L88]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L54]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L92]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L64]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L127]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L81]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/af89ca73e57eea7cc425fe42b049502319340ff4/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepManeuver.java#L211]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC

@@ -152,9 +152,9 @@ public static Builder builder() {
public abstract List<VoiceInstructions> voiceInstructions();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AutoValueImmutableFields: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC

@sonatype-lift
Copy link

sonatype-lift bot commented Jan 13, 2020

Muse analysis has completed. New issues were detected with line numbers outside of the pull request change set:

  • (NULL_DEREFERENCE)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsWaypoint.java#L47]: object returned by rawLocation() could be null and is dereferenced at line 47.
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/BannerComponents.java#L203]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/BannerText.java#L52]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/BannerView.java#L51]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsResponse.java#L87]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsResponse.java#L75]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsRoute.java#L98]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsWaypoint.java#L59]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/IntersectionLanes.java#L51]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L40]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L50]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L60]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L72]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L82]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegStep.java#L164]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegStep.java#L193]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/RouteLeg.java#L64]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/RouteOptions.java#L88]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L54]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L92]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L64]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L127]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L81]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/da60d911571e05b1699332dbf02f4df8219d44cf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepManeuver.java#L211]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC

@@ -152,9 +152,9 @@ public static Builder builder() {
public abstract List<VoiceInstructions> voiceInstructions();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AutoValueImmutableFields: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC

@sonatype-lift
Copy link

sonatype-lift bot commented Jan 13, 2020

Muse analysis has completed. New issues were detected with line numbers outside of the pull request change set:

  • (NULL_DEREFERENCE)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsWaypoint.java#L47]: object returned by rawLocation() could be null and is dereferenced at line 47.
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/BannerComponents.java#L203]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/BannerText.java#L52]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/BannerView.java#L51]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsResponse.java#L87]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsResponse.java#L75]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsRoute.java#L98]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsWaypoint.java#L59]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/IntersectionLanes.java#L51]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L40]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L50]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L60]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L72]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L82]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegStep.java#L164]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegStep.java#L193]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/RouteLeg.java#L64]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/RouteOptions.java#L88]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L54]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L92]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L64]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L127]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L81]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/be669f73510c1ea4fe7610556982a809e2f675a7/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepManeuver.java#L211]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC

@LukasPaczos LukasPaczos force-pushed the feature/ak-#1103_module_models branch from be669f7 to 6cbbe8b Compare January 13, 2020 18:17
@LukasPaczos LukasPaczos force-pushed the feature/ak-#1103_module_models branch from 6cbbe8b to cc3371c Compare January 13, 2020 18:18
@sonatype-lift
Copy link

sonatype-lift bot commented Jan 13, 2020

Muse analysis has completed. New issues were detected with line numbers outside of the pull request change set:

  • (NULL_DEREFERENCE)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsWaypoint.java#L47]: object returned by rawLocation() could be null and is dereferenced at line 47.
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/BannerComponents.java#L203]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/BannerText.java#L52]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/BannerView.java#L51]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsResponse.java#L87]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsResponse.java#L75]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsRoute.java#L98]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsWaypoint.java#L59]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/IntersectionLanes.java#L51]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L40]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L50]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L60]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L72]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L82]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegStep.java#L164]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegStep.java#L193]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegStep.java#L152]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/RouteLeg.java#L64]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/RouteOptions.java#L88]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L54]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L92]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L64]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L127]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L81]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/6cbbe8bbef5aec257719fd02cde678a8693c54bf/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepManeuver.java#L211]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC

@LukasPaczos LukasPaczos merged commit 1a932c1 into master Jan 13, 2020
@LukasPaczos LukasPaczos deleted the feature/ak-#1103_module_models branch January 13, 2020 18:23
@@ -152,9 +152,9 @@ public static Builder builder() {
public abstract List<VoiceInstructions> voiceInstructions();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AutoValueImmutableFields: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC

@sonatype-lift
Copy link

sonatype-lift bot commented Jan 13, 2020

Muse analysis has completed. New issues were detected with line numbers outside of the pull request change set:

  • (NULL_DEREFERENCE)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsWaypoint.java#L47]: object returned by rawLocation() could be null and is dereferenced at line 47.
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/BannerComponents.java#L203]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/BannerText.java#L52]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/BannerView.java#L51]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsResponse.java#L87]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsResponse.java#L75]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsRoute.java#L98]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/DirectionsWaypoint.java#L59]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/IntersectionLanes.java#L51]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L40]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L50]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L60]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L72]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegAnnotation.java#L82]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegStep.java#L164]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/LegStep.java#L193]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/RouteLeg.java#L64]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/RouteOptions.java#L88]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L54]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L92]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L64]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L127]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java#L81]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC
  • (AutoValueImmutableFields)[https://github.com/mapbox/mapbox-java/blob/cc3371c8d3d0b0436c2cb402c3e907a5d75cd2c5/services-directions-models/src/main/java/com/mapbox/api/directions/v5/models/StepManeuver.java#L211]: AutoValue instances should be deeply immutable. Therefore, we recommend returning ImmutableList instead. Read more at http://goo.gl/qWo9sC

@Guardiola31337 Guardiola31337 mentioned this pull request Jan 24, 2020
17 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants