Skip to content

Commit

Permalink
Fix issue with result handlers in LightCommandAdapter
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Halm committed Feb 6, 2012
1 parent 13ea399 commit 73bf5ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ public class LightCommandAdapter extends AbstractSuspendableCommand implements C

private function getParam (method: Method, value: Object): Object {
if (value is CommandFailure) {
if (!method.parameters[0].isType(CommandFailure)) {
if (!Parameter(method.parameters[0]).type.isType(CommandFailure)) {
return CommandFailure(value).rootCause;
}
}
Expand Down

0 comments on commit 73bf5ac

Please sign in to comment.