markfisher/spring-integration — comment on commit a7e1ed97914f4898c6db5e7875cac0c3103bdc51
File: spring-integration-http/src/test/java/org/springframework/integration/http/MockHttpServletRequest.java line 46
By olegz:

I understand that. All I was trying to see if the code could be more readable (e.g., more explicit about the fact that its 3.1 that is introducing this change)

if (springVersion != null && springVersion.startsWith("3.1")) {
super.setContentType(contentType);
}
else {
this.addHeader("Content-Type", contentType);
}