Skip to content

Fix typos in comments and docs#22895

Open
mokagio wants to merge 10 commits into
trunkfrom
mokagio/typo-fixes
Open

Fix typos in comments and docs#22895
mokagio wants to merge 10 commits into
trunkfrom
mokagio/typo-fixes

Conversation

@mokagio
Copy link
Copy Markdown
Contributor

@mokagio mokagio commented May 26, 2026

Description

Mechanical typo fixes in code comments, JavaDoc, a README, and a few backticked test names.
No behavior changes.

Each commit fixes typos in a single file so the diff can be reviewed file-by-file.

Testing

  • Skim the diff; verify each replacement is the obvious correction.
  • CI should be green.

Posted by Claude (Opus 4.7) on behalf of @mokagio with approval.

mokagio and others added 10 commits May 26, 2026 15:04
---

Generated with the help of Claude Code, https://claude.com/claude-code

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---

Generated with the help of Claude Code, https://claude.com/claude-code

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---

Generated with the help of Claude Code, https://claude.com/claude-code

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---

Generated with the help of Claude Code, https://claude.com/claude-code

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---

Generated with the help of Claude Code, https://claude.com/claude-code

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---

Generated with the help of Claude Code, https://claude.com/claude-code

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---

Generated with the help of Claude Code, https://claude.com/claude-code

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---

Generated with the help of Claude Code, https://claude.com/claude-code

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---

Generated with the help of Claude Code, https://claude.com/claude-code

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---

Generated with the help of Claude Code, https://claude.com/claude-code

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 26, 2026 05:05
@mokagio mokagio self-assigned this May 26, 2026
@dangermattic
Copy link
Copy Markdown
Collaborator

dangermattic commented May 26, 2026

1 Warning
⚠️ This PR is assigned to the milestone 26.8. The due date for this milestone has already passed.
Please assign it to a milestone with a later deadline or check whether the release for this milestone has already been finished.

Generated by 🚫 Danger

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR performs mechanical typo fixes across unit/instrumentation test names, Java/Kotlin comments/JavaDoc, and a README, without altering runtime behavior.

Changes:

  • Corrected spelling/grammar in multiple Kotlin backticked test names (e.g., doesn't, successfully, return).
  • Fixed typos in user-facing developer text (JavaDoc/comments) and internal assertion message text.
  • Corrected a documentation typo in libs/mocks/README.md.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
WordPress/src/test/java/org/wordpress/android/util/SiteUtilsTest.kt Typo fix in a backticked test name (doesn't).
WordPress/src/test/java/org/wordpress/android/ui/deeplinks/DeepLinkUriUtilsTest.kt Typo fix in a backticked test name (doesn't).
WordPress/src/test/java/org/wordpress/android/resolver/ResolverUtilityTest.kt Typo fix in a backticked test name (successfully).
WordPress/src/main/java/org/wordpress/android/viewmodel/pages/PagesViewModel.kt Fixed typo in a checkNotNull message string (uninitialized).
WordPress/src/main/java/org/wordpress/android/ui/prefs/notifications/NotificationsSettingsFragment.java Fixed typo in an inline comment (overridden).
WordPress/src/main/java/org/wordpress/android/ui/JetpackConnectionResultActivity.java Fixed typo in JavaDoc (successful).
libs/mocks/README.md Fixed typo in README text (specific).
libs/fluxc/src/test/java/org/wordpress/android/fluxc/store/stats/time/ReferrersStoreTest.kt Typo fix in a backticked test name (doesn't).
libs/fluxc/src/test/java/org/wordpress/android/fluxc/network/rest/wpcom/site/SiteRestClientTest.kt Typo fix in a backticked test name (return).
libs/editor/src/main/java/org/wordpress/android/editor/gutenberg/GutenbergEditorFragment.java Fixed typo in a UI comment (the).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wpmobilebot
Copy link
Copy Markdown
Contributor

App Icon📲 You can test the changes from this Pull Request in Jetpack Android by scanning the QR code below to install the corresponding build.

App NameJetpack Android
Build TypeDebug
Versionpr22895-e3cb316
Build Number1488
Application IDcom.jetpack.android.prealpha
Commite3cb316
Installation URL5adv12ek3rls0
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot
Copy link
Copy Markdown
Contributor

App Icon📲 You can test the changes from this Pull Request in WordPress Android by scanning the QR code below to install the corresponding build.

App NameWordPress Android
Build TypeDebug
Versionpr22895-e3cb316
Build Number1488
Application IDorg.wordpress.android.prealpha
Commite3cb316
Installation URL0u6qnjma4r6eo
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@mokagio mokagio added this to the 26.8 milestone May 26, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 26, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 37.32%. Comparing base (82411a0) to head (e3cb316).

Files with missing lines Patch % Lines
...ordpress/android/viewmodel/pages/PagesViewModel.kt 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##            trunk   #22895   +/-   ##
=======================================
  Coverage   37.32%   37.32%           
=======================================
  Files        2320     2320           
  Lines      124578   124578           
  Branches    16926    16926           
=======================================
  Hits        46498    46498           
  Misses      74319    74319           
  Partials     3761     3761           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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