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

chore: various non-functional refactors #1066

Merged
merged 1 commit into from
Aug 26, 2024
Merged

Conversation

toddbaert
Copy link
Member

@toddbaert toddbaert commented Aug 23, 2024

Various small fixes to address warnings. None are functional.

@toddbaert toddbaert requested a review from a team as a code owner August 23, 2024 15:40
* An extension point which can run around flag resolution. They are intended to be used as a way to add custom logic
* to the lifecycle of flag evaluation.
*
* @see Hook
*/
public interface BooleanHook extends Hook<Boolean> {
Copy link
Member Author

Choose a reason for hiding this comment

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

inheritDoc isn't valid for classes.

@@ -16,8 +17,8 @@
@SuppressWarnings("PMD.BeanMembersShouldSerialize")
public final class ImmutableContext implements EvaluationContext {

@Delegate
private final Structure structure;
@Delegate(excludes = DelegateExclusions.class)
Copy link
Member Author

Choose a reason for hiding this comment

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

merge was coming both from this delegation and the superclass, which causes some odd compiler warnings. It's just coming via inheritance now.

Copy link

codecov bot commented Aug 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.25%. Comparing base (dd53021) to head (9e7574d).
Report is 3 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1066      +/-   ##
============================================
+ Coverage     95.03%   95.25%   +0.22%     
- Complexity      392      393       +1     
============================================
  Files            38       38              
  Lines           886      886              
  Branches         54       54              
============================================
+ Hits            842      844       +2     
+ Misses           24       23       -1     
+ Partials         20       19       -1     
Flag Coverage Δ
unittests 95.25% <ø> (+0.22%) ⬆️

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.

@toddbaert toddbaert force-pushed the chore/non-functional-fixes branch 5 times, most recently from e971afa to 63fda52 Compare August 23, 2024 16:44
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
Copy link

sonarcloud bot commented Aug 23, 2024

Comment on lines +8 to +10
/**
* JaCoCo ignores coverage of methods annotated with any annotation with "generated" in the name.
*/
Copy link
Member Author

Choose a reason for hiding this comment

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

😎

@toddbaert toddbaert merged commit 35d4cc2 into main Aug 26, 2024
11 checks passed
@toddbaert toddbaert deleted the chore/non-functional-fixes branch August 26, 2024 13:16
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