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", "AlmostJavadoc",
"ProtectedMembersInFinalClass", "ProtectedMembersInFinalClass",
"StaticAssignmentInConstructor", "StaticAssignmentInConstructor",
"UnescapedEntity",
"InvalidBlockTag", "InvalidBlockTag",
"ModifyCollectionInEnhancedForLoop", "ModifyCollectionInEnhancedForLoop",
"NonCanonicalType", "NonCanonicalType",
@@ -453,6 +452,7 @@ tasks.withType(JavaCompile) {
"ReferenceEquality", "ReferenceEquality",
"UndefinedEquals", "UndefinedEquals",
"PublicConstructorForAbstractClass", "PublicConstructorForAbstractClass",
"UnescapedEntity",
"OperatorPrecedence", "OperatorPrecedence",
"EqualsGetClass", "EqualsGetClass",
"EqualsUnsafeCast", "EqualsUnsafeCast",
@@ -73,7 +73,7 @@ public final class BatchHelper {
* Returns the converted string response into JSON. * Returns the converted string response into JSON.
* *
* @param json * @param json
* @return List<BatchResponse> * @return {@code List<BatchResponse>}
*/ */
private static List<BatchResponse> fromJsonString(final String json) { private static List<BatchResponse> fromJsonString(final String json) {
return new Gson().fromJson(json, new TypeToken<List<BatchResponse>>() {}.getType()); 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. * Returns a BatchResponse based on the given BatchRequest, by posting the request to the server.
* *
* @param BatchRequest * @param BatchRequest
* @return List<BatchResponse> * @return {@code List<BatchResponse>}
*/ */
public static List<BatchResponse> postWithSingleRequest(final RequestSpecification requestSpec, public static List<BatchResponse> postWithSingleRequest(final RequestSpecification requestSpec,
final ResponseSpecification responseSpec, final BatchRequest br) { final ResponseSpecification responseSpec, final BatchRequest br) {
@@ -82,7 +82,7 @@ public class BatchApiServiceImpl implements BatchApiService {
* *
* @param requestList * @param requestList
* @param uriInfo * @param uriInfo
* @return List<BatchResponse> * @return {@code List<BatchResponse>}
*/ */
private List<BatchResponse> handleBatchRequests(final List<BatchRequest> requestList, final UriInfo uriInfo) { private List<BatchResponse> handleBatchRequests(final List<BatchRequest> requestList, final UriInfo uriInfo) {