Removed unused code, fixed bind parameter name.

Comment From: pivotal-cla

@janjouketjalsma Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@janjouketjalsma Thank you for signing the Contributor License Agreement!

Comment From: snicoll

@janjouketjalsma thank you for making your first contribution to Spring Framework.