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:
David Jencks 2010-02-09 18:55:04 +00:00
parent cd694f728c
commit f585d881bc
1 changed files with 2 additions and 2 deletions

View File

@ -142,12 +142,12 @@ public class ActiveMQActivationSpec implements MessageActivationSpec, Serializab
public boolean isValidUseRAManagedTransaction(List<String> errorMessages) { public boolean isValidUseRAManagedTransaction(List<String> errorMessages) {
try { try {
new Boolean(noLocal); new Boolean(useRAManagedTransaction);
return true; return true;
} catch (Throwable e) { } 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; return false;
} }