mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
Add ColorUtil for better support of xyY conversion (#3434)
* Add ColorUtil for better support of xyY conversion This has been refactored to align with the usually used conversion by a lot of ZigBee products like Hue or Deconz. Signed-off-by: Jan N. Klug <github@klug.nrw>
This commit is contained in:
@@ -22,6 +22,9 @@
|
||||
<suppress files=".+org.openhab.core.config.core.ConfigurableService" checks="ConstantNameCheck"/>
|
||||
<suppress files=".+org.openhab.core.config.discovery.mdns.internal.MDNSDiscoveryService.java|.+org.openhab.core.config.discovery.upnp.internal.UpnpDiscoveryService.java|.+org.openhab.core.io.console.eclipse.internal.ConsoleSupportEclipse.java|.+org.openhab.core.io.console.rfc147.internal.CommandWrapper.java|.+org.openhab.core.library.unit.BinaryPrefix.java|.+org.openhab.core.library.unit.MetricPrefix.java" checks="MethodNameCheck"/>
|
||||
|
||||
<!--suppress local variable naming check to stay consistent with the usual convention when calculating xyY/RGB/HSB conversion -->
|
||||
<suppress files=".+org.openhab.core.util.ColorUtil.java" checks="LocalVariableNameCheck" />
|
||||
|
||||
<!-- Add suppression as discussed in https://github.com/openhab/static-code-analysis/issues/265 -->
|
||||
<suppress files=".+org.openhab.core.common.registry.AbstractRegistry.java" checks="DeclarativeServicesDependencyInjectionCheck"/>
|
||||
<suppress files=".+org.openhab.core.thing.binding.BaseThingHandler.java" checks="DeclarativeServicesDependencyInjectionCheck"/>
|
||||
|
||||
Reference in New Issue
Block a user