From 47549ae4384859bbc8589cae6d583b0aa23705ee Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Sat, 9 May 2020 19:15:37 +0200 Subject: [PATCH] add toString() to Notification (to help debug FINERACT-828 next time) --- .../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 3eae975fb..d5ec5800d 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