]> git.basschouten.com Git - openhab-addons.git/commit
[knx] Remove obsolete public modifier in tests (#13776)
authorThomas Traude <t-riggs@gmx.net>
Sat, 26 Nov 2022 11:19:43 +0000 (12:19 +0100)
committerGitHub <noreply@github.com>
Sat, 26 Nov 2022 11:19:43 +0000 (12:19 +0100)
commit66d7496d7b92ebb221e592adc1cde11778378807
tree8d472200c0d21fe82cbd6db1853af9fcf95b22df
parent4739f126a2172d43034bbe57e450817d46f6667d
[knx] Remove obsolete public modifier in tests (#13776)

Since JUnit Jupiter test classes and methods do not need to be `public`.

It is recommended to omit the `public` modifier.
See https://junit.org/junit5/docs/current/user-guide/#writing-tests-classes-and-methods

"Class and method visibility
Test classes, test methods, and lifecycle methods are not required to be
`public`, but they must not be `private`.

It is generally recommended to omit the `public` modifier for test
classes, test methods, and lifecycle methods unless there is a technical
reason for doing so (...)"

Signed-off-by: Thomas Traude <t-riggs@gmx.net>
bundles/org.openhab.binding.knx/src/test/java/org/openhab/binding/knx/internal/channel/KNXChannelTypeTest.java
bundles/org.openhab.binding.knx/src/test/java/org/openhab/binding/knx/internal/dpt/KNXCoreTypeMapperTest.java
bundles/org.openhab.binding.knx/src/test/java/org/openhab/binding/knx/internal/handler/KNXBridgeBaseThingHandlerTest.java
bundles/org.openhab.binding.knx/src/test/java/org/openhab/binding/knx/internal/i18n/KNXTranslationProviderTest.java