This closes #431

This commit is contained in:
jbertram 2016-04-04 11:04:13 -05:00
commit 6fbf80ed2a
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) {