]> git.basschouten.com Git - openhab-addons.git/commit
[systeminfo] Reduce code complexity as well garbage collection (#16838)
authorAlexander Falkenstern <falkena@users.noreply.github.com>
Thu, 6 Jun 2024 18:57:41 +0000 (20:57 +0200)
committerGitHub <noreply@github.com>
Thu, 6 Jun 2024 18:57:41 +0000 (20:57 +0200)
commit6ebe335ee00eb3cddfbcacd6b00ab5454106913e
treeeceb1c55de7295d6f94ac0ef78b6b678a0e6e021
parentc2e051ec2df1d65654e87812f7a61d54963674c6
[systeminfo] Reduce code complexity as well garbage collection (#16838)

* [systeminfo] Avoid thing type change as well memory re-allocations

Signed-off-by: Alexander Falkenstern <alexander.falkenstern@gmail.com>
bundles/org.openhab.binding.systeminfo/src/main/java/org/openhab/binding/systeminfo/internal/SystemInfoBindingConstants.java
bundles/org.openhab.binding.systeminfo/src/main/java/org/openhab/binding/systeminfo/internal/SystemInfoHandlerFactory.java
bundles/org.openhab.binding.systeminfo/src/main/java/org/openhab/binding/systeminfo/internal/SystemInfoThingTypeProvider.java
bundles/org.openhab.binding.systeminfo/src/main/java/org/openhab/binding/systeminfo/internal/discovery/SystemInfoDiscoveryService.java
bundles/org.openhab.binding.systeminfo/src/main/java/org/openhab/binding/systeminfo/internal/handler/SystemInfoHandler.java
bundles/org.openhab.binding.systeminfo/src/main/resources/OH-INF/thing/computer.xml