infinispan/infinispan — pull request #877 by Sanne (2012-01-23 13:03:30+00:00)
Title: Dead code removal

While attempting to reduce the amount of invocation to componentRegistry#getComponent (at runtime during inbound command handling), it seems I could remove a good amount of dead code and unnecessary lookups.

Spotted by OProfiler as a minor overhead - feel free to keep it in if this is considered unsafe, but of all our modules no one is needing these command getters. BTW the returned elements are deprecated anyway.