Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Problem 1:
// JobServerRestApi.java // Unchecked call to 'result(T)' as a member of raw type 'org.apache.submarine.server.response.JsonResponse.Builder' new JsonResponse.Builder<JobSpec>(Response.Status.OK) .success(true).result(id).build()
Problem 2:
// JsonResponse.java // Raw use of parameterized class 'Builder' public Builder code(int code) { this.code = code; return this; } // Raw use of parameterized class 'JsonResponse' public javax.ws.rs.core.Response build() { JsonResponse jsonResponse = new JsonResponse(this); return jsonResponse.build(); }
Attachments
Issue Links
- links to