mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-25 11:45:49 +01:00
Add nullable annotation to avoid error marker in Eclipse (#3376)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
parent
d7fa5534bf
commit
fafadd4b83
@ -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)));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user