in client/src/main/java/org/apache/qpid/client/AMQConnectionURL.java [228:303]
public boolean equals(final Object o)
{
if (this == o)
{
return true;
}
if (o == null || getClass() != o.getClass())
{
return false;
}
final AMQConnectionURL that = (AMQConnectionURL) o;
if (_brokers != null ? !_brokers.equals(that._brokers) : that._brokers != null)
{
return false;
}
if (_clientName != null ? !_clientName.equals(that._clientName) : that._clientName != null)
{
return false;
}
if (_defaultQueueExchangeName != null
? !_defaultQueueExchangeName.equals(that._defaultQueueExchangeName)
: that._defaultQueueExchangeName != null)
{
return false;
}
if (_defaultTopicExchangeName != null
? !_defaultTopicExchangeName.equals(that._defaultTopicExchangeName)
: that._defaultTopicExchangeName != null)
{
return false;
}
if (_failoverMethod != null ? !_failoverMethod.equals(that._failoverMethod) : that._failoverMethod != null)
{
return false;
}
if (_failoverOptions != null ? !_failoverOptions.equals(that._failoverOptions) : that._failoverOptions != null)
{
return false;
}
if (_options != null ? !_options.equals(that._options) : that._options != null)
{
return false;
}
if (_password != null ? !_password.equals(that._password) : that._password != null)
{
return false;
}
if (_temporaryQueueExchangeName != null
? !_temporaryQueueExchangeName.equals(that._temporaryQueueExchangeName)
: that._temporaryQueueExchangeName != null)
{
return false;
}
if (_temporaryTopicExchangeName != null
? !_temporaryTopicExchangeName.equals(that._temporaryTopicExchangeName)
: that._temporaryTopicExchangeName != null)
{
return false;
}
if (_url != null ? !_url.equals(that._url) : that._url != null)
{
return false;
}
if (_username != null ? !_username.equals(that._username) : that._username != null)
{
return false;
}
if (_virtualHost != null ? !_virtualHost.equals(that._virtualHost) : that._virtualHost != null)
{
return false;
}
return true;
}