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

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

Conversation

paren-thesis
Copy link

  • 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 Report

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

Project coverage is 73.77%. Comparing base (d102fa7) to head (823fd2d).
Report is 6 commits behind head on master.

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.54%   73.77%   +0.23%     
- Complexity     5108     5119      +11     
============================================
  Files           658      658              
  Lines         17649    17635      -14     
  Branches       3396     3392       -4     
============================================
+ Hits          12980    13011      +31     
+ Misses         4166     4119      -47     
- Partials        503      505       +2     

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

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.

2 participants