openhab-core/bundles
kippAndMost 9e721dca36
[openhab.core] DecimalType-ctor with Number argument (#2596)
The expectation is, that when a `DecimalType` was constructed with a
`float` value, the precision of its `doubleValue()`, `floatValue()`,
`toBigDecimal()` and `toString()` is preserved. But there are `float`
values like `4.2f` or `37.1f` that cannot directly converted to `double`
without precision loss.

This commit replaces all the numerical constructors of `DecimalType`
with a single constructor with a `Number` argument, so that all `float`
values can be used without precision loss.

NOTE: There is some special handling needed for `QuantityType` and
`HSBType` because these types has a special none convential `toString`
implementation.

Signed-off-by: Ringo Frischmann <ringo.frischmann@kiwigrid.com>
2022-02-24 21:27:45 +01:00
..
org.openhab.core [openhab.core] DecimalType-ctor with Number argument (#2596) 2022-02-24 21:27:45 +01:00
org.openhab.core.addon.marketplace [addonservices] allow uninstalling of removed addons and fix other issues (#2607) 2022-02-06 09:48:55 +01:00
org.openhab.core.addon.marketplace.karaf Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.addon.sample Add more null annotations (#2742) 2022-02-14 11:33:50 +01:00
org.openhab.core.audio [audio] Add missing method getSource with sourceId as parameter (#2792) 2022-02-20 20:45:12 +01:00
org.openhab.core.auth.jaas Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.auth.oauth2client Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.automation Add even more null annotations (#2752) 2022-02-17 21:30:51 +01:00
org.openhab.core.automation.module.media Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.automation.module.script Fix rules stay uninitialized when using Java 17 (#2787) 2022-02-20 20:42:32 +01:00
org.openhab.core.automation.module.script.rulesupport Add more null annotations (#2742) 2022-02-14 11:33:50 +01:00
org.openhab.core.automation.rest Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.binding.xml Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.config.core New Crowdin updates (#2783) 2022-02-24 21:22:02 +01:00
org.openhab.core.config.discovery Avoid URISyntaxException in tests (#2770) 2022-02-15 17:33:59 +01:00
org.openhab.core.config.discovery.mdns Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.config.discovery.upnp Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.config.discovery.usbserial Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.config.discovery.usbserial.linuxsysfs Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.config.discovery.usbserial.ser2net Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.config.dispatch Add more null annotations (#2742) 2022-02-14 11:33:50 +01:00
org.openhab.core.config.serial Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.config.xml Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.ephemeris Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.id Add more null annotations (#2742) 2022-02-14 11:33:50 +01:00
org.openhab.core.io.bin2json Add more null annotations (#2742) 2022-02-14 11:33:50 +01:00
org.openhab.core.io.console Add more null annotations (#2742) 2022-02-14 11:33:50 +01:00
org.openhab.core.io.console.eclipse Add more null annotations (#2742) 2022-02-14 11:33:50 +01:00
org.openhab.core.io.console.karaf Add more null annotations (#2742) 2022-02-14 11:33:50 +01:00
org.openhab.core.io.console.rfc147 Add more null annotations (#2742) 2022-02-14 11:33:50 +01:00
org.openhab.core.io.http Add more null annotations (#2742) 2022-02-14 11:33:50 +01:00
org.openhab.core.io.http.auth Update org.openhab.core.io.http.auth .classpath (#2679) 2022-01-11 07:46:00 +01:00
org.openhab.core.io.jetty.certificate Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.io.monitor Add even more null annotations (#2752) 2022-02-17 21:30:51 +01:00
org.openhab.core.io.net Add more null annotations (#2742) 2022-02-14 11:33:50 +01:00
org.openhab.core.io.rest Add even more null annotations (#2752) 2022-02-17 21:30:51 +01:00
org.openhab.core.io.rest.audio Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.io.rest.auth Avoid throwing raw exception types (#2747) 2022-02-14 16:14:25 +01:00
org.openhab.core.io.rest.core [rest] Improve metadata query parameter description (#2790) 2022-02-20 17:48:01 +01:00
org.openhab.core.io.rest.log Add more null annotations (#2742) 2022-02-14 11:33:50 +01:00
org.openhab.core.io.rest.mdns Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.io.rest.sitemap Add more null annotations (#2742) 2022-02-14 11:33:50 +01:00
org.openhab.core.io.rest.sse Add more null annotations (#2742) 2022-02-14 11:33:50 +01:00
org.openhab.core.io.rest.swagger Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.io.rest.ui Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.io.rest.voice [audio] Add missing method getSource with sourceId as parameter (#2792) 2022-02-20 20:45:12 +01:00
org.openhab.core.io.transport.mdns Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.io.transport.modbus Avoid throwing raw exception types (#2747) 2022-02-14 16:14:25 +01:00
org.openhab.core.io.transport.mqtt Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.io.transport.serial Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.io.transport.serial.javacomm Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.io.transport.serial.rxtx Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.io.transport.serial.rxtx.rfc2217 Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.io.transport.upnp Add more null annotations (#2742) 2022-02-14 11:33:50 +01:00
org.openhab.core.karaf New Crowdin updates (#2667) 2022-01-08 10:18:15 +01:00
org.openhab.core.model.codegen Renamed packages 2019-12-28 12:18:16 +01:00
org.openhab.core.model.core Add even more null annotations (#2752) 2022-02-17 21:30:51 +01:00
org.openhab.core.model.item Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.model.item.ide Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.model.item.runtime Add even more null annotations (#2752) 2022-02-17 21:30:51 +01:00
org.openhab.core.model.lazygen Add even more null annotations (#2752) 2022-02-17 21:30:51 +01:00
org.openhab.core.model.lsp Add even more null annotations (#2752) 2022-02-17 21:30:51 +01:00
org.openhab.core.model.persistence Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.model.persistence.ide Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.model.persistence.runtime Add even more null annotations (#2752) 2022-02-17 21:30:51 +01:00
org.openhab.core.model.rule Add triggeringThing name to DSL rules (#2756) 2022-02-13 10:34:08 +01:00
org.openhab.core.model.rule.ide Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.model.rule.runtime Add even more null annotations (#2752) 2022-02-17 21:30:51 +01:00
org.openhab.core.model.script [rule] New actions to start/stop dialog processing (#2791) 2022-02-23 22:15:30 +01:00
org.openhab.core.model.script.ide Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.model.script.runtime Add even more null annotations (#2752) 2022-02-17 21:30:51 +01:00
org.openhab.core.model.sitemap Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.model.sitemap.ide Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.model.sitemap.runtime Add even more null annotations (#2752) 2022-02-17 21:30:51 +01:00
org.openhab.core.model.thing Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.model.thing.ide Update license headers to 2022 (#2671) 2022-01-07 13:16:42 +01:00
org.openhab.core.model.thing.runtime Add even more null annotations (#2752) 2022-02-17 21:30:51 +01:00
org.openhab.core.persistence Add more null annotations (#2742) 2022-02-14 11:33:50 +01:00
org.openhab.core.semantics Add more null annotations (#2742) 2022-02-14 11:33:50 +01:00
org.openhab.core.storage.json Flush old JsonStorage to file before recreating a new one (#2778) 2022-02-17 21:41:41 +01:00
org.openhab.core.test Add more null annotations (#2742) 2022-02-14 11:33:50 +01:00
org.openhab.core.test.magic Add more null annotations (#2742) 2022-02-14 11:33:50 +01:00
org.openhab.core.thing New Crowdin updates (#2783) 2022-02-24 21:22:02 +01:00
org.openhab.core.thing.xml Add more null annotations (#2742) 2022-02-14 11:33:50 +01:00
org.openhab.core.transform Add more null annotations (#2742) 2022-02-14 11:33:50 +01:00
org.openhab.core.ui Avoid URISyntaxException in tests (#2770) 2022-02-15 17:33:59 +01:00
org.openhab.core.ui.icon Add more null annotations (#2742) 2022-02-14 11:33:50 +01:00
org.openhab.core.voice New Crowdin updates (#2783) 2022-02-24 21:22:02 +01:00
antlr-generator-3.2.0-patch.jar [model] don't require to download antlr generator on build time (#810) 2019-05-14 09:04:35 +02:00
pom.xml pom reference update from http to https (#2644) 2021-12-23 22:55:20 +01:00