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: delete unnecessary inheritance of FlowableBufferTimedFlushable #794

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

OrezzerO
Copy link

@OrezzerO OrezzerO commented Dec 25, 2024

Closes #

Proposed Changes

FlowableBufferTimedFlushable doesn't need to inherit from FlowableTransformer. Therefore, delete this inheritance relationship to reduce the complexity of the code. The original implementation was quite confusing.

Checklist

  • CHANGELOG.md updated
  • Rebased/mergeable
  • A test has been added if appropriate
  • mvn test completes successfully
  • Commit messages are conventional
  • Sign CLA (if not already signed)

@codecov-commenter
Copy link

codecov-commenter commented Dec 25, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.51%. Comparing base (f9283d6) to head (50589b1).
Report is 9 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #794      +/-   ##
============================================
+ Coverage     88.50%   88.51%   +0.01%     
+ Complexity      787      785       -2     
============================================
  Files           174      174              
  Lines          7203     7202       -1     
  Branches        405      405              
============================================
  Hits           6375     6375              
+ Misses          697      696       -1     
  Partials        131      131              

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

…rTimedFlushable

The class no longer requires inheritance from FlowableBufferTimedFlushable as its functionality is redundant. Simplified the class hierarchy for better maintainability.
@OrezzerO OrezzerO force-pushed the feat/delete_unused_cdoe branch from 289aee3 to 4b88de8 Compare December 25, 2024 13:11
@OrezzerO
Copy link
Author

Which part of CHANGELOG.md should I record this PR ?

@bednar
Copy link
Contributor

bednar commented Jan 6, 2025

@OrezzerO, please add a new section titled “Features” to the 7.3.0 release notes. Thank you! 😊

…rTimedFlushable

Add CHANGELOG.md for the refactoring.
@OrezzerO
Copy link
Author

OrezzerO commented Jan 9, 2025

@bednar CHANGELOG.md updated.

@bednar bednar changed the title Delete unnecessary inheritance of FlowableBufferTimedFlushable chore: delete unnecessary inheritance of FlowableBufferTimedFlushable Jan 9, 2025
Copy link
Contributor

@bednar bednar left a comment

Choose a reason for hiding this comment

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

@OrezzerO thanks for your PR 👍

LGTM 🚀

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