Skip to content

fix: use lngCorrection naming consistently#1731

Open
arpitagarwal1301 wants to merge 1 commit into
googlemaps:mainfrom
arpitagarwal1301:fix/1382-lng-correction
Open

fix: use lngCorrection naming consistently#1731
arpitagarwal1301 wants to merge 1 commit into
googlemaps:mainfrom
arpitagarwal1301:fix/1382-lng-correction

Conversation

@arpitagarwal1301

Copy link
Copy Markdown

Thank you for opening a Pull Request!


  • An issue was opened before the change
  • The title uses a semantic commit prefix
  • This does not cause breaking changes to Java or Kotlin integrations
  • Tests and linter pass
  • Code coverage does not decrease
  • No documentation update is necessary for this internal rename

Fixes #1382 🦕

Summary

  • rename the local lonCorrection identifier to lngCorrection
  • use the longitude abbreviation consistently in PolyUtil.distanceToLine
  • leave all calculations and runtime behavior unchanged

Testing

  • ./gradlew :library:testDebugUnitTest --tests com.google.maps.android.PolyUtilTest
  • ./gradlew :library:build :library:lintDebug --stacktrace

AI disclosure

This behavior-neutral naming correction was prepared and independently reviewed with AI assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants