You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Clotho <li...@163.com> on 2010/01/05 10:20:27 UTC

there is a redundant phrase in ProducerTool.java ^.^

\apache-activemq-5.3.0\example\src\ProducerTool.java

protected void sendLoop(Session session, MessageProducer producer) throws
Exception {
		for (int i = 0; i < messageCount || messageCount == 0; i++) {
                          }
}

->

for (int i = 0; i < messageCount; i++) {
}
-- 
View this message in context: http://old.nabble.com/there-is-a-redundant-phrase-in-ProducerTool.java-%5E.%5E-tp27025647p27025647.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: there is a redundant phrase in ProducerTool.java ^.^

Posted by Rob Davies <ra...@gmail.com>.
Yikes! - thanks for pointing that out
On 5 Jan 2010, at 09:20, Clotho wrote:

>
> \apache-activemq-5.3.0\example\src\ProducerTool.java
>
> protected void sendLoop(Session session, MessageProducer producer)  
> throws
> Exception {
> 		for (int i = 0; i < messageCount || messageCount == 0; i++) {
>                          }
> }
>
> ->
>
> for (int i = 0; i < messageCount; i++) {
> }
> -- 
> View this message in context: http://old.nabble.com/there-is-a-redundant-phrase-in-ProducerTool.java-%5E.%5E-tp27025647p27025647.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Rob Davies
http://twitter.com/rajdavies
I work here: http://fusesource.com
My Blog: http://rajdavies.blogspot.com/
I'm writing this: http://www.manning.com/snyder/