This closes #431
This commit is contained in:
commit
6fbf80ed2a
|
@ -542,7 +542,7 @@ public class ActiveMQSession implements QueueSession, TopicSession {
|
||||||
|
|
||||||
if (dest.isQueue()) {
|
if (dest.isQueue()) {
|
||||||
// This is not really possible unless someone makes a mistake on code
|
// 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");
|
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) {
|
public static BooleanExpression createLike(Expression left, String right, String escape) {
|
||||||
if (escape != null && escape.length() != 1) {
|
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;
|
int c = -1;
|
||||||
if (escape != null) {
|
if (escape != null) {
|
||||||
|
|
Loading…
Reference in New Issue