Spelling fixes
This commit is contained in:
parent
bd5a78802f
commit
4045d47daa
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue