Skip to content

Commit 1c8ce7c

Browse files
authored
Add SAT warning when jSerialComm, PureJavaComm imports are used (openhab#15952)
Add-ons should use the OH serial transport and not their own serial communication libraries. Related to openhab#7573 Signed-off-by: Wouter Born <[email protected]>
1 parent dc6c088 commit 1c8ce7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/static-code-analysis/checkstyle/ruleset.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
checkstyle.headerCheck.content=^/\\*\\*$\\n^ \\* Copyright \\(c\\) {0}-{1} Contributors to the openHAB project$\\n^ \\*$\\n^ \\* See the NOTICE file\\(s\\) distributed with this work for additional$\\n^ \\* information.$\\n^ \\*$\\n^ \\* This program and the accompanying materials are made available under the$\\n^ \\* terms of the Eclipse Public License 2\\.0 which is available at$\\n^ \\* http://www.eclipse.org/legal/epl\\-2\\.0$\\n^ \\*$\\n^ \\* SPDX-License-Identifier: EPL-2.0$
22
checkstyle.headerCheck.values=2010,2023
3-
checkstyle.forbiddenPackageUsageCheck.forbiddenPackages=com.google.common,gnu.io,javax.comm,org.apache.commons,org.joda.time,org.junit.Assert,org.junit.Test,si.uom,tech.units
3+
checkstyle.forbiddenPackageUsageCheck.forbiddenPackages=com.fazecast.jSerialComm,com.google.common,gnu.io,javax.comm,org.apache.commons,org.joda.time,org.junit.Assert,org.junit.Test,purejavacomm,si.uom,tech.units
44
checkstyle.forbiddenPackageUsageCheck.exceptions=
55
checkstyle.requiredFilesCheck.files=pom.xml
66
checkstyle.karafAddonFeatureCheck.featureNameMappings=-transform-:-transformation-,-io-:-misc-

0 commit comments

Comments
 (0)