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

Feature/eliminate abstract class hierarchy #77

Merged
merged 23 commits into from
Jul 12, 2024

Conversation

deinerj
Copy link
Contributor

@deinerj deinerj commented Jul 8, 2024

Eliminated the somewhat ugly inheritance hierarchy regarding the interface "MeasureMethod" and the abstract class "AbstractCommonReader" by smart refactoring.
Removed the common methods as well as the abstract class because those were only needed by the "JPowerMonitorExtension" anyways - call them directly in "JPowerMonitorConfig" instead going the extra mile through "MeasureMethod" therefore.

deinerj and others added 18 commits June 17, 2024 14:53
…psulate common functionality handled by copy-paste before
… available before Java 19 and therefore broke remote GitHub build
…of benchmark workload on different platforms, some refactoring benchmark
…2.0-SNAPSHOT since this is a relevant new feature
…ationReader and CommaSeparaedValues reader shared the same code; LibreHardwareMonitorReader still overrides that default impl.
@deinerj deinerj requested a review from keilhofh July 8, 2024 14:03
@deinerj deinerj merged commit cd60a39 into main Jul 12, 2024
1 check passed
@deinerj deinerj deleted the feature/eliminate-abstract-class-hierarchy branch July 12, 2024 13:00
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