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

Do not create new BigDecimals if a given object is already BigDecimal #4177

Merged
merged 1 commit into from
Apr 14, 2024

Conversation

magx2
Copy link
Contributor

@magx2 magx2 commented Apr 8, 2024

Hey, i just wanted to add small optimization to not create a new BigDecimal if given object is already this class

@magx2 magx2 requested a review from a team as a code owner April 8, 2024 18:23
…mal`

Signed-off-by: Martin Grześlowski <martin.grzeslowski@gmail.com>
Copy link
Member

@wborn wborn left a comment

Choose a reason for hiding this comment

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

Thanks!

@wborn wborn merged commit 846877e into openhab:main Apr 14, 2024
3 checks passed
@wborn wborn added this to the 4.2 milestone Apr 14, 2024
@wborn wborn added the enhancement An enhancement or new feature of the Core label Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature of the Core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants