You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by GitBox <gi...@apache.org> on 2020/08/04 18:02:25 UTC

[GitHub] [fineract] thesmallstar commented on a change in pull request #1207: FINERACT-1095 Added status parameter in Clients API

thesmallstar commented on a change in pull request #1207:
URL: https://github.com/apache/fineract/pull/1207#discussion_r465232239



##########
File path: fineract-provider/src/main/java/org/apache/fineract/portfolio/client/domain/ClientStatus.java
##########
@@ -18,17 +18,17 @@
  */
 package org.apache.fineract.portfolio.client.domain;
 
+import org.springframework.util.StringUtils;
+
 /**
  * Enum representation of client status states.
  */
 public enum ClientStatus {
 
-    INVALID(0, "clientStatusType.invalid"), //
-    PENDING(100, "clientStatusType.pending"), //
-    ACTIVE(300, "clientStatusType.active"), //
-    TRANSFER_IN_PROGRESS(303, "clientStatusType.transfer.in.progress"), //
-    TRANSFER_ON_HOLD(304, "clientStatusType.transfer.on.hold"), //
-    CLOSED(600, "clientStatusType.closed"), REJECTED(700, "clientStatusType.rejected"), WITHDRAWN(800, "clientStatusType.withdraw");
+    INVALID(0, "clientStatusType.invalid"), PENDING(100, "clientStatusType.pending"), ACTIVE(300,
+            "clientStatusType.active"), TRANSFER_IN_PROGRESS(303, "clientStatusType.transfer.in.progress"), TRANSFER_ON_HOLD(304,
+                    "clientStatusType.transfer.on.hold"), CLOSED(600, "clientStatusType.closed"), REJECTED(700,
+                            "clientStatusType.rejected"), WITHDRAWN(800, "clientStatusType.withdraw");
 

Review comment:
       I removed the useless comments, that made it happen. 
   Weird, we might need to change some spotless rules. 
   




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org