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

added traffic tendecy #1479

Merged
merged 4 commits into from
Aug 17, 2022
Merged

added traffic tendecy #1479

merged 4 commits into from
Aug 17, 2022

Conversation

VysotskiVadim
Copy link
Contributor

@VysotskiVadim VysotskiVadim commented Aug 16, 2022

This is a private API, so absence of documentation is expected.
This feature was already introduced in the past but then reverted: #1451

@VysotskiVadim VysotskiVadim requested a review from a team as a code owner August 16, 2022 14:40
@codecov
Copy link

codecov bot commented Aug 16, 2022

Codecov Report

Merging #1479 (a35f833) into main (8707944) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##               main    #1479   +/-   ##
=========================================
  Coverage     76.53%   76.53%           
  Complexity      908      908           
=========================================
  Files           128      128           
  Lines          3929     3929           
  Branches        568      568           
=========================================
  Hits           3007     3007           
  Misses          675      675           
  Partials        247      247           
Impacted Files Coverage Δ
...mapbox/api/directions/v5/models/LegAnnotation.java 100.00% <ø> (ø)

Copy link
Member

@LukasPaczos LukasPaczos left a comment

Choose a reason for hiding this comment

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

@VysotskiVadim could you add source code documentation as well (not javadoc)?

@@ -30,6 +30,6 @@ dependencies {

buildConfig {
packageName = 'com.mapbox.sample'
buildConfigField 'String', 'MAPBOX_ACCESS_TOKEN', System.getenv("MAPBOX_ACCESS_TOKEN")
buildConfigField 'String', 'MAPBOX_ACCESS_TOKEN', project.hasProperty('MAPBOX_ACCESS_TOKEN') ? project.property('MAPBOX_ACCESS_TOKEN') : System.getenv('MAPBOX_ACCESS_TOKEN')
Copy link
Contributor

Choose a reason for hiding this comment

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

Should it be here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes

TRAFFIC_TENDENCY_RAPIDLY_INCREASING_CONGESTION,
TRAFFIC_TENDENCY_RAPIDLY_DECREASING_CONGESTION
})
public @interface TrafficTendencyCriteria {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the annotation used anywhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

only in comments

This reverts commit 43bae13.
@VysotskiVadim
Copy link
Contributor Author

@VysotskiVadim could you add source code documentation as well (not javadoc)?

Added. I only had doubts if I should mention new annotation in route options docs. I decided not to mention and not to add comments there

@VysotskiVadim VysotskiVadim merged commit cff825e into main Aug 17, 2022
@VysotskiVadim VysotskiVadim deleted the vv-traffic-tendecy branch August 17, 2022 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants