SpringSource/spring-integration — pull request #536 by garyrussell (2012-07-05 21:37:22+00:00)
Title: INT-2650 Don't Convert byte[]

Backport to 2.1.x

The problem reported by INT-2630 was more extensive. For example,
the unconditional parameter conversion causes arrays to be copied
unnecessarily.

The BeanFactoryTypeConverter now does a no-op conversion whenever
the source type is assignable to the target type.

This effectively reverts to the Spring 3.0 behavior, where this
assertion resulted in the argument not being added to the
argsRequiringConversion array.