Clean up warnings

This commit is contained in:
Sam Brannen
2019-05-10 18:00:29 +02:00
parent 0cff7eb32c
commit 64819bbc1d
13 changed files with 19 additions and 13 deletions

View File

@@ -258,7 +258,7 @@ final class DefaultEntityResponseBuilder<T> implements EntityResponse.Builder<T>
return null;
}
@SuppressWarnings("unchecked")
@SuppressWarnings({ "unchecked", "resource" })
protected void writeEntityWithMessageConverters(Object entity, HttpServletRequest request,
HttpServletResponse response, ServerResponse.Context context)
throws ServletException, IOException {