Spelling fixes
This commit is contained in:
parent
87ba02b9e5
commit
78cb156ef9
|
@ -493,7 +493,7 @@ public final class StompConnection implements RemotingConnection
|
||||||
ActiveMQStompException error = BUNDLE.versionNotSupported(acceptVersion);
|
ActiveMQStompException error = BUNDLE.versionNotSupported(acceptVersion);
|
||||||
error.addHeader(Stomp.Headers.Error.VERSION, acceptVersion);
|
error.addHeader(Stomp.Headers.Error.VERSION, acceptVersion);
|
||||||
error.addHeader(Stomp.Headers.CONTENT_TYPE, "text/plain");
|
error.addHeader(Stomp.Headers.CONTENT_TYPE, "text/plain");
|
||||||
error.setBody("Supported protocol version are " + manager.getSupportedVersionsAsString());
|
error.setBody("Supported protocol versions are " + manager.getSupportedVersionsAsString());
|
||||||
error.setDisconnect(true);
|
error.setDisconnect(true);
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
|
|
|
@ -711,7 +711,7 @@ public class StompDecoder
|
||||||
return str.toString();
|
return str.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
//this should be overriden by subclasses.
|
/** This should be overridden by subclasses. */
|
||||||
public void init(StompDecoder decoder)
|
public void init(StompDecoder decoder)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,7 +41,7 @@ java.util.logging.FileHandler.pattern=logs/activemq.log
|
||||||
# Default global logging level.
|
# Default global logging level.
|
||||||
# This specifies which kinds of events are logged across
|
# This specifies which kinds of events are logged across
|
||||||
# all loggers. For any given facility this global level
|
# all loggers. For any given facility this global level
|
||||||
# can be overriden by a facility specific level
|
# can be overridden by a facility specific level
|
||||||
# Note that the ConsoleHandler also has a separate level
|
# Note that the ConsoleHandler also has a separate level
|
||||||
# setting to limit messages printed to the console.
|
# setting to limit messages printed to the console.
|
||||||
.level= INFO
|
.level= INFO
|
||||||
|
|
|
@ -92,7 +92,7 @@ public class MessageExpirationTest extends ActiveMQTestBase
|
||||||
|
|
||||||
producer.send(message);
|
producer.send(message);
|
||||||
|
|
||||||
// second message, this message shouldn't be overriden
|
// second message, this message shouldn't be overridden
|
||||||
message = session.createMessage(false);
|
message = session.createMessage(false);
|
||||||
message.setExpiration(System.currentTimeMillis() + EXPIRATION * 3);
|
message.setExpiration(System.currentTimeMillis() + EXPIRATION * 3);
|
||||||
producer.send(message);
|
producer.send(message);
|
||||||
|
|
|
@ -67,7 +67,7 @@ public abstract class JMSTestCase extends Assert
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Should be overriden
|
* Should be overridden
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
protected Properties getProviderProperties() throws IOException
|
protected Properties getProviderProperties() throws IOException
|
||||||
|
|
Loading…
Reference in New Issue