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

1050: Reduce build warnings. #1051

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

vAdyar
Copy link

@vAdyar vAdyar commented Feb 5, 2025

Description

  • Changed the indentation from spaces to tab.
  • Included private no-args constructors.
  • refactoring.

Related Issues

Resolves #1050

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • [ ] API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • [ ] Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

* Included private no-args constructors.
* refactoring.
Copy link

codecov bot commented Feb 6, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.

Project coverage is 75.57%. Comparing base (9671912) to head (df24676).

Files with missing lines Patch % Lines
.../opensearch/flowframework/util/ApiSpecFetcher.java 66.66% 1 Missing and 1 partial ⚠️

❌ Your patch check has failed because the patch coverage (66.66%) is below the target coverage (70.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1051      +/-   ##
============================================
+ Coverage     75.53%   75.57%   +0.04%     
  Complexity     1050     1050              
============================================
  Files           101      101              
  Lines          5215     5208       -7     
  Branches        498      498              
============================================
- Hits           3939     3936       -3     
+ Misses         1038     1034       -4     
  Partials        238      238              

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

Copy link
Member

@dbwiddis dbwiddis left a comment

Choose a reason for hiding this comment

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

Hey @vAdyar thanks for contributing! The addition of the private constructors and change of private variable look great.

Changed the indentation from spaces to tab.

The intent is not to change the formatting, but just to change the name of the parameter used to control it, specifically this line:

indentWithSpaces()

We don't want tabs. That line converts all tabs to spaces (good) but the name of the parameter has changed.

Some hints:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport PRs to 2.x branch skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reduce build warnings
2 participants