minor formatting and javadoc fixes

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908154 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
David Jencks 2010-02-09 18:54:16 +00:00
parent e8a06c43bb
commit cd694f728c
2 changed files with 5 additions and 5 deletions

View File

@ -28,13 +28,13 @@ import java.util.concurrent.ConcurrentHashMap;
public class FactoryFinder {
/**
* The strategey that the FactoryFinder uses to find load and instanciate Objects
* can be chagned out by calling the
* The strategy that the FactoryFinder uses to find load and instantiate Objects
* can be changed out by calling the
* {@link org.apache.activemq.util.FactoryFinder#setObjectFactory(org.apache.activemq.util.FactoryFinder.ObjectFactory)}
* method with a custom implemenation of ObjectFactory.
* method with a custom implementation of ObjectFactory.
*
* The default ObjectFactory is typically changed out when running in a specialized container
* enviorment where service discovery needs to be done via the container system. For example,
* environment where service discovery needs to be done via the container system. For example,
* in an OSGi scenario.
*/
public interface ObjectFactory {

View File

@ -349,7 +349,7 @@ public abstract class JmsTransactionTestSupport extends TestSupport implements M
// lets consume any outstanding messages from prev test runs
beginTx();
while (consumer.receive(1000) != null) {
while (consumer.receive(1000) != null) {
}
commitTx();