Skip to content

Commit

Permalink
Add nullable annotation to avoid error marker in Eclipse (#3376)
Browse files Browse the repository at this point in the history
Signed-off-by: Kai Kreuzer <[email protected]>
  • Loading branch information
kaikreuzer authored Feb 16, 2023
1 parent d7fa553 commit fafadd4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ private Thing assertThing(Thing oldThing, int expectedNewThingTypeVersion) {
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)));

Expand Down

0 comments on commit fafadd4

Please sign in to comment.