You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by vo...@apache.org on 2020/05/10 14:19:20 UTC
[fineract] 02/02: add toString() to Notification (to help debug
FINERACT-828 next time)
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 47549ae4384859bbc8589cae6d583b0aa23705ee
Author: Michael Vorburger <mi...@vorburger.ch>
AuthorDate: Sat May 9 19:15:37 2020 +0200
add toString() to Notification (to help debug FINERACT-828 next time)
---
.../java/org/apache/fineract/notification/domain/Notification.java | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/fineract-provider/src/main/java/org/apache/fineract/notification/domain/Notification.java b/fineract-provider/src/main/java/org/apache/fineract/notification/domain/Notification.java
index 3eae975..d5ec580 100644
--- a/fineract-provider/src/main/java/org/apache/fineract/notification/domain/Notification.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/notification/domain/Notification.java
@@ -109,5 +109,10 @@ public class Notification extends AbstractPersistableCustom {
this.notificationContent = notificationContent;
}
-
+ @Override
+ public String toString() {
+ return "Notification [objectType=" + this.objectType + ", objectIdentifier=" + this.objectIdentifier + ", action=" + this.action
+ + ", actorId=" + this.actorId + ", isSystemGenerated=" + this.isSystemGenerated + ", notificationContent="
+ + this.notificationContent + ", createdAt=" + this.createdAt + ", getId()=" + this.getId() + "]";
+ }
}
\ No newline at end of file