Spelling fixes

This commit is contained in:
Ville Skyttä 2016-03-26 14:47:41 +02:00 committed by jbertram
parent bd5a78802f
commit 4045d47daa
2 changed files with 2 additions and 2 deletions

View File

@ -542,7 +542,7 @@ public class ActiveMQSession implements QueueSession, TopicSession {
if (dest.isQueue()) {
// This is not really possible unless someone makes a mistake on code
// createSharedConsumer only accpets Topics by declaration
// createSharedConsumer only accepts Topics by declaration
throw new RuntimeException("Internal error: createSharedConsumer is only meant for Topics");
}

View File

@ -164,7 +164,7 @@ public abstract class ComparisonExpression extends BinaryExpression implements B
public static BooleanExpression createLike(Expression left, String right, String escape) {
if (escape != null && escape.length() != 1) {
throw new RuntimeException("The ESCAPE string litteral is invalid. It can only be one character. Litteral used: " + escape);
throw new RuntimeException("The ESCAPE string literal is invalid. It can only be one character. Literal used: " + escape);
}
int c = -1;
if (escape != null) {