openhab-core/bundles/org.openhab.core.config.core
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
..
schema Refactor XML handling (#3385) 2023-02-23 20:06:29 +01:00
src Fix change detection for textual things (#4076) 2024-05-02 11:41:53 +02:00
.classpath Refactor XML handling (#3385) 2023-02-23 20:06:29 +01:00
.project mavenize openHAB and integrate mavenized ESH repository (#467) 2019-01-28 13:07:31 +01:00
jaxb.profile-marker Refactor XML handling (#3385) 2023-02-23 20:06:29 +01:00
NOTICE Updated NOTICE files to openHAB (#578) 2019-02-15 10:46:18 +01:00
pom.xml Apply spotless after release, resolve bundles (#3953) 2023-12-22 23:14:28 +01:00