[JBoss JIRA] (JBTM-2656) XATerminatorImple#recover should return an empty array in preference to null
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2656?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson updated JBTM-2656:
--------------------------------
Description:
The javadoc for the XATerminator recover
method says the resource manager should return zero or more XIDs or throw an exception but our implementation of it returns null if there are no in doubt Xids.
> XATerminatorImple#recover should return an empty array in preference to null
> ----------------------------------------------------------------------------
>
> Key: JBTM-2656
> URL: https://issues.jboss.org/browse/JBTM-2656
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: JCA
> Affects Versions: 5.3.2.Final
> Reporter: Michael Musgrove
> Assignee: Michael Musgrove
> Fix For: 5.next
>
>
> The javadoc for the XATerminator recover
> method says the resource manager should return zero or more XIDs or throw an exception but our implementation of it returns null if there are no in doubt Xids.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months