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

Rename TripTimeShort to TripTimeOnDate in method and class names #6042

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

vpaturet
Copy link
Contributor

@vpaturet vpaturet commented Sep 4, 2024

Summary

The class initially named TripTimeShort was renamed to TripTimeOnDate, but the method names and class names that refer to it were not updated, which is confusing.
This PR replaces all references to TripTimeShort by TripTimeOnDate.

Note: there are 2 related classes APITripTimeShort and ApiPatternShort in the REST API that are left untouched.

Issue

No

Unit tests

No

Documentation

No

@vpaturet vpaturet marked this pull request as ready for review September 4, 2024 09:03
@vpaturet vpaturet requested a review from a team as a code owner September 4, 2024 09:03
Copy link

codecov bot commented Sep 4, 2024

Codecov Report

Attention: Patch coverage is 45.45455% with 6 lines in your changes missing coverage. Please review.

Project coverage is 69.74%. Comparing base (c2b3d2c) to head (c7c3fa0).
Report is 66 commits behind head on dev-2.x.

Files with missing lines Patch % Lines
.../opentripplanner/routing/TripTimeOnDateHelper.java 0.00% 2 Missing ⚠️
...apis/transmodel/model/plan/JourneyWhiteListed.java 0.00% 1 Missing ⚠️
...ripplanner/apis/transmodel/model/plan/LegType.java 75.00% 1 Missing ⚠️
...model/model/timetable/DatedServiceJourneyType.java 0.00% 1 Missing ⚠️
...transmodel/model/timetable/ServiceJourneyType.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             dev-2.x    #6042   +/-   ##
==========================================
  Coverage      69.74%   69.74%           
+ Complexity     17319    17318    -1     
==========================================
  Files           1960     1960           
  Lines          74268    74268           
  Branches        7603     7603           
==========================================
+ Hits           51795    51796    +1     
+ Misses         19831    19830    -1     
  Partials        2642     2642           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vpaturet vpaturet merged commit c00ea1e into opentripplanner:dev-2.x Sep 11, 2024
5 checks passed
@t2gran t2gran added this to the 2.6 milestone Sep 18, 2024
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.

4 participants