Add nullable annotation to avoid error marker in Eclipse (#3376)

Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
Kai Kreuzer 2023-02-16 23:40:53 +01:00 committed by GitHub
parent d7fa5534bf
commit fafadd4b83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -293,6 +293,7 @@ public class ThingUpdateOSGiTest extends JavaOSGiTest {
assertThat(updatedThing.getStatus(), is(ThingStatus.ONLINE));
// check thing type version is upgraded
@Nullable
String thingTypeVersion = updatedThing.getProperties().get(PROPERTY_THING_TYPE_VERSION);
assertThat(thingTypeVersion, is(Integer.toString(expectedNewThingTypeVersion)));