mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-12 06:01:53 +01:00
33 lines
2.7 KiB
XML
33 lines
2.7 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE suppressions PUBLIC
|
||
|
"-//Puppy Crawl//DTD Suppressions 1.1//EN"
|
||
|
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
|
||
|
|
||
|
<suppressions>
|
||
|
<!-- These suppressions define which files to be suppressed for which checks. -->
|
||
|
<suppress files=".+[\\/]internal[\\/].+\.java" checks="JavadocType|JavadocVariable|JavadocMethod|JavadocFilterCheck"/>
|
||
|
<suppress files=".+DTO\.java" checks="JavadocType|JavadocVariable|JavadocMethod|JavadocFilterCheck" />
|
||
|
<suppress files=".+Impl\.java" checks="JavadocType|JavadocVariable|JavadocMethod|JavadocFilterCheck"/>
|
||
|
<suppress files=".+[\\/]pom\.xml" checks="OnlyTabIndentationCheck"/>
|
||
|
|
||
|
<!-- All generated files will skip the author tag check -->
|
||
|
<suppress files=".+[\\/]gen[\\/].+\.java" checks="AuthorTagCheck"/>
|
||
|
<!-- Some checks will be supressed for test bundles -->
|
||
|
<suppress files=".+.test[\\/].+" checks="RequireBundleCheck|OutsideOfLibExternalLibrariesCheck|ManifestExternalLibrariesCheck|BuildPropertiesExternalLibrariesCheck"/>
|
||
|
|
||
|
<!-- openHAB Core specific suppressions-->
|
||
|
|
||
|
<!-- These bundles are generated trough XText -->
|
||
|
<suppress files=".+org.openhab.core.model.+" checks="RequireBundleCheck|ExportInternalPackageCheck|ManifestPackageVersionCheck|ImportExportedPackagesCheck|PackageExportsNameCheck|PomXmlCheck"/>
|
||
|
|
||
|
<suppress files=".+org.eclipse.smarthome.config.discovery.mdns.internal.MDNSDiscoveryService.java|.+org.eclipse.smarthome.config.discovery.upnp.internal.UpnpDiscoveryService.java|.+org.eclipse.smarthome.io.console.eclipse.internal.ConsoleSupportEclipse.java|.+org.eclipse.smarthome.io.console.rfc147.internal.CommandWrapper.java|.+org.eclipse.smarthome.core.library.unit.MetricPrefix.java" checks="MethodNameCheck"/>
|
||
|
|
||
|
<!-- Add suppression as discussed in https://github.com/openhab/static-code-analysis/issues/265 -->
|
||
|
<suppress files=".+org.eclipse.smarthome.core.common.registry.AbstractRegistry.java" checks="DeclarativeServicesDependencyInjectionCheck"/>
|
||
|
<suppress files=".+org.eclipse.smarthome.core.thing.binding.BaseThingHandler.java" checks="DeclarativeServicesDependencyInjectionCheck"/>
|
||
|
<suppress files=".+org.eclipse.smarthome.core.thing.binding.BaseThingHandlerFactory.java" checks="DeclarativeServicesDependencyInjectionCheck"/>
|
||
|
<suppress files=".+org.eclipse.smarthome.core.transform.AbstractFileTransformationService.java" checks="DeclarativeServicesDependencyInjectionCheck"/>
|
||
|
<suppress files=".+org.openhab.core.automation.internal.commands.AbstractCommandProvider.java" checks="DeclarativeServicesDependencyInjectionCheck"/>
|
||
|
<suppress files=".+org.openhab.core.automation.sample.rest.api.internal.Activator.java" checks="DeclarativeServicesDependencyInjectionCheck"/>
|
||
|
</suppressions>
|