Repository: airavata Updated Branches: refs/heads/develop 26fd7c328 -> d721666ed
fixing notification message bug Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/916a825c Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/916a825c Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/916a825c Branch: refs/heads/develop Commit: 916a825c31b1dda73fe577ab4d5ef4051b5f9aa7 Parents: 22ae026 Author: scnakandala <[email protected]> Authored: Tue Apr 26 15:17:14 2016 -0400 Committer: scnakandala <[email protected]> Committed: Tue Apr 26 15:17:14 2016 -0400 ---------------------------------------------------------------------- .../registry/core/experiment/catalog/model/Notification.java | 2 +- .../airavata/registry/core/experiment/catalog/resources/Utils.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata/blob/916a825c/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Notification.java ---------------------------------------------------------------------- diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Notification.java b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Notification.java index 14d43f9..078194a 100644 --- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Notification.java +++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/model/Notification.java @@ -69,7 +69,7 @@ public class Notification { } @Column(name = "NOTIFICATION_MESSAGE") - public String setNotificationMessage() { + public String getNotificationMessage() { return notificationMessage; } http://git-wip-us.apache.org/repos/asf/airavata/blob/916a825c/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/Utils.java ---------------------------------------------------------------------- diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/Utils.java b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/Utils.java index 0f5e2e5..bff9aeb 100644 --- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/Utils.java +++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/Utils.java @@ -374,7 +374,7 @@ public class Utils { notificationResource.setNotificationId(o.getNotificationId()); notificationResource.setGatewayId(o.getGatewayId()); notificationResource.setTitle(o.getTitle()); - notificationResource.setNotificationMessage(o.setNotificationMessage()); + notificationResource.setNotificationMessage(o.getNotificationMessage()); notificationResource.setPublishedTime(o.getPublishedDate()); notificationResource.setExpirationTime(o.getExpirationDate()); }
