From 9f29f56457ae29eaf92014a3e0116b2bb6d92238 Mon Sep 17 00:00:00 2001 From: Stefan Triller Date: Tue, 8 Aug 2017 12:43:23 +0200 Subject: [PATCH] Use JDT annotations (#179) Signed-off-by: Stefan Triller --- poms/pom.xml | 1 + poms/tycho/pom.xml | 21 +++++++-------------- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/poms/pom.xml b/poms/pom.xml index 93364b8fb2..f9952aca44 100644 --- a/poms/pom.xml +++ b/poms/pom.xml @@ -68,6 +68,7 @@ 2.10 1.0.0 org.eclipse.tycho + 2.1.0 This is the open Home Automation Bus (openHAB) diff --git a/poms/tycho/pom.xml b/poms/tycho/pom.xml index 9051f67715..62c9261750 100644 --- a/poms/tycho/pom.xml +++ b/poms/tycho/pom.xml @@ -96,15 +96,15 @@ ${maven.compiler.target} jdt - - com.google.code.findbugs - jsr305 - 3.0.2 - + + org.eclipse.jdt + org.eclipse.jdt.annotation + ${jdt-annotations.version} + - -err:+nullAnnot(javax.annotation.Nullable|javax.annotation.Nonnull|org.eclipse.jdt.annotation.NonNullByDefault),+inheritNullAnnot,-nullUncheckedConversion,-nullAnnotRedundant - -warn:+null,+nullUncheckedConversion,+nullAnnotRedundant + -err:+nullAnnot(org.eclipse.jdt.annotation.Nullable|org.eclipse.jdt.annotation.NonNull|org.eclipse.jdt.annotation.NonNullByDefault),+inheritNullAnnot + -warn:+null,+inheritNullAnnot,+nullAnnotConflict,+nullUncheckedConversion,+nullAnnotRedundant,+nullDereference @@ -113,13 +113,6 @@ 3.6.1 groovy-eclipse-compiler - - - com.google.code.findbugs - jsr305 - 3.0.2 - -