openhab-core/bundles/org.openhab.core.model.thing
jimtng eb2339907f
Fix change detection for textual things (#4076)
* Don't update unchanged things in .things file

There were two problems:
- The old things weren't removed, resulting in accumulation of duplicate things and comparing the new one against the old one resulting in erroneous update
-  Numeric values (usually entered as integer) in a newly loaded Channel Configuration properties are stored as BigDecimal with Scale 0, but subsequent normalization changed it to scale 1. This made equals() return false when it shouldn't. This leads to calling notifyListenersAboutUpdatedElement unnecessarily.

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-05-02 11:41:53 +02:00
..
src/org/openhab/core/model/thing Fix change detection for textual things (#4076) 2024-05-02 11:41:53 +02:00
src.moved/test/java/org/openhab/core/model/thing/internal Update license headers to 2024 (#4011) 2024-01-03 21:20:34 +01:00
.classpath Update Eclipse .classpath files (#3250) 2022-12-22 14:14:35 +01:00
.gitignore mavenize openHAB and integrate mavenized ESH repository (#467) 2019-01-28 13:07:31 +01:00
.project mavenize openHAB and integrate mavenized ESH repository (#467) 2019-01-28 13:07:31 +01:00
bnd.bnd Upgrade to Karaf 4.4.5 and Xtext 2.34 (#4133) 2024-03-17 09:41:15 +01:00
model.profile-marker mavenize openHAB and integrate mavenized ESH repository (#467) 2019-01-28 13:07:31 +01:00
NOTICE Updated NOTICE files to openHAB (#578) 2019-02-15 10:46:18 +01:00
plugin.xml Renamed packages 2019-12-28 12:18:16 +01:00
plugin.xml_gen Upgrade Xtext/Xtend to 2.23.0 and LSP 0.9.0 (#1685) 2020-10-04 12:27:58 +02:00
pom.xml Apply spotless after release, resolve bundles (#3953) 2023-12-22 23:14:28 +01:00