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

Commit

Permalink
Fix typo in coding guidelines (#5363)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Triller <stefan.triller@telekom.de>
  • Loading branch information
triller-telekom authored and sjsf committed Apr 5, 2018
1 parent b952ace commit 3f27a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/documentation/development/guidelines.md
Expand Up @@ -32,7 +32,7 @@ We are aware that these annotations can be used for **static** checks, but **not
Thus for publicly exposed methods that belong to our API and are (potentially) called by external callers, we cannot omit a `null` check although a method parameter is marked to be not `null` via an annotation.
We will get a warning in the IDE for this check, but we decided to live with that.
For private methods or methods in an internal package we agreed to respect the annotations and omit an additional `null` check.
To use the annotaions, every bundle should have an **optional** `Import-Package` dependency to `org.eclipse.jdt.annotation`.
To use the annotations, every bundle should have an **optional** `Import-Package` dependency to `org.eclipse.jdt.annotation`.
Classes should be annotated by `@NonNullByDefault` and return types, parameter types, generic types etc. are annotated with `@Nullable` only.
Fields that get a static and mandatory reference injected through OSGi Declarative Services can be annotated with

Expand Down

0 comments on commit 3f27a90

Please sign in to comment.