Fix javadoc errors in tests/activemq5-unit-tests

This commit is contained in:
Howard Gao 2015-07-10 10:02:38 +08:00
parent 1d48a706ca
commit 19a49f5297
2 changed files with 0 additions and 25 deletions

View File

@ -208,9 +208,6 @@ public class BrokerService implements Service
// Properties // Properties
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
/**
* Returns the message broker
*/
public Broker getBroker() throws Exception public Broker getBroker() throws Exception
{ {
if (broker == null) if (broker == null)
@ -225,11 +222,6 @@ public class BrokerService implements Service
return brokerName; return brokerName;
} }
/**
* Sets the name of this broker; which must be unique in the network
*
* @param brokerName
*/
public void setBrokerName(String brokerName) public void setBrokerName(String brokerName)
{ {
if (brokerName == null) if (brokerName == null)
@ -244,11 +236,6 @@ public class BrokerService implements Service
this.brokerName = str.trim(); this.brokerName = str.trim();
} }
/**
* Factory method to create a new broker
*
* @throws Exception
*/
protected Broker createBroker() throws Exception protected Broker createBroker() throws Exception
{ {
broker = createBrokerWrapper(); broker = createBrokerWrapper();

View File

@ -23,13 +23,6 @@ import org.apache.activemq.command.ActiveMQDestination;
import org.apache.activemq.filter.DestinationMap; import org.apache.activemq.filter.DestinationMap;
import org.apache.activemq.filter.DestinationMapEntry; import org.apache.activemq.filter.DestinationMapEntry;
/**
* Represents a destination based configuration of policies so that individual
* destinations or wildcard hierarchies of destinations can be configured using
* different policies.
*
* @org.apache.xbean.XBean
*/
public class PolicyMap extends DestinationMap public class PolicyMap extends DestinationMap
{ {
@ -46,11 +39,6 @@ public class PolicyMap extends DestinationMap
return answer; return answer;
} }
/**
* Sets the individual entries on the policy map
*
* @org.apache.xbean.ElementType class="org.apache.activemq.broker.region.policy.PolicyEntry"
*/
public void setPolicyEntries(List entries) public void setPolicyEntries(List entries)
{ {
super.setEntries(entries); super.setEntries(entries);