[build] Fix eclipse

Eclipse was blowing up because it couldn't find javax.annotations.Nonnull
so this turns off nullability annotation checking.
This commit is contained in:
Nik Everett 2015-09-21 12:50:39 -04:00
parent 859f63be6e
commit 226d47d430
1 changed files with 2 additions and 4 deletions

View File

@ -1050,10 +1050,8 @@ encoding/<project>=UTF-8
<name>.settings/org.eclipse.jdt.core.prefs</name>
<content>
<![CDATA[eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=enabled
org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
org.eclipse.jdt.core.compiler.annotation.nullable=org.elasticsearch.common.Nullable
org.eclipse.jdt.core.compiler.annotation.nullanalysis=enabled
# Shut down null analysis because we don't have all the required annotations (Nonnull and NonNullByDefault).
org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning