Skip to content

Commit

Permalink
Enable Null analysis with JSR305 annotations in IDE (#504)
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 kaikreuzer committed Jul 31, 2017
1 parent 040b5ba commit 92cb288
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions launch/openHAB2.setup
Expand Up @@ -56,6 +56,14 @@
xsi:type="setup:PreferenceTask"
key="/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations"
value="enabled"/>
<setupTask
xsi:type="setup:PreferenceTask"
key="/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.annotation.nonnull"
value="javax.annotation.Nonnull"/>
<setupTask
xsi:type="setup:PreferenceTask"
key="/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.annotation.nullable"
value="javax.annotation.Nullable"/>
<setupTask
xsi:type="setup:PreferenceTask"
key="/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.annotation.nullanalysis"
Expand Down

0 comments on commit 92cb288

Please sign in to comment.