Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Added @NonNull to property labels and getThingTypeUID #4262

Closed
wants to merge 1 commit into from
Closed

Added @NonNull to property labels and getThingTypeUID #4262

wants to merge 1 commit into from

Conversation

martinvw
Copy link
Contributor

Added @nonnull to property labels and getThingTypeUID

Minor changes:

  • Interface fields are always public static final, leave out the modifiers
  • Corrected @return to @param in setLabel docblock
  • Corrected field name in setBridgeUID docblock

Closes #4099

Added @nonnull to property labels and getThingTypeUID

Minor changes:

* Interface fields are always public static final, leave out the modifiers
* Corrected @return to @param in setLabel docblock
* Corrected fieldname in setBridgeUID docblock

Closes #4099

Signed-off-by: Martin van Wingerden <martinvw@mtin.nl>
@maggu2810
Copy link
Contributor

Shouldn't we wait with nullable annotations until we finalize the coding guidelines?

@martinvw
Copy link
Contributor Author

Yes maybe we should, I did not follow the complete discussion my view was limited to linked issue, where a PR was 'requested' 🙂

@kaikreuzer
Copy link
Contributor

kaikreuzer commented Sep 13, 2017

@maggu2810 I guess I encouraged him at a time when we thought that the discussions were already through - but in the light of the recent discussions on #4080, I would agree that we might want to wait with that right now.

@kaikreuzer
Copy link
Contributor

With these new guidelines, I would claim that this PR is obsolete.

@kaikreuzer kaikreuzer closed this Sep 18, 2017
@kaikreuzer
Copy link
Contributor

You might want to create a new PR with your other "minor changes" though - as they do not fit to the title of this PR, I preferred to close it and ask you for a new one :-)

@martinvw
Copy link
Contributor Author

You might want to create a new PR with your other "minor changes" though - as they do not fit to the title of this PR, I preferred to close it and ask you for a new one :-)

Done, see #4293

@martinvw martinvw deleted the feature/non-null-for-getThingTypeUID branch September 22, 2018 14:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants