Skip to content

docs: fix duplicated word in Javadoc comments - #16596

Open
TINGyu123644 wants to merge 1 commit into
apache:3.3from
TINGyu123644:fix/comment-typos
Open

TINGyu123644 wants to merge 1 commit into
apache:3.3from
TINGyu123644:fix/comment-typos

Conversation

@TINGyu123644

Copy link
Copy Markdown

What

Fix a duplicated the in 6 Javadoc comment lines (comments only, no code changes):

  • AnnotationUtils.java (3 occurrences): of the the annotated element -> of the annotated element; from the the {@link ...} -> from the {@link ...}; and one the the the -> the.
  • MethodUtils.java (2 occurrences): by the the specified type -> by the specified type.

Why

These are objective duplicated-word typos in documentation comments. Correcting them improves Javadoc readability with zero behavioral impact. No production code, signatures, or tests are touched.

Diff

+5 / -5 across 2 files, comment text only.

Verification

  • Confirmed each line against the upstream 3.3 tip blob (d809bb12); the exact strings above are present.
  • Replacement applied at the byte level to the LF-normalized git blobs, so no line-ending churn.
  • git diff equivalent via the compare API: ahead 1 / behind 0, no other files changed.

This PR was prepared with AI assistance. All edits are trivial comment typo corrections that were independently verified against the source. Happy to adjust if anything is off.

Remove the duplicated "the" in six Javadoc comment lines across
AnnotationUtils.java and MethodUtils.java (e.g. "the the" -> "the",
and one "the the the" -> "the"). Comments only; no code changes.
@codecov-commenter

codecov-commenter commented Nov 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.17%. Comparing base (d809bb1) to head (fa3cfcc).

Additional details and impacted files
@@             Coverage Diff              @@
##                3.3   #16596      +/-   ##
============================================
  Coverage     61.17%   61.17%              
- Complexity       30    11768   +11738     
============================================
  Files          1953     1953              
  Lines         89359    89359              
  Branches      13488    13487       -1     
============================================
+ Hits          54665    54666       +1     
- Misses        29068    29072       +4     
+ Partials       5626     5621       -5     
Flag Coverage Δ
integration-tests-java21 32.10% <ø> (-0.02%) ⬇️
integration-tests-java8 32.22% <ø> (+0.01%) ⬆️
samples-tests-java21 32.08% <ø> (+0.01%) ⬆️
samples-tests-java8 29.71% <ø> (+0.03%) ⬆️
unit-tests-java11 59.43% <ø> (-0.05%) ⬇️
unit-tests-java17 58.89% <ø> (+0.01%) ⬆️
unit-tests-java21 58.89% <ø> (-0.02%) ⬇️
unit-tests-java25 58.84% <ø> (-0.04%) ⬇️
unit-tests-java8 59.46% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 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.

@LI123456mo LI123456mo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

This branch has not been deployed

No deployments
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