maniksurtani/infinispan — comment on commit a208d3115f7ac6938ea4523c2f6759525987deff
File: core/src/main/java/org/infinispan/transaction/AbstractEnlistmentAdapter.java line 81
By danberindei:

@maniksurtani I think you shouldn't need `|| !localTransaction.getModifications().isEmpty()`, this is really just about locks and if some locks are not registered then that's a bug that should be fixed.