activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Mazza <glen.ma...@verizon.net>
Subject Re: svn commit: r613230 - in /activemq/trunk/activemq-core/src/main/java/org/apache/activemq: advisory/ broker/region/ broker/region/policy/
Date Tue, 22 Jan 2008 02:22:24 GMT
Am Freitag, den 18.01.2008, 19:16 +0000 schrieb rajdavies@apache.org:
> Author: rajdavies
> Date: Fri Jan 18 11:16:15 2008
> New Revision: 613230
> 

> Modified:
> activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/BaseDestination.java
> URL:
> http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/BaseDestination.java?rev=613230&r1=613229&r2=613230&view=diff
> ==============================================================================
> +    public ActiveMQDestination getActiveMQDestination() {
> +        return destination;
> +    }
> +
> +    public final String getDestination() {
> +        return destination.getPhysicalName();
> +    }
> +    

The method above is the same as getName() below (and also somewhat
confusing, as it gives the impression it returns a Destination object).
It should probably be removed.


> +    public final String getName() {
> +        return getActiveMQDestination().getPhysicalName();
> +    }
> +    

Regards,
Glen



Mime
View raw message