Enable warnings for missing @Override annotations
Somehow between turning this on and submitting I743917787 I managed to turn this back off. Suppress this warning in an instance where a new interface method was added in Servlet API 3.0, as the code needs to continue to compile against earlier versions. Unfortunately Eclipse does not give us a more specific suppression token than "all", but in this case the method body is small enough we're probably not missing anything. Change-Id: I78ecf82f6cd4042417c9f3b1f6a4b473d29182d9
This commit is contained in:
@@ -33,7 +33,7 @@ org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
|
|||||||
org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
|
org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
|
||||||
org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
|
org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
|
||||||
org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
|
org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
|
||||||
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
|
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning
|
||||||
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
|
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
|
||||||
org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
|
org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
|
||||||
org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
|
org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ class AuditedHttpServletResponse
|
|||||||
super(response);
|
super(response);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@SuppressWarnings("all") // @Override for servlet API 3.0+ only.
|
||||||
public int getStatus() {
|
public int getStatus() {
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user