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

Issue654 sys prop and env var loaders should trim String values #688

Merged
merged 29 commits into from
Nov 16, 2021

Conversation

eeverman
Copy link
Owner

@eeverman eeverman commented Nov 11, 2021

All Submissions:

Thank you! Please check that...

  • You branched from the main branch and the pull request is to the main branch
  • Your code is up to date with the latest code from main
  • You followed the guidelines in the Contributing Guide?
  • Your code does not decrease test coverage of existing code, and is near 100% for new code
  • If this is related to an issue, please include a link to the issue with the 'Fixes #XXX' syntax.

Fixes #654

… of github.com:eeverman/andhow into Issue676-loader-property-testing
* Some name refactoring (very internal classes - no impact)
* Add tests for some untested methods
* rm an unused Problem type
* Nice reduction in code and increase in testing
…github.com:eeverman/andhow into Issue676-loader-property-testing
@eeverman
Copy link
Owner Author

This PR has pulled in the changes in the other PR (add testing) so its hard to see the changes in this one. When the other MR merges, this will be easier to see.

@codecov
Copy link

codecov bot commented Nov 11, 2021

Codecov Report

Merging #688 (db42ec3) into main (87b4bb2) will increase coverage by 0.08%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #688      +/-   ##
============================================
+ Coverage     87.31%   87.39%   +0.08%     
- Complexity     1165     1166       +1     
============================================
  Files           132      132              
  Lines          3730     3730              
  Branches        463      463              
============================================
+ Hits           3257     3260       +3     
+ Misses          344      340       -4     
- Partials        129      130       +1     
Impacted Files Coverage Δ
...g/yarnandtail/andhow/load/std/StdEnvVarLoader.java 100.00% <100.00%> (ø)
.../yarnandtail/andhow/load/std/StdSysPropLoader.java 100.00% <100.00%> (ø)
...org/yarnandtail/andhow/load/std/StdJndiLoader.java 85.52% <0.00%> (+3.94%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 87b4bb2...db42ec3. Read the comment docs.

…op-and-EnvVar-loaders-should-trime

# Conflicts:
#	andhow-testing/andhow-core-integration-test/src/test/java/org/yarnandtail/andhow/StdEnvVarLoaderIT.java
#	andhow-testing/andhow-core-integration-test/src/test/java/org/yarnandtail/andhow/StdSysPropLoaderIT.java
#	andhow-testing/andhow-core-integration-test/src/test/java/org/yarnandtail/andhow/test/bulktest/MapValueLoader.java
@eeverman eeverman changed the title Issue654 sys prop and env var loaders should trime Issue654 sys prop and env var loaders should trim String values Nov 11, 2021
Comment on lines -86 to +91
return false;
return true;
Copy link
Owner Author

Choose a reason for hiding this comment

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

This is one of two functional changes. Everything else is javadoc updates and changes to tests.

Comment on lines -90 to +95
return false;
return true;
Copy link
Owner Author

Choose a reason for hiding this comment

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

...and the 2nd change.

@eeverman eeverman requested a review from alex-kar November 11, 2021 19:08
@eeverman eeverman merged commit a1acf43 into main Nov 16, 2021
@eeverman eeverman deleted the Issue654-SysProp-and-EnvVar-loaders-should-trime branch November 16, 2021 23:10
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