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

Fix several minor issues in RFS codebase #1161

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

Conversation

peternied
Copy link
Member

Description

Fix several minor issues in RFS codebase

  • Fix keyword ordering of DOC_CONFIG_PARAMETER_ARG_PREFIX
  • Created exception for Unexpected status code to remove duplicated error strings
  • Make check for hasCompatibilityModeEnabled null safe
  • Use isEmpty instead of size() == 0
  • Remove redundant static modifier on CreationFailureType

Check List

  • New functionality includes testing
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

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.

- Fix keyword ordering of DOC_CONFIG_PARAMETER_ARG_PREFIX
- Created exception for Unexpected status code to remove duplicated
  error strings
- Make check for hasCompatibilityModeEnabled null safe
- Use isEmpty instead of size() == 0
- Remove redundant static modifier on CreationFailureType
- Make AMAZON_SERVERLESS_VERSION final so it follows naming conventions
- Have OperationFailed extend RuntimeException so it can be inheirited
  from, otherwise it would trigger 'java:S110 This class has 6 parents which is
greater than 5 authorized.'

Signed-off-by: Peter Nied <peternied@hotmail.com>
Copy link

codecov bot commented Nov 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.76%. Comparing base (7da05b7) to head (eeffc58).
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1161      +/-   ##
============================================
- Coverage     80.76%   80.76%   -0.01%     
+ Complexity     2948     2947       -1     
============================================
  Files           400      400              
  Lines         15104    15106       +2     
  Branches       1021     1021              
============================================
+ Hits          12199    12200       +1     
- Misses         2288     2289       +1     
  Partials        617      617              
Flag Coverage Δ
unittests 80.76% <ø> (-0.01%) ⬇️

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

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


🚨 Try these New Features:

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