Skip to content

Commit

Permalink
The fortunes of this method have reversed
Browse files Browse the repository at this point in the history
  • Loading branch information
dmlloyd committed Feb 14, 2017
1 parent 7c4e7cb commit d90003b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,11 @@ public Xid[] recover(final int flag, final String parentName) throws XAException
}

public SimpleTransactionControl begin() throws SystemException {
return new EJBSimpleTransactionControl(channel);
// this method will be removed after WFTC 1.0.0.Beta12
return begin(0);
}

public SimpleTransactionControl begin(final int timeout) throws SystemException {
// this method will be removed after WFTC 1.0.0.Beta11
return begin();
return new EJBSimpleTransactionControl(channel);
}
}

0 comments on commit d90003b

Please sign in to comment.