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

Well, that code would only work for 3.1 and not 3.2 or beyond.

Most likely we will remove the mocks altogether before 3.2, but your alternative would actually break as soon as we upgrade to something beyond 3.1, whereas the code as I committed relies on the fact that we know 3.0 is the minimum version (you won't get that far with anything less anyways).