infinispan/infinispan — pull request #1593 by anistor (2013-01-23 10:36:08+00:00)
Title: ISPN-2740 NPE at AbstractEnlistmentAdapter

The NPE was caused by null rpcManager in local mode during execution of removeTransactionInfoRemotely(). Actually, removeTransactionInfoRemotely() should only execute if the cache is clustered. The already existing isClustered() check was using logic short-circuiting and was miss-placed, so I moved it outside the method.

JIRA: https://issues.jboss.org/browse/ISPN-2740