FINERACT-822 Enforce UnescapedEntity check
This commit is contained in:
committed by
Michael Vorburger ⛑️
parent
66c3bfdd4f
commit
4ede116861
@@ -393,7 +393,6 @@ tasks.withType(JavaCompile) {
|
||||
"AlmostJavadoc",
|
||||
"ProtectedMembersInFinalClass",
|
||||
"StaticAssignmentInConstructor",
|
||||
"UnescapedEntity",
|
||||
"InvalidBlockTag",
|
||||
"ModifyCollectionInEnhancedForLoop",
|
||||
"NonCanonicalType",
|
||||
@@ -453,6 +452,7 @@ tasks.withType(JavaCompile) {
|
||||
"ReferenceEquality",
|
||||
"UndefinedEquals",
|
||||
"PublicConstructorForAbstractClass",
|
||||
"UnescapedEntity",
|
||||
"OperatorPrecedence",
|
||||
"EqualsGetClass",
|
||||
"EqualsUnsafeCast",
|
||||
|
||||
+2
-2
@@ -73,7 +73,7 @@ public final class BatchHelper {
|
||||
* Returns the converted string response into JSON.
|
||||
*
|
||||
* @param json
|
||||
* @return List<BatchResponse>
|
||||
* @return {@code List<BatchResponse>}
|
||||
*/
|
||||
private static List<BatchResponse> fromJsonString(final String json) {
|
||||
return new Gson().fromJson(json, new TypeToken<List<BatchResponse>>() {}.getType());
|
||||
@@ -113,7 +113,7 @@ public final class BatchHelper {
|
||||
* Returns a BatchResponse based on the given BatchRequest, by posting the request to the server.
|
||||
*
|
||||
* @param BatchRequest
|
||||
* @return List<BatchResponse>
|
||||
* @return {@code List<BatchResponse>}
|
||||
*/
|
||||
public static List<BatchResponse> postWithSingleRequest(final RequestSpecification requestSpec,
|
||||
final ResponseSpecification responseSpec, final BatchRequest br) {
|
||||
|
||||
+1
-1
@@ -82,7 +82,7 @@ public class BatchApiServiceImpl implements BatchApiService {
|
||||
*
|
||||
* @param requestList
|
||||
* @param uriInfo
|
||||
* @return List<BatchResponse>
|
||||
* @return {@code List<BatchResponse>}
|
||||
*/
|
||||
private List<BatchResponse> handleBatchRequests(final List<BatchRequest> requestList, final UriInfo uriInfo) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user