infinispan/infinispan — pull request #2160 by anistor (2013-10-11 13:35:25+00:00)
Title: ISPN-2478 PutMapCommand not correctly removing previous types from indexes

* Modify PutMapCommand.perform() to return a Map of the previous values (it used to return null). This Map is never returned over the network (isReturnValueExpected always false) so no perf impact
* Fix QueryInterceptor.processPutMapCommand to remove previous types from indexes

Jira: https://issues.jboss.org/browse/ISPN-2478

Please integrate in master.