FINERACT-822 Enforce UnescapedEntity check

This commit is contained in:
percyashu
2020-06-26 12:43:45 +02:00
committed by Michael Vorburger ⛑️
parent 66c3bfdd4f
commit 4ede116861
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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",
@@ -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) {
@@ -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) {