package com.ctrip.hermes.rest.status;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;

public class Tge {

	private String m_topic;

	private String m_group;

	private String m_endpoint;

	public Tge(String topic, String group, String endpoint) {
		this.m_topic = topic;
		this.m_group = group;
		this.m_endpoint = endpoint;
	}

	public String getEndpoint() {
		return m_endpoint;
	}

	public String getGroup() {
		return m_group;
	}

	public String getTopic() {
		return m_topic;
	}

	public void setEndpoint(String m_endpoint) {
		this.m_endpoint = m_endpoint;
	}

	public void setGroup(String m_group) {
		this.m_group = m_group;
	}

	public void setTopic(String m_topic) {
		this.m_topic = m_topic;
	}

	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	public boolean equals(Object rhs) {
		return EqualsBuilder.reflectionEquals(this, rhs);
	}

	public String toString() {
		return new StringBuilder().append(m_topic).append('-').append(m_group).append('-').append(m_endpoint).toString();
	}
}

@@ -36,118 +36,8 @@
 s;%0A%0A
-import org.apache.commons.lang.builder.EqualsBuilder;%0Aimport org.apache.commons.lang.builder.HashCodeBuilder;%0A
 %0Apub
@@ -691,140 +691,375 @@
 urn 
-HashCodeBuilder.reflectionHashCode(this);%0A%09%7D%0A%0A%09public boolean equals(Object rhs) %7B%0A%09%09return EqualsBuilder.reflectionEquals(this, rhs
+this.m_topic.hashCode() * 37 * this.m_group.hashCode() * this.m_endpoint.hashCode();%0A%09%7D%0A%0A%09public boolean equals(Object rhs) %7B%0A%09%09if (rhs == null)%0A%09%09%09return false;%0A%09%09if (!(rhs instanceof Tge)) %7B%0A%09%09%09return false;%0A%09%09%7D%0A%09%09Tge rObj = (Tge) rhs;%0A%09%09return this.m_topic.equals(rObj.m_topic) && this.m_group.equals(rObj.m_group)%0A%09%09      && this.m_endpoint.equals(rObj.m_endpoint
 );%0A%09

Remove Command Lang deps