markfisher/spring-integration — comment on commit 1ecc5fcd793c5269be4b5bfd7f6d4de623e5bc5a
File:  line 0
By olegz:

On line 76 of MethodAnnotationPublisherMetadataSource there is the following line of code:

method.getAnnotation(Payload.class);

which is not doing (getting) anything and is followed by:

Payload methodPayloadAnnotation = AnnotationUtils.findAnnotation(method, Payload.class);

I think it could be safely removed.