mirror of https://github.com/apache/activemq.git
Typo in validation methods
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908155 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cd694f728c
commit
f585d881bc
|
@ -142,12 +142,12 @@ public class ActiveMQActivationSpec implements MessageActivationSpec, Serializab
|
|||
|
||||
public boolean isValidUseRAManagedTransaction(List<String> errorMessages) {
|
||||
try {
|
||||
new Boolean(noLocal);
|
||||
new Boolean(useRAManagedTransaction);
|
||||
return true;
|
||||
} catch (Throwable e) {
|
||||
//
|
||||
}
|
||||
errorMessages.add("noLocal must be set to: true or false.");
|
||||
errorMessages.add("useRAManagedTransaction must be set to: true or false.");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue