You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by re...@apache.org on 2014/01/09 09:32:59 UTC
git commit: making memberId only as mandatory
Updated Branches:
refs/heads/master b3420b368 -> 4d31754a2
making memberId only as mandatory
Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/4d31754a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/4d31754a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/4d31754a
Branch: refs/heads/master
Commit: 4d31754a2b55daefdd4bf978d91fc0e74fb4b142
Parents: b3420b3
Author: rekathiru <rt...@gmail.com>
Authored: Thu Jan 9 14:03:14 2014 +0530
Committer: rekathiru <rt...@gmail.com>
Committed: Thu Jan 9 14:03:14 2014 +0530
----------------------------------------------------------------------
.../event/instance/notifier/InstanceCleanupEvent.java | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/4d31754a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/instance/notifier/InstanceCleanupEvent.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/instance/notifier/InstanceCleanupEvent.java b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/instance/notifier/InstanceCleanupEvent.java
index 8412de3..3a95724 100644
--- a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/instance/notifier/InstanceCleanupEvent.java
+++ b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/instance/notifier/InstanceCleanupEvent.java
@@ -29,8 +29,7 @@ public class InstanceCleanupEvent extends InstanceNotifierEvent implements Seria
private String clusterId;
private String memberId;
- public InstanceCleanupEvent(String clusterId, String memberId) {
- this.clusterId = clusterId;
+ public InstanceCleanupEvent(String memberId) {
this.memberId = memberId;
}
@@ -41,4 +40,8 @@ public class InstanceCleanupEvent extends InstanceNotifierEvent implements Seria
public String getMemberId() {
return memberId;
}
+
+ public void setClusterId(String clusterId) {
+ this.clusterId = clusterId;
+ }
}