Regenerate MemberContext.toString
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/ed4970dc Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/ed4970dc Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/ed4970dc Branch: refs/heads/container-autoscaling Commit: ed4970dc1a5c361aceb49425fc686ad230e9c50d Parents: ac03322 Author: Nirmal Fernando <[email protected]> Authored: Wed Oct 8 18:55:37 2014 +0530 Committer: Nirmal Fernando <[email protected]> Committed: Wed Oct 8 22:21:30 2014 +0530 ---------------------------------------------------------------------- .../cloud/controller/pojo/MemberContext.java | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/ed4970dc/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/pojo/MemberContext.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/pojo/MemberContext.java b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/pojo/MemberContext.java index dd6013a..ec67b46 100644 --- a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/pojo/MemberContext.java +++ b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/pojo/MemberContext.java @@ -146,15 +146,6 @@ public class MemberContext implements Serializable { this.networkPartitionId = networkPartitionId; } - @Override - public String toString() { - return "MemberContext [memberId=" + memberId + ", nodeId=" + nodeId + ", clusterId=" + - clusterId + ", cartridgeType=" + cartridgeType + ", privateIpAddress=" + - privateIpAddress + ", publicIpAddress=" + publicIpAddress + ", allocatedIpAddress=" + - allocatedIpAddress + ", initTime=" + initTime + ", lbClusterId=" + lbClusterId + - ", networkPartitionId=" + networkPartitionId + "]"; - } - @Override public int hashCode() { final int prime = 31; @@ -209,5 +200,15 @@ public class MemberContext implements Serializable { public void setProperties(Properties properties) { this.properties = properties; } + + @Override + public String toString() { + return "MemberContext [memberId=" + memberId + ", nodeId=" + nodeId + ", instanceId=" + + instanceId + ", clusterId=" + clusterId + ", partition=" + partition + + ", cartridgeType=" + cartridgeType + ", privateIpAddress=" + privateIpAddress + + ", publicIpAddress=" + publicIpAddress + ", allocatedIpAddress=" + + allocatedIpAddress + ", initTime=" + initTime + ", lbClusterId=" + lbClusterId + + ", networkPartitionId=" + networkPartitionId + ", properties=" + properties + "]"; + } }
