Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

config/core/Configuration: Convert not only BigDecimal but also Strings to Number objects if required #5262

Merged
merged 1 commit into from
Mar 20, 2018

Conversation

davidgraeff
Copy link
Contributor

Some time ago numbers in service configuration maps were dispatched as BigDecimal objects only.

Now they are Strings instead. Because config/core/Configuration is used for parsing service configuration key/values which naturally use number types as well, the conversion should work for Strings to Float,Integer,Double as well.

Signed-off-by: David Graeff david.graeff@web.de

…gs to Number objects if required

Signed-off-by: David Graeff <david.graeff@web.de>
Copy link
Contributor

@maggu2810 maggu2810 left a comment

Choose a reason for hiding this comment

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

LGTM.

@htreu Do you agree with that change? If it is okay for you too, feel free to merge.

Copy link
Contributor

@htreu htreu left a comment

Choose a reason for hiding this comment

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

Yes, I agree. LGTM.

Unfortunately I don't have merge power yet. Please merge @maggu2810, thanks.

@maggu2810 maggu2810 merged commit 4d060d0 into eclipse-archived:master Mar 20, 2018
@davidgraeff davidgraeff deleted the configwithstrings branch March 20, 2018 13:15
@htreu htreu added this to the 0.10.0 milestone Oct 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants