Skip to content

fix: remove duplicated words and grammar issues in comments#22447

Open
magic-peach wants to merge 1 commit into
opensearch-project:mainfrom
magic-peach:pr-fix-2-duplicate-words
Open

fix: remove duplicated words and grammar issues in comments#22447
magic-peach wants to merge 1 commit into
opensearch-project:mainfrom
magic-peach:pr-fix-2-duplicate-words

Conversation

@magic-peach

Copy link
Copy Markdown

Description

This PR removes 20 duplicated words and fixes grammar issues in code comments across the codebase:

Duplicate words removed:

  • this thisthis in TermSuggestionBuilder.java, DirectCandidateGeneratorBuilder.java, BlobStoreIndexShardSnapshot.java, ShardSplittingQuery.java
  • that thatthat in GlobalOrdinalsStringTermsAggregator.java, SearchPlugin.java, IndexSettings.java, TransportShardBulkAction.java
  • for forfor in ClusterState.java, OpenIndexRequestBuilder.java
  • a aa in RestActions.java, IndexShard.java
  • is isis in BulkByScrollTask.java
  • in inin in InternalEngine.java
  • and andand in AzureStorageService.java
  • from fromfrom in LocalTimeOffset.java

Grammar fixes:

  • a erroran error in TransportBulkAction.java
  • a objectan object in FetchPhase.java, ShardGetService.java, package-info.java

All changes are in comments and documentation only - no code logic changes.

Signed-off-by: Akanksha Trehan akankshatrehun@gmail.com

Signed-off-by: Akanksha Trehun <akankshatrehun@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

🧪 No relevant tests
🔒 No security concerns identified
✅ No TODO sections
🔀 No multiple PR themes
⚡ No major issues detected

@github-actions

Copy link
Copy Markdown
Contributor

✅ Gradle check result for 684faa3: SUCCESS

@codecov

codecov Bot commented Jul 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.44%. Comparing base (d603ae1) to head (684faa3).

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #22447      +/-   ##
============================================
- Coverage     73.46%   73.44%   -0.03%     
+ Complexity    76477    76452      -25     
============================================
  Files          6104     6104              
  Lines        346568   346568              
  Branches      49883    49883              
============================================
- Hits         254598   254525      -73     
- Misses        71693    71798     +105     
+ Partials      20277    20245      -32     

☔ 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.

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.

1 participant