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

Refactor and enhance the 'Upper' class for better functionality and robustness #6118

Merged
merged 3 commits into from
Jan 12, 2025

Conversation

paren-thesis
Copy link
Contributor

  • Added proper error handling to throw for null inputs.

  • Added additional string utility methods.

  • I have read CONTRIBUTING.md.

  • This pull request is all my own work -- I have not plagiarized it.

  • All filenames are in PascalCase.

  • All functions and variable names follow Java naming conventions.

  • All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.

  • All new code is formatted with clang-format -i --style=file path/to/your/file.java

…obustness

- Added proper error handling to throw  for null inputs.
- Added additional string utility methods.
@codecov-commenter
Copy link

codecov-commenter commented Jan 7, 2025

Codecov Report

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

Project coverage is 73.76%. Comparing base (08c0f4a) to head (7b12e46).

Files with missing lines Patch % Lines
src/main/java/com/thealgorithms/strings/Upper.java 66.66% 1 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6118      +/-   ##
============================================
- Coverage     73.77%   73.76%   -0.02%     
- Complexity     5120     5121       +1     
============================================
  Files           658      658              
  Lines         17616    17619       +3     
  Branches       3390     3391       +1     
============================================
  Hits          12997    12997              
- Misses         4116     4118       +2     
- Partials        503      504       +1     

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

Copy link
Member

@siriak siriak left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@siriak siriak enabled auto-merge (squash) January 12, 2025 11:14
@siriak siriak merged commit bd785de into TheAlgorithms:master Jan 12, 2025
6 checks passed
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