You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2010/12/02 19:40:29 UTC
svn commit: r1041516 -
/activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Destinations.scala
Author: chirino
Date: Thu Dec 2 18:40:29 2010
New Revision: 1041516
URL: http://svn.apache.org/viewvc?rev=1041516&view=rev
Log:
Add a helper constructor.
Modified:
activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Destinations.scala
Modified: activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Destinations.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Destinations.scala?rev=1041516&r1=1041515&r2=1041516&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Destinations.scala (original)
+++ activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Destinations.scala Thu Dec 2 18:40:29 2010
@@ -144,4 +144,6 @@ case class SingleDestination(override va
/**
* @author <a href="http://hiramchirino.com">Hiram Chirino</a>
*/
-case class MultiDestination(override val destinations: List[Destination]) extends Destination
+case class MultiDestination(override val destinations: List[Destination]) extends Destination {
+ def this(d: Array[Destination]) = this(d.toList)
+}