This is an automated email from the ASF dual-hosted git repository.

vorburger pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git

commit 4ede116861d811df700f3d5d6a7e17421bc65caf
Author: percyashu <[email protected]>
AuthorDate: Wed Jun 24 23:14:15 2020 +0100

    FINERACT-822 Enforce UnescapedEntity check
---
 fineract-provider/build.gradle                                        | 2 +-
 .../java/org/apache/fineract/integrationtests/common/BatchHelper.java | 4 ++--
 .../java/org/apache/fineract/batch/service/BatchApiServiceImpl.java   | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/fineract-provider/build.gradle b/fineract-provider/build.gradle
index 3162976..1ea6b72 100644
--- a/fineract-provider/build.gradle
+++ b/fineract-provider/build.gradle
@@ -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",
diff --git 
a/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/common/BatchHelper.java
 
b/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/common/BatchHelper.java
index bc70fba..bf00958 100644
--- 
a/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/common/BatchHelper.java
+++ 
b/fineract-provider/src/integrationTest/java/org/apache/fineract/integrationtests/common/BatchHelper.java
@@ -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) {
diff --git 
a/fineract-provider/src/main/java/org/apache/fineract/batch/service/BatchApiServiceImpl.java
 
b/fineract-provider/src/main/java/org/apache/fineract/batch/service/BatchApiServiceImpl.java
index b04d739..3bc605b 100644
--- 
a/fineract-provider/src/main/java/org/apache/fineract/batch/service/BatchApiServiceImpl.java
+++ 
b/fineract-provider/src/main/java/org/apache/fineract/batch/service/BatchApiServiceImpl.java
@@ -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) {
 

Reply via email to