language
stringclasses
1 value
owner
stringlengths
2
15
repo
stringlengths
2
21
sha
stringlengths
45
45
message
stringlengths
7
36.3k
path
stringlengths
1
199
patch
stringlengths
15
102k
is_multipart
bool
2 classes
Other
spring-projects
spring-framework
85a552daed9766ff9f9c5de05181dd5fa5ec7214.json
Fix package cycle among http message converters This change introduces a new AllEncompassingFormHttpMessageConverter class that adds JSON and XML converters for individual mime parts of a multi-part request. The new converter is used in place of the previously used XmlAwareFormHttpMessageConverter. Issue: SPR-10055
spring-web/src/test/java/org/springframework/http/converter/FormHttpMessageConverterTests.java
@@ -40,6 +40,7 @@ import org.springframework.http.MediaType; import org.springframework.http.MockHttpInputMessage; import org.springframework.http.MockHttpOutputMessage; +import org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter; import org.springframework.http.converter.xml.XmlAware...
true
Other
spring-projects
spring-framework
85a552daed9766ff9f9c5de05181dd5fa5ec7214.json
Fix package cycle among http message converters This change introduces a new AllEncompassingFormHttpMessageConverter class that adds JSON and XML converters for individual mime parts of a multi-part request. The new converter is used in place of the previously used XmlAwareFormHttpMessageConverter. Issue: SPR-10055
spring-webmvc/src/main/java/org/springframework/web/servlet/config/AnnotationDrivenBeanDefinitionParser.java
@@ -39,6 +39,7 @@ import org.springframework.http.converter.feed.RssChannelHttpMessageConverter; import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter; import org.springframework.http.converter.json.MappingJacksonHttpMessageConverter; +import org.springframework.http.converter.support.Al...
true
Other
spring-projects
spring-framework
85a552daed9766ff9f9c5de05181dd5fa5ec7214.json
Fix package cycle among http message converters This change introduces a new AllEncompassingFormHttpMessageConverter class that adds JSON and XML converters for individual mime parts of a multi-part request. The new converter is used in place of the previously used XmlAwareFormHttpMessageConverter. Issue: SPR-10055
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupport.java
@@ -46,6 +46,7 @@ import org.springframework.http.converter.feed.RssChannelHttpMessageConverter; import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter; import org.springframework.http.converter.json.MappingJacksonHttpMessageConverter; +import org.springframework.http.converter.support.Al...
true
Other
spring-projects
spring-framework
85a552daed9766ff9f9c5de05181dd5fa5ec7214.json
Fix package cycle among http message converters This change introduces a new AllEncompassingFormHttpMessageConverter class that adds JSON and XML converters for individual mime parts of a multi-part request. The new converter is used in place of the previously used XmlAwareFormHttpMessageConverter. Issue: SPR-10055
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ExceptionHandlerExceptionResolver.java
@@ -37,6 +37,7 @@ import org.springframework.http.converter.ByteArrayHttpMessageConverter; import org.springframework.http.converter.HttpMessageConverter; import org.springframework.http.converter.StringHttpMessageConverter; +import org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter; ...
true
Other
spring-projects
spring-framework
85a552daed9766ff9f9c5de05181dd5fa5ec7214.json
Fix package cycle among http message converters This change introduces a new AllEncompassingFormHttpMessageConverter class that adds JSON and XML converters for individual mime parts of a multi-part request. The new converter is used in place of the previously used XmlAwareFormHttpMessageConverter. Issue: SPR-10055
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapter.java
@@ -45,6 +45,7 @@ import org.springframework.http.converter.ByteArrayHttpMessageConverter; import org.springframework.http.converter.HttpMessageConverter; import org.springframework.http.converter.StringHttpMessageConverter; +import org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter; ...
true
Other
spring-projects
spring-framework
85a552daed9766ff9f9c5de05181dd5fa5ec7214.json
Fix package cycle among http message converters This change introduces a new AllEncompassingFormHttpMessageConverter class that adds JSON and XML converters for individual mime parts of a multi-part request. The new converter is used in place of the previously used XmlAwareFormHttpMessageConverter. Issue: SPR-10055
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestPartIntegrationTests.java
@@ -41,6 +41,7 @@ import org.springframework.http.converter.HttpMessageConverter; import org.springframework.http.converter.ResourceHttpMessageConverter; import org.springframework.http.converter.json.MappingJacksonHttpMessageConverter; +import org.springframework.http.converter.support.AllEncompassingFormHttpMessag...
true
Other
spring-projects
spring-framework
85a552daed9766ff9f9c5de05181dd5fa5ec7214.json
Fix package cycle among http message converters This change introduces a new AllEncompassingFormHttpMessageConverter class that adds JSON and XML converters for individual mime parts of a multi-part request. The new converter is used in place of the previously used XmlAwareFormHttpMessageConverter. Issue: SPR-10055
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestResponseBodyMethodProcessorTests.java
@@ -32,6 +32,7 @@ import org.springframework.http.converter.HttpMessageConverter; import org.springframework.http.converter.StringHttpMessageConverter; import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter; +import org.springframework.http.converter.support.AllEncompassingFormHttpMessage...
true
Other
spring-projects
spring-framework
85a552daed9766ff9f9c5de05181dd5fa5ec7214.json
Fix package cycle among http message converters This change introduces a new AllEncompassingFormHttpMessageConverter class that adds JSON and XML converters for individual mime parts of a multi-part request. The new converter is used in place of the previously used XmlAwareFormHttpMessageConverter. Issue: SPR-10055
src/dist/changelog.txt
@@ -105,7 +105,7 @@ Changes in version 3.2 RC1 (2012-11-04) * use concurrent cache to improve performance of GenericTypeResolver (SPR-8701) * cache and late resolve annotations on bean properties to improve performance (SPR-9166) * allow PropertyResolver implementations to ignore unresolvable ${placeholders} (SPR-95...
true
Other
spring-projects
spring-framework
3643d92cb8f8d7ba3bee8d19db300c557e2e85a8.json
Fix issue with creating ServletRequestAttributes Prevously the FrameworkServlet created a new ServletRequestAttributes instance for every request, unless the RequestContextHolder already contained an instance whose type is not ServletRequestAttributes. The main intent was that if RequestContextHolder contains a Portle...
build.gradle
@@ -518,7 +518,10 @@ project('spring-webmvc-tiles3') { compile("javax.servlet.jsp:jsp-api:2.1", provided) compile("org.apache.tiles:tiles-request-api:1.0.1", optional) compile("org.apache.tiles:tiles-api:3.0.1", optional) - compile("org.apache.tiles:tiles-core:3.0.1", optional) + ...
true
Other
spring-projects
spring-framework
3643d92cb8f8d7ba3bee8d19db300c557e2e85a8.json
Fix issue with creating ServletRequestAttributes Prevously the FrameworkServlet created a new ServletRequestAttributes instance for every request, unless the RequestContextHolder already contained an instance whose type is not ServletRequestAttributes. The main intent was that if RequestContextHolder contains a Portle...
spring-test-mvc/src/test/java/org/springframework/test/web/servlet/Spr10025Tests.java
@@ -0,0 +1,94 @@ +/* + * Copyright 2002-2012 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + ...
true
Other
spring-projects
spring-framework
3643d92cb8f8d7ba3bee8d19db300c557e2e85a8.json
Fix issue with creating ServletRequestAttributes Prevously the FrameworkServlet created a new ServletRequestAttributes instance for every request, unless the RequestContextHolder already contained an instance whose type is not ServletRequestAttributes. The main intent was that if RequestContextHolder contains a Portle...
spring-webmvc/src/main/java/org/springframework/web/servlet/FrameworkServlet.java
@@ -904,7 +904,7 @@ protected final void processRequest(HttpServletRequest request, HttpServletRespo RequestAttributes previousAttributes = RequestContextHolder.getRequestAttributes(); ServletRequestAttributes requestAttributes = null; - if (previousAttributes == null || previousAttributes.getClass().equals(Se...
true
Other
spring-projects
spring-framework
9cc4bd892a6bb3aca9fea4b2423369181cebea9a.json
Fix issue with suffix pattern match Spring Framework 3.2 M2 added the ability to map requests using only file extensions registered through the configured through a ContentNeotiationManager, as opposed to allowing any file extension (i.e. ".*"). The MVC namespace the MVC Java config automatically register extensions s...
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMapping.java
@@ -50,21 +50,47 @@ public class RequestMappingHandlerMapping extends RequestMappingInfoHandlerMappi private boolean useSuffixPatternMatch = true; + private boolean useRegisteredSuffixPatternMatch = false; + private boolean useTrailingSlashMatch = true; private ContentNegotiationManager contentNegotiationMa...
true
Other
spring-projects
spring-framework
9cc4bd892a6bb3aca9fea4b2423369181cebea9a.json
Fix issue with suffix pattern match Spring Framework 3.2 M2 added the ability to map requests using only file extensions registered through the configured through a ContentNeotiationManager, as opposed to allowing any file extension (i.e. ".*"). The MVC namespace the MVC Java config automatically register extensions s...
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMappingTests.java
@@ -0,0 +1,81 @@ +/* + * Copyright 2002-2012 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + ...
true
Other
spring-projects
spring-framework
fb05c7b33c469d5a7826ff8efe3168329617b6b5.json
Replace SLF4J with ACL TilesConfigurer for Tiles 3 Replace the use of SLF4J LoggerFactory and Logger classes with Apache commons-logging LogFactory and Log. Issue: SPR-10077
spring-webmvc-tiles3/src/main/java/org/springframework/web/servlet/view/tiles3/TilesConfigurer.java
@@ -28,6 +28,8 @@ import javax.servlet.ServletContext; import javax.servlet.jsp.JspFactory; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.apache.tiles.TilesContainer; import org.apache.tiles.TilesException; import org.apache.tiles.access.TilesAccess; @@ -53,8 +...
false
Other
spring-projects
spring-framework
31dfffde52baaff5c9539c9d11653f3776d10de4.json
Update TODOs with new JIRA issue Issue: SPR-8116, SPR-10074
spring-beans/src/test/java/org/springframework/beans/factory/support/security/CallbacksSecurityTests.java
@@ -437,7 +437,7 @@ public void testConstructor() throws Exception { @Test @Ignore("passes under Eclipse, but fails under Gradle with https://gist.github.com/1664133") - // TODO SPR-8116 passes under Eclipse, but fails under Gradle with + // TODO [SPR-10074] passes under Eclipse, but fails under Gradle with // ...
true
Other
spring-projects
spring-framework
31dfffde52baaff5c9539c9d11653f3776d10de4.json
Update TODOs with new JIRA issue Issue: SPR-8116, SPR-10074
spring-orm/src/test/java/org/springframework/orm/jpa/openjpa/OpenJpaEntityManagerFactoryWithAspectJWeavingIntegrationTests.java
@@ -23,8 +23,8 @@ * * @author Ramnivas Laddad */ -// TODO SPR-8116 this test causes gradle to hang. -// when run independently e.g. `./gradlew :spring-orm:test -Dtest.single=OpenJpaEntity...` +// TODO [SPR-10074] this test causes gradle to hang. +// When run independently e.g. `./gradlew :spring-orm:test -Dtest.s...
true
Other
spring-projects
spring-framework
31dfffde52baaff5c9539c9d11653f3776d10de4.json
Update TODOs with new JIRA issue Issue: SPR-8116, SPR-10074
spring-orm/src/test/java/org/springframework/orm/jpa/toplink/TopLinkMultiEntityManagerFactoryIntegrationTests.java
@@ -27,7 +27,7 @@ * * @author Costin Leau */ -// TODO SPR-8116 this test causes gradle to hang. See OJEMFWAJWIT. +// TODO [SPR-10074] this test causes gradle to hang. See OJEMFWAJWIT. @Ignore("this test causes gradle to hang. See OJEMFWAJWIT.") public class TopLinkMultiEntityManagerFactoryIntegrationTests exten...
true
Other
spring-projects
spring-framework
31dfffde52baaff5c9539c9d11653f3776d10de4.json
Update TODOs with new JIRA issue Issue: SPR-8116, SPR-10074
spring-web/src/test/java/org/springframework/remoting/jaxws/JaxWsSupportTests.java
@@ -40,7 +40,7 @@ * @author Juergen Hoeller * @since 2.5 */ -// TODO SPR-8116 - see https://gist.github.com/1150858 +// TODO [SPR-10074] see https://gist.github.com/1150858 @Ignore("see https://gist.github.com/1150858") public class JaxWsSupportTests {
true
Other
spring-projects
spring-framework
a8589bf0359850214400904f6254972f64a8f717.json
Replace dependency to aspectjrt with aspectjweaver Replace the gradle dependency on aspectjrt with aspectjweaver since aspectjrt is a subset of aspectjweaver and the full jar is required by Spring. SPR-8896 fixed the original code issue, this change just relates to the generated maven pom. Issue: SPR-10072
build.gradle
@@ -645,7 +645,7 @@ project('spring-aspects') { compile(project(":spring-orm"), optional) // for JPA exception translation support aspects project(":spring-orm") ajc "org.aspectj:aspectjtools:${aspectjVersion}" - compile "org.aspectj:aspectjrt:${aspectjVersion}" + compile "org.a...
false
Other
spring-projects
spring-framework
da034eb020d29fdc29856e16a0bd6d4d32cb0bae.json
Replace references to SimpleJdbcTemplate in docs Rework JDBC section of the manual to remove references to the now deprecated SimpleJdbcTemplate class. Issue: SPR-10317
src/reference/docbook/jdbc.xml
@@ -159,19 +159,12 @@ parameters for an SQL statement.</para> </listitem> - <listitem> - <para><emphasis role="bold">SimpleJdbcTemplate</emphasis> combines - the most frequently used operations of JdbcTemplate and - NamedParameterJdbcTemplate.</para> - </li...
false
Other
spring-projects
spring-framework
009d2a5efd456a37c29fd984be3087f09082c325.json
Remove unnecessary null check in SysEnvPropSource Remove unnecessary null check and dead code from SystemEnvironmentPropertySource. Issue: SPR-10318
spring-core/src/main/java/org/springframework/core/env/SystemEnvironmentPropertySource.java
@@ -88,10 +88,6 @@ public boolean containsProperty(String name) { public Object getProperty(String name) { Assert.notNull(name, "property name must not be null"); String actualName = resolvePropertyName(name); - if (actualName == null) { - // at this point we know the property does not exist - return null;...
false
Other
spring-projects
spring-framework
720714b43456d3216f12fa679546cf29bb4b2c65.json
Add JdbcTestUtils.deleteRowsInTableWhere method Issue: SPR-10302
spring-test/src/main/java/org/springframework/test/jdbc/JdbcTestUtils.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,13 +23,13 @@ import org.apache.common...
true
Other
spring-projects
spring-framework
720714b43456d3216f12fa679546cf29bb4b2c65.json
Add JdbcTestUtils.deleteRowsInTableWhere method Issue: SPR-10302
spring-test/src/test/java/org/springframework/test/jdbc/JdbcTestUtilsTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,25 +16,38 @@ package org.springframew...
true
Other
spring-projects
spring-framework
5b7969e726edf9080e999730f53f6d449172279d.json
Fix UriComponents.equals() method Fix HierarchicalUriComponents and OpaqueUriComponents .equals() methods. Issue: SPR-10313
spring-web/src/main/java/org/springframework/web/util/HierarchicalUriComponents.java
@@ -39,6 +39,7 @@ * Extension of {@link UriComponents} for hierarchical URIs. * * @author Arjen Poutsma + * @author Phillip Webb * @since 3.1.3 * @see <a href="http://tools.ietf.org/html/rfc3986#section-1.2.3">Hierarchical URIs</a> */ @@ -430,28 +431,15 @@ public boolean equals(Object obj) { return fals...
true
Other
spring-projects
spring-framework
5b7969e726edf9080e999730f53f6d449172279d.json
Fix UriComponents.equals() method Fix HierarchicalUriComponents and OpaqueUriComponents .equals() methods. Issue: SPR-10313
spring-web/src/main/java/org/springframework/web/util/OpaqueUriComponents.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ * Extension of {@link UriCo...
true
Other
spring-projects
spring-framework
5b7969e726edf9080e999730f53f6d449172279d.json
Fix UriComponents.equals() method Fix HierarchicalUriComponents and OpaqueUriComponents .equals() methods. Issue: SPR-10313
spring-web/src/test/java/org/springframework/web/util/UriComponentsTests.java
@@ -26,9 +26,14 @@ import org.junit.Test; import static org.hamcrest.Matchers.equalTo; +import static org.hamcrest.Matchers.instanceOf; +import static org.hamcrest.Matchers.not; import static org.junit.Assert.*; -/** @author Arjen Poutsma */ +/** + * @author Arjen Poutsma + * @author Phillip Webb + */ public cl...
true
Other
spring-projects
spring-framework
5b1165b1029263ff0020562da95bd30380f303e4.json
Ignore path parameters in request mappings Before this change the presence of path params (e.g. "/foo;q=1/bar") expected the request mapping to contain a URI variable in the place of semicolon content (e.g. either "/{foo}/bar" or "/{foo};{fooParams}"). The change ensures path params are ignored in @RequestMapping pat...
spring-web/src/main/java/org/springframework/web/util/UrlPathHelper.java
@@ -441,10 +441,8 @@ protected String determineEncoding(HttpServletRequest request) { * @return the updated URI string */ public String removeSemicolonContent(String requestUri) { - if (this.removeSemicolonContent) { - return removeSemicolonContentInternal(requestUri); - } - return removeJsessionid(request...
true
Other
spring-projects
spring-framework
5b1165b1029263ff0020562da95bd30380f303e4.json
Ignore path parameters in request mappings Before this change the presence of path params (e.g. "/foo;q=1/bar") expected the request mapping to contain a URI variable in the place of semicolon content (e.g. either "/{foo}/bar" or "/{foo};{fooParams}"). The change ensures path params are ignored in @RequestMapping pat...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/AnnotationDrivenBeanDefinitionParser.java
@@ -154,7 +154,6 @@ public BeanDefinition parse(Element element, ParserContext parserContext) { handlerMappingDef.setSource(source); handlerMappingDef.setRole(BeanDefinition.ROLE_INFRASTRUCTURE); handlerMappingDef.getPropertyValues().add("order", 0); - handlerMappingDef.getPropertyValues().add("removeSemicolo...
true
Other
spring-projects
spring-framework
5b1165b1029263ff0020562da95bd30380f303e4.json
Ignore path parameters in request mappings Before this change the presence of path params (e.g. "/foo;q=1/bar") expected the request mapping to contain a URI variable in the place of semicolon content (e.g. either "/{foo}/bar" or "/{foo};{fooParams}"). The change ensures path params are ignored in @RequestMapping pat...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupport.java
@@ -192,7 +192,6 @@ public void setApplicationContext(ApplicationContext applicationContext) throws public RequestMappingHandlerMapping requestMappingHandlerMapping() { RequestMappingHandlerMapping handlerMapping = new RequestMappingHandlerMapping(); handlerMapping.setOrder(0); - handlerMapping.setRemoveSemico...
true
Other
spring-projects
spring-framework
5b1165b1029263ff0020562da95bd30380f303e4.json
Ignore path parameters in request mappings Before this change the presence of path params (e.g. "/foo;q=1/bar") expected the request mapping to contain a URI variable in the place of semicolon content (e.g. either "/{foo}/bar" or "/{foo};{fooParams}"). The change ensures path params are ignored in @RequestMapping pat...
spring-webmvc/src/main/java/org/springframework/web/servlet/handler/AbstractHandlerMapping.java
@@ -127,6 +127,7 @@ public void setUrlDecode(boolean urlDecode) { /** * Set if ";" (semicolon) content should be stripped from the request URI. + * <p>The default value is {@code false}. * @see org.springframework.web.util.UrlPathHelper#setRemoveSemicolonContent(boolean) */ public void setRemoveSemicolo...
true
Other
spring-projects
spring-framework
5b1165b1029263ff0020562da95bd30380f303e4.json
Ignore path parameters in request mappings Before this change the presence of path params (e.g. "/foo;q=1/bar") expected the request mapping to contain a URI variable in the place of semicolon content (e.g. either "/{foo}/bar" or "/{foo};{fooParams}"). The change ensures path params are ignored in @RequestMapping pat...
spring-webmvc/src/main/java/org/springframework/web/servlet/handler/AbstractHandlerMethodMapping.java
@@ -37,6 +37,7 @@ import org.springframework.web.method.HandlerMethod; import org.springframework.web.method.HandlerMethodSelector; import org.springframework.web.servlet.HandlerMapping; +import org.springframework.web.util.UrlPathHelper; /** * Abstract base class for {@link HandlerMapping} implementations that...
true
Other
spring-projects
spring-framework
5b1165b1029263ff0020562da95bd30380f303e4.json
Ignore path parameters in request mappings Before this change the presence of path params (e.g. "/foo;q=1/bar") expected the request mapping to contain a URI variable in the place of semicolon content (e.g. either "/{foo}/bar" or "/{foo};{fooParams}"). The change ensures path params are ignored in @RequestMapping pat...
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/condition/PatternsRequestCondition.java
@@ -42,9 +42,16 @@ */ public final class PatternsRequestCondition extends AbstractRequestCondition<PatternsRequestCondition> { + private static UrlPathHelper pathHelperNoSemicolonContent; + + static { + pathHelperNoSemicolonContent = new UrlPathHelper(); + pathHelperNoSemicolonContent.setRemoveSemicolonContent(t...
true
Other
spring-projects
spring-framework
5b1165b1029263ff0020562da95bd30380f303e4.json
Ignore path parameters in request mappings Before this change the presence of path params (e.g. "/foo;q=1/bar") expected the request mapping to contain a URI variable in the place of semicolon content (e.g. either "/{foo}/bar" or "/{foo};{fooParams}"). The change ensures path params are ignored in @RequestMapping pat...
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/condition/PatternsRequestConditionTests.java
@@ -27,6 +27,7 @@ import org.junit.Test; import org.springframework.mock.web.test.MockHttpServletRequest; +import org.springframework.web.util.UrlPathHelper; /** * @author Rossen Stoyanchev @@ -185,6 +186,16 @@ public void matchPatternContainsExtension() { assertNull(match); } + @Test + public void matc...
true
Other
spring-projects
spring-framework
5b1165b1029263ff0020562da95bd30380f303e4.json
Ignore path parameters in request mappings Before this change the presence of path params (e.g. "/foo;q=1/bar") expected the request mapping to contain a URI variable in the place of semicolon content (e.g. either "/{foo}/bar" or "/{foo};{fooParams}"). The change ensures path params are ignored in @RequestMapping pat...
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/RequestMappingInfoHandlerMappingTests.java
@@ -90,7 +90,6 @@ public void setUp() throws Exception { this.handlerMapping = new TestRequestMappingInfoHandlerMapping(); this.handlerMapping.registerHandler(testController); - this.handlerMapping.setRemoveSemicolonContent(false); } @Test
true
Other
spring-projects
spring-framework
b47d97c23a24a10305c8a82ba4acc823ce52f088.json
Improve error message for JSON path expressions Issue: SPR-SPR-10275
spring-test-mvc/src/main/java/org/springframework/test/util/JsonPathExpectationsHelper.java
@@ -17,7 +17,8 @@ package org.springframework.test.util; import static org.springframework.test.util.AssertionErrors.assertEquals; -import static org.springframework.test.util.AssertionErrors.*; +import static org.springframework.test.util.AssertionErrors.assertTrue; +import static org.springframework.test.util.Ass...
true
Other
spring-projects
spring-framework
b47d97c23a24a10305c8a82ba4acc823ce52f088.json
Improve error message for JSON path expressions Issue: SPR-SPR-10275
spring-test-mvc/src/test/java/org/springframework/test/util/JsonPathExpectationsHelperTests.java
@@ -0,0 +1,45 @@ +/* + * Copyright 2004-2013 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *...
true
Other
spring-projects
spring-framework
92ad66bf10b570dde25af44d8ff3f958dfec2a9d.json
Add setOutputStreaming option for HTTP factory Add setOutputStreaming on SimpleClientHttpRequestFactory to allow the disabling of 'output streaming' mode on the underlying connection so that authentication and redirection can be handled automatically. Issue: SPR-9617
spring-web/src/main/java/org/springframework/http/client/SimpleBufferingClientHttpRequest.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -39,9 +39,12 @@ final class SimpleBufferingC...
true
Other
spring-projects
spring-framework
92ad66bf10b570dde25af44d8ff3f958dfec2a9d.json
Add setOutputStreaming option for HTTP factory Add setOutputStreaming on SimpleClientHttpRequestFactory to allow the disabling of 'output streaming' mode on the underlying connection so that authentication and redirection can be handled automatically. Issue: SPR-9617
spring-web/src/main/java/org/springframework/http/client/SimpleClientHttpRequestFactory.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -50,6 +50,8 @@ public class SimpleClientHttp...
true
Other
spring-projects
spring-framework
92ad66bf10b570dde25af44d8ff3f958dfec2a9d.json
Add setOutputStreaming option for HTTP factory Add setOutputStreaming on SimpleClientHttpRequestFactory to allow the disabling of 'output streaming' mode on the underlying connection so that authentication and redirection can be handled automatically. Issue: SPR-9617
spring-web/src/main/java/org/springframework/http/client/SimpleStreamingClientHttpRequest.java
@@ -44,10 +44,14 @@ final class SimpleStreamingClientHttpRequest extends AbstractClientHttpRequest { private OutputStream body; + private final boolean outputStreaming; - SimpleStreamingClientHttpRequest(HttpURLConnection connection, int chunkSize) { + + SimpleStreamingClientHttpRequest(HttpURLConnection connec...
true
Other
spring-projects
spring-framework
92ad66bf10b570dde25af44d8ff3f958dfec2a9d.json
Add setOutputStreaming option for HTTP factory Add setOutputStreaming on SimpleClientHttpRequestFactory to allow the disabling of 'output streaming' mode on the underlying connection so that authentication and redirection can be handled automatically. Issue: SPR-9617
spring-web/src/test/java/org/springframework/http/client/NoOutputStreamingBufferedSimpleHttpRequestFactoryTests.java
@@ -0,0 +1,29 @@ +/* + * Copyright 2002-2013 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + ...
true
Other
spring-projects
spring-framework
92ad66bf10b570dde25af44d8ff3f958dfec2a9d.json
Add setOutputStreaming option for HTTP factory Add setOutputStreaming on SimpleClientHttpRequestFactory to allow the disabling of 'output streaming' mode on the underlying connection so that authentication and redirection can be handled automatically. Issue: SPR-9617
spring-web/src/test/java/org/springframework/http/client/NoOutputStreamingStreamingSimpleHttpRequestFactoryTests.java
@@ -0,0 +1,29 @@ +/* + * Copyright 2002-2013 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + ...
true
Other
spring-projects
spring-framework
24ed325c0cc8fb0758a166608b7b6ff834e40fa9.json
Add HttpPutFormContentFilter note to documentation Update reference guide to include a note about the use of HttpPutFormContentFilter in combination with @RequestBody MultiValueMap and HttpEntity. Issue: SPR-8415
src/reference/docbook/mvc.xml
@@ -2157,6 +2157,14 @@ public class EditPetForm { available through the <literal>ServletRequest.getParameter*()</literal> family of methods.</para> + + <note> + <para>As <classname>HttpPutFormContentFilter</classname> consumes the body of the + request, it should not ...
false
Other
spring-projects
spring-framework
19eecb151b8a0e2b2dad1aa4baf4c552587342fb.json
Add @Ignored Test case to reproduce SPR-10243 Issue: SPR-10243
spring-context/src/test/java/org/springframework/validation/beanvalidation/ValidatorFactoryTests.java
@@ -35,13 +35,15 @@ import javax.validation.constraints.NotNull; import org.hibernate.validator.HibernateValidator; +import org.junit.Ignore; import org.junit.Test; import org.springframework.validation.BeanPropertyBindingResult; import org.springframework.validation.Errors; import org.springframework.validat...
false
Other
spring-projects
spring-framework
0b6101478e705f5fff1fa7e1cd2b1159ac60280c.json
Use bridge methods in ReflectiveMethodResolver Fix failing test Issue: SPR-10210
spring-expression/src/test/java/org/springframework/expression/spel/SpelReproTests.java
@@ -24,7 +24,6 @@ import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; -import java.io.Serializable; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.ArrayList;
true
Other
spring-projects
spring-framework
0b6101478e705f5fff1fa7e1cd2b1159ac60280c.json
Use bridge methods in ReflectiveMethodResolver Fix failing test Issue: SPR-10210
spring-expression/src/test/java/org/springframework/expression/spel/spr10210/A.java
@@ -20,4 +20,8 @@ import org.springframework.expression.spel.spr10210.infra.C; abstract class A extends B<C> { + + public void bridgetMethod() { + } + }
true
Other
spring-projects
spring-framework
634284e1fdd9a32b7356117055bc62b64d6e0add.json
Use bridge methods in ReflectiveMethodResolver Update ReflectiveMethodResolver to consider bridge methods. Issue: SPR-10210
spring-expression/src/main/java/org/springframework/expression/spel/support/ReflectiveMethodResolver.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,13 +19,16 @@ import java.lang.reflect.M...
true
Other
spring-projects
spring-framework
634284e1fdd9a32b7356117055bc62b64d6e0add.json
Use bridge methods in ReflectiveMethodResolver Update ReflectiveMethodResolver to consider bridge methods. Issue: SPR-10210
spring-expression/src/test/java/org/springframework/expression/spel/SpelReproTests.java
@@ -24,6 +24,7 @@ import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; +import java.io.Serializable; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.ArrayList; @@ -1736,6 +1737,14 @@ public void SPR_10125() throws Exception { assertThat(fromClass, i...
true
Other
spring-projects
spring-framework
634284e1fdd9a32b7356117055bc62b64d6e0add.json
Use bridge methods in ReflectiveMethodResolver Update ReflectiveMethodResolver to consider bridge methods. Issue: SPR-10210
spring-expression/src/test/java/org/springframework/expression/spel/spr10210/A.java
@@ -0,0 +1,23 @@ +/* + * Copyright 2002-2013 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + ...
true
Other
spring-projects
spring-framework
634284e1fdd9a32b7356117055bc62b64d6e0add.json
Use bridge methods in ReflectiveMethodResolver Update ReflectiveMethodResolver to consider bridge methods. Issue: SPR-10210
spring-expression/src/test/java/org/springframework/expression/spel/spr10210/D.java
@@ -0,0 +1,20 @@ +/* + * Copyright 2002-2013 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + ...
true
Other
spring-projects
spring-framework
634284e1fdd9a32b7356117055bc62b64d6e0add.json
Use bridge methods in ReflectiveMethodResolver Update ReflectiveMethodResolver to consider bridge methods. Issue: SPR-10210
spring-expression/src/test/java/org/springframework/expression/spel/spr10210/comp/B.java
@@ -0,0 +1,24 @@ +/* + * Copyright 2002-2013 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + ...
true
Other
spring-projects
spring-framework
634284e1fdd9a32b7356117055bc62b64d6e0add.json
Use bridge methods in ReflectiveMethodResolver Update ReflectiveMethodResolver to consider bridge methods. Issue: SPR-10210
spring-expression/src/test/java/org/springframework/expression/spel/spr10210/infra/C.java
@@ -0,0 +1,20 @@ +/* + * Copyright 2002-2013 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + ...
true
Other
spring-projects
spring-framework
2642cf2e05e7851acf4727c09b7c0d5dc71dcde4.json
Replace EasyMock with Mockito in spring-jms Issue: SPR-10126
build.gradle
@@ -69,7 +69,7 @@ configure(allprojects) { project -> testCompile("junit:junit:${junitVersion}") testCompile("org.hamcrest:hamcrest-all:1.3") testCompile("org.mockito:mockito-core:1.9.5") - if (project.name in ["spring", "spring-jms", + if (project.name in ["spring", "spring-orm-hibernate4", "spring-oxm...
true
Other
spring-projects
spring-framework
2642cf2e05e7851acf4727c09b7c0d5dc71dcde4.json
Replace EasyMock with Mockito in spring-jms Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/config/JmsNamespaceHandlerTests.java
@@ -16,20 +16,28 @@ package org.springframework.jms.config; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertSame; +import static org.junit.Assert.assertTrue; +import static org.mockito.BDD...
true
Other
spring-projects
spring-framework
2642cf2e05e7851acf4727c09b7c0d5dc71dcde4.json
Replace EasyMock with Mockito in spring-jms Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/connection/JmsTransactionManagerTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,6 +16,14 @@ package org.springframewo...
true
Other
spring-projects
spring-framework
2642cf2e05e7851acf4727c09b7c0d5dc71dcde4.json
Replace EasyMock with Mockito in spring-jms Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/connection/SingleConnectionFactoryTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,6 +16,14 @@ package org.springframewo...
true
Other
spring-projects
spring-framework
2642cf2e05e7851acf4727c09b7c0d5dc71dcde4.json
Replace EasyMock with Mockito in spring-jms Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/core/JmsTemplate102Tests.java
@@ -16,6 +16,15 @@ package org.springframework.jms.core; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; +import static org.mockito.BDDMockito.given; +import static org.mockito.BDDMockito.willThrow; +import static org.mockito.Mockito.m...
true
Other
spring-projects
spring-framework
2642cf2e05e7851acf4727c09b7c0d5dc71dcde4.json
Replace EasyMock with Mockito in spring-jms Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/core/JmsTemplateTests.java
@@ -16,6 +16,16 @@ package org.springframework.jms.core; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertSame; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; +import static org.mockito.BDDMockito.given; +import static org.mockito.BDDMockito.wil...
true
Other
spring-projects
spring-framework
2642cf2e05e7851acf4727c09b7c0d5dc71dcde4.json
Replace EasyMock with Mockito in spring-jms Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/core/support/JmsGatewaySupportTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,26 +15,26 @@ */ package org.springfra...
true
Other
spring-projects
spring-framework
2642cf2e05e7851acf4727c09b7c0d5dc71dcde4.json
Replace EasyMock with Mockito in spring-jms Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/listener/SimpleMessageListenerContainerTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,14 @@ package org.springframewo...
true
Other
spring-projects
spring-framework
2642cf2e05e7851acf4727c09b7c0d5dc71dcde4.json
Replace EasyMock with Mockito in spring-jms Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/listener/adapter/MessageListenerAdapter102Tests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,6 +17,13 @@ package org.springframework...
true
Other
spring-projects
spring-framework
2642cf2e05e7851acf4727c09b7c0d5dc71dcde4.json
Replace EasyMock with Mockito in spring-jms Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/listener/adapter/MessageListenerAdapterTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,8 +16,19 @@ package org.springframewo...
true
Other
spring-projects
spring-framework
2642cf2e05e7851acf4727c09b7c0d5dc71dcde4.json
Replace EasyMock with Mockito in spring-jms Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/listener/endpoint/DefaultJmsActivationSpecFactoryTests.java
@@ -16,12 +16,14 @@ package org.springframework.jms.listener.endpoint; +import static org.mockito.BDDMockito.given; +import static org.mockito.Mockito.mock; + import javax.jms.Destination; import javax.jms.Session; import junit.framework.TestCase; -import org.easymock.MockControl; import org.springframewor...
true
Other
spring-projects
spring-framework
2642cf2e05e7851acf4727c09b7c0d5dc71dcde4.json
Replace EasyMock with Mockito in spring-jms Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/remoting/JmsInvokerTests.java
@@ -16,9 +16,16 @@ package org.springframework.jms.remoting; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; +import static org.mockito.BDDMockito.given; +import static org.mockito.Mockito.mock; + import java.io.Serializable; import ...
true
Other
spring-projects
spring-framework
2642cf2e05e7851acf4727c09b7c0d5dc71dcde4.json
Replace EasyMock with Mockito in spring-jms Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/support/SimpleMessageConverter102Tests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,63 +16,53 @@ package org.springframew...
true
Other
spring-projects
spring-framework
2642cf2e05e7851acf4727c09b7c0d5dc71dcde4.json
Replace EasyMock with Mockito in spring-jms Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/support/SimpleMessageConverterTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,9 +16,15 @@ package org.springframewo...
true
Other
spring-projects
spring-framework
2642cf2e05e7851acf4727c09b7c0d5dc71dcde4.json
Replace EasyMock with Mockito in spring-jms Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/support/converter/MappingJackson2MessageConverterTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,21 +16,27 @@ package org.springframew...
true
Other
spring-projects
spring-framework
2642cf2e05e7851acf4727c09b7c0d5dc71dcde4.json
Replace EasyMock with Mockito in spring-jms Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/support/converter/MappingJacksonMessageConverterTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,20 +16,26 @@ package org.springframew...
true
Other
spring-projects
spring-framework
2642cf2e05e7851acf4727c09b7c0d5dc71dcde4.json
Replace EasyMock with Mockito in spring-jms Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/support/converter/MarshallingMessageConverterTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2009 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,17 +16,21 @@ package org.springframew...
true
Other
spring-projects
spring-framework
2642cf2e05e7851acf4727c09b7c0d5dc71dcde4.json
Replace EasyMock with Mockito in spring-jms Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/support/destination/DynamicDestinationResolverTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2008 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,6 +16,9 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
2642cf2e05e7851acf4727c09b7c0d5dc71dcde4.json
Replace EasyMock with Mockito in spring-jms Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/support/destination/JmsDestinationAccessorTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2008 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,8 +16,9 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
2642cf2e05e7851acf4727c09b7c0d5dc71dcde4.json
Replace EasyMock with Mockito in spring-jms Issue: SPR-10126
spring-jms/src/test/java/org/springframework/jms/support/destination/JndiDestinationResolverTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,13 +16,17 @@ package org.springframew...
true
Other
spring-projects
spring-framework
5710cf5ed29139e94853f3d14124eb100a924b82.json
Reduce log level to DEBUG when @TELs isn't present The default set of TestExecutionListeners is sufficient in most integration testing scenarios; however, the TestContextManager nonetheless logs an INFO message if the @TestExecutionListeners annotation is not present on an integration test class. In order to avoid fl...
spring-test/src/main/java/org/springframework/test/context/TestContextManager.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2010 the original author or authors. + * Copyright 2002-2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -181,8 +181,8 @@ private TestExecutionListen...
false
Other
spring-projects
spring-framework
69a392981e135a1c78ed18b9495626e7b34349e4.json
Upgrade JarJar to version 1.3 JarJar 1.3 now uses ASM 4 in order to be compatible with Java 7 'invokedynamic' instructions. This is not an immediate concern for the classes that we use JarJar to repackage and transform, but is a timely upgrade in anticipation of the subsequent commits in which we upgrade Spring's own ...
build.gradle
@@ -98,7 +98,7 @@ project("spring-asm") { } dependencies { asm "asm:asm:${asmVersion}@jar", "asm:asm-commons:${asmVersion}@jar" - jarjar 'com.googlecode.jarjar:jarjar:1.1' + jarjar 'com.googlecode.jarjar:jarjar:1.3' } task repackageAsm(type: Jar) { jar ->
false
Other
spring-projects
spring-framework
f5d3cd07e733f9b21749a96603de14f65a0add3d.json
Avoid NPE when registering a SpEL MethodFilter Attempting to register a custom MethodFilter with a StandardEvaluationContext after invoking setMethodResolvers() with a custom list of MethodResolver instances results in a NullPointerException. Based on the current documentation in StandardEvaluationContext it is unclea...
spring-expression/src/main/java/org/springframework/expression/spel/support/StandardEvaluationContext.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * Copyright 2002-2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -43,6 +43,7 @@ * * @author Andy Clement ...
true
Other
spring-projects
spring-framework
f5d3cd07e733f9b21749a96603de14f65a0add3d.json
Avoid NPE when registering a SpEL MethodFilter Attempting to register a custom MethodFilter with a StandardEvaluationContext after invoking setMethodResolvers() with a custom list of MethodResolver instances results in a NullPointerException. Based on the current documentation in StandardEvaluationContext it is unclea...
spring-expression/src/test/java/org/springframework/expression/spel/EvaluationTests.java
@@ -18,15 +18,22 @@ import static org.junit.Assert.*; +import java.lang.reflect.Method; +import java.util.ArrayList; import java.util.List; import java.util.Map; import org.junit.Test; +import org.springframework.core.convert.TypeDescriptor; +import org.springframework.expression.AccessException; import or...
true
Other
spring-projects
spring-framework
f5d3cd07e733f9b21749a96603de14f65a0add3d.json
Avoid NPE when registering a SpEL MethodFilter Attempting to register a custom MethodFilter with a StandardEvaluationContext after invoking setMethodResolvers() with a custom list of MethodResolver instances results in a NullPointerException. Based on the current documentation in StandardEvaluationContext it is unclea...
src/dist/changelog.txt
@@ -9,9 +9,10 @@ Changes in version 3.2 M2 (2012-08-xx) * spring-test module now depends on junit:junit-dep (SPR-6966) * now inferring return type of generic factory methods (SPR-9493) * SpEL now supports method invocations on integers (SPR-9612) +* SpEL now supports case-insensitive null literals in expressions (SP...
true
Other
spring-projects
spring-framework
015086cb9c50fa4eabd47fab064bc1bbdde8caa6.json
Introduce new methods in tx base test classes Recently new utility methods were added to JdbcTestUtils, and a JdbcTemplate was introduced in abstract transactional base classes in the TestContext framework. This presents an easy opportunity to make these new utility methods available as convenience methods in the base...
spring-test/src/main/java/org/springframework/test/context/junit4/AbstractTransactionalJUnit4SpringContextTests.java
@@ -33,17 +33,18 @@ import org.springframework.transaction.annotation.Transactional; /** - * Abstract {@link Transactional transactional} extension of + * Abstract {@linkplain Transactional transactional} extension of * {@link AbstractJUnit4SpringContextTests} which adds convenience functionality * for JDBC acc...
true
Other
spring-projects
spring-framework
015086cb9c50fa4eabd47fab064bc1bbdde8caa6.json
Introduce new methods in tx base test classes Recently new utility methods were added to JdbcTestUtils, and a JdbcTemplate was introduced in abstract transactional base classes in the TestContext framework. This presents an easy opportunity to make these new utility methods available as convenience methods in the base...
spring-test/src/main/java/org/springframework/test/context/testng/AbstractTransactionalTestNGSpringContextTests.java
@@ -32,17 +32,18 @@ import org.springframework.transaction.annotation.Transactional; /** - * Abstract {@link Transactional transactional} extension of + * Abstract {@linkplain Transactional transactional} extension of * {@link AbstractTestNGSpringContextTests} which adds convenience functionality * for JDBC acc...
true
Other
spring-projects
spring-framework
015086cb9c50fa4eabd47fab064bc1bbdde8caa6.json
Introduce new methods in tx base test classes Recently new utility methods were added to JdbcTestUtils, and a JdbcTemplate was introduced in abstract transactional base classes in the TestContext framework. This presents an easy opportunity to make these new utility methods available as convenience methods in the base...
spring-test/src/main/java/org/springframework/test/jdbc/JdbcTestUtils.java
@@ -74,7 +74,7 @@ public static int countRowsInTable(JdbcTemplate jdbcTemplate, String tableName) * @param tableName the name of the table to count rows in * @param whereClause the {@code WHERE} clause to append to the query * @return the number of rows in the table that match the provided - * {@code WHERE} c...
true
Other
spring-projects
spring-framework
015086cb9c50fa4eabd47fab064bc1bbdde8caa6.json
Introduce new methods in tx base test classes Recently new utility methods were added to JdbcTestUtils, and a JdbcTemplate was introduced in abstract transactional base classes in the TestContext framework. This presents an easy opportunity to make these new utility methods available as convenience methods in the base...
src/dist/changelog.txt
@@ -33,6 +33,7 @@ Changes in version 3.2 M2 (2012-08-xx) * deprecated SimpleJdbcTestUtils in favor of JdbcTestUtils (SPR-9235) * introduced countRowsInTableWhere() and dropTables() in JdbcTestUtils (SPR-9235) * introduced JdbcTemplate in tx base classes in the TestContext framework (SPR-8990) +* introduced countRows...
true
Other
spring-projects
spring-framework
8d9637ada65b3b7211a37f853221493c963b1799.json
Provide JdbcTemplate in tx base classes in the TCF Since Spring 2.5, the abstract transactional base classes in the TestContext framework have defined and delegated to a protected SimpleJdbcTemplate instance variable; however, SimpleJdbcTemplate has deprecated since Spring 3.1. Consequently, subclasses of AbstractTran...
spring-test/src/main/java/org/springframework/test/context/junit4/AbstractTransactionalJUnit4SpringContextTests.java
@@ -23,11 +23,12 @@ import org.springframework.core.io.Resource; import org.springframework.core.io.support.EncodedResource; import org.springframework.dao.DataAccessException; +import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.core.simple.SimpleJdbcTemplate; import org.springframe...
true
Other
spring-projects
spring-framework
8d9637ada65b3b7211a37f853221493c963b1799.json
Provide JdbcTemplate in tx base classes in the TCF Since Spring 2.5, the abstract transactional base classes in the TestContext framework have defined and delegated to a protected SimpleJdbcTemplate instance variable; however, SimpleJdbcTemplate has deprecated since Spring 3.1. Consequently, subclasses of AbstractTran...
spring-test/src/main/java/org/springframework/test/context/testng/AbstractTransactionalTestNGSpringContextTests.java
@@ -23,10 +23,11 @@ import org.springframework.core.io.Resource; import org.springframework.core.io.support.EncodedResource; import org.springframework.dao.DataAccessException; +import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.core.simple.SimpleJdbcTemplate; import org.springframe...
true
Other
spring-projects
spring-framework
8d9637ada65b3b7211a37f853221493c963b1799.json
Provide JdbcTemplate in tx base classes in the TCF Since Spring 2.5, the abstract transactional base classes in the TestContext framework have defined and delegated to a protected SimpleJdbcTemplate instance variable; however, SimpleJdbcTemplate has deprecated since Spring 3.1. Consequently, subclasses of AbstractTran...
src/dist/changelog.txt
@@ -32,6 +32,7 @@ Changes in version 3.2 M2 (2012-08-xx) * introduced MockEnvironment in the spring-test module (SPR-9492) * deprecated SimpleJdbcTestUtils in favor of JdbcTestUtils (SPR-9235) * introduced countRowsInTableWhere() and dropTables() in JdbcTestUtils (SPR-9235) +* introduced JdbcTemplate in tx base clas...
true
Other
spring-projects
spring-framework
8d9637ada65b3b7211a37f853221493c963b1799.json
Provide JdbcTemplate in tx base classes in the TCF Since Spring 2.5, the abstract transactional base classes in the TestContext framework have defined and delegated to a protected SimpleJdbcTemplate instance variable; however, SimpleJdbcTemplate has deprecated since Spring 3.1. Consequently, subclasses of AbstractTran...
src/reference/docbook/testing.xml
@@ -396,7 +396,7 @@ </listitem> <listitem> - <para>A <classname>SimpleJdbcTemplate</classname>, for executing + <para>A <classname>JdbcTemplate</classname>, for executing SQL statements to query the database. Such queries can be used to confirm dat...
true
Other
spring-projects
spring-framework
04bfc802dbb6809cccb6d0d1cbd7aa85938a0a0a.json
Use consistent HSQLDB version in Gradle build
build.gradle
@@ -18,6 +18,7 @@ configure(allprojects) { targetCompatibility=1.5 ext.aspectjVersion = '1.6.12' + ext.hsqldbVersion='1.8.0.10' ext.junitVersion = '4.10' [compileJava, compileTestJava]*.options*.compilerArgs = ['-Xlint:none'] @@ -301,7 +302,7 @@ project('spring-jdbc') { compile(proje...
false
Other
spring-projects
spring-framework
914557b9753d2822f79b7be9d33a1258895a69e9.json
Use a default for INTROSPECT_TYPE_LEVEL_MAPPING Usually this request attribute is set for all sub-classes of AbstractUrlHandlerMapping and therefore whenever AnnotationMethodHandlerAdapter is used. However, having a default value to fall back on in AnnotationMethodHandlerAdapter is still appropriate in general and als...
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/annotation/AnnotationMethodHandlerAdapter.java
@@ -35,6 +35,7 @@ import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; + import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; @@ -45,7 +46,6 @@ import org.apache.commons.logging.Log; import org.apache.commons.lo...
false
Other
spring-projects
spring-framework
7c6a1a1bf0db6b428344ec6797a9152c5f4f6d30.json
Improve tests for detection of @MVC annotations Issue: SPR-9601
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/HandlerMethodAnnotationDetectionTests.java
@@ -19,20 +19,25 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; +import java.lang.reflect.Method; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Collection; import java.util.Date; +import org.aopalliance.aop.Advice; import org.junit...
false
Other
spring-projects
spring-framework
060b37ca8db5a3b822029800348a3fe0f0b1b15f.json
Fix typo in MockFilterChain
spring-orm/src/test/java/org/springframework/mock/web/MockFilterChain.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2009 the original author or authors. + * Copyright 2002-2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,15 +23,15 @@ import org.springframework...
true
Other
spring-projects
spring-framework
060b37ca8db5a3b822029800348a3fe0f0b1b15f.json
Fix typo in MockFilterChain
spring-test/src/main/java/org/springframework/mock/web/MockFilterChain.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2009 the original author or authors. + * Copyright 2002-2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ import org.springframework.u...
true
Other
spring-projects
spring-framework
060b37ca8db5a3b822029800348a3fe0f0b1b15f.json
Fix typo in MockFilterChain
spring-web/src/test/java/org/springframework/mock/web/MockFilterChain.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * Copyright 2002-2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ import org.springframework.u...
true
Other
spring-projects
spring-framework
060b37ca8db5a3b822029800348a3fe0f0b1b15f.json
Fix typo in MockFilterChain
spring-webmvc/src/test/java/org/springframework/mock/web/MockFilterChain.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2009 the original author or authors. + * Copyright 2002-2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,9 +23,9 @@ import org.springframework.u...
true
Other
spring-projects
spring-framework
028e15faa33888673bfc7b55eaa65eb93f7bca0c.json
Add options to configure content negotiation The MVC Java config and the MVC namespace now support options to configure content negotiation. By default both support checking path extensions first and the "Accept" header second. For path extensions .json, .xml, .atom, and .rss are recognized out of the box if the Jacks...
spring-web/src/main/java/org/springframework/web/accept/ContentNegotiationManager.java
@@ -30,10 +30,19 @@ /** * This class is used to determine the requested {@linkplain MediaType media types} - * in a request by delegating to a list of {@link ContentNegotiationStrategy} instances. + * of a request by delegating to a list of ContentNegotiationStrategy instances. + * The strategies must be provided ...
true
Other
spring-projects
spring-framework
028e15faa33888673bfc7b55eaa65eb93f7bca0c.json
Add options to configure content negotiation The MVC Java config and the MVC namespace now support options to configure content negotiation. By default both support checking path extensions first and the "Accept" header second. For path extensions .json, .xml, .atom, and .rss are recognized out of the box if the Jacks...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/AnnotationDrivenBeanDefinitionParser.java
@@ -16,7 +16,10 @@ package org.springframework.web.servlet.config; +import java.util.Arrays; +import java.util.HashMap; import java.util.List; +import java.util.Map; import org.springframework.beans.factory.config.BeanDefinition; import org.springframework.beans.factory.config.BeanDefinitionHolder; @@ -29,6 +...
true
Other
spring-projects
spring-framework
028e15faa33888673bfc7b55eaa65eb93f7bca0c.json
Add options to configure content negotiation The MVC Java config and the MVC namespace now support options to configure content negotiation. By default both support checking path extensions first and the "Accept" header second. For path extensions .json, .xml, .atom, and .rss are recognized out of the box if the Jacks...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/ContentNegotiationConfigurer.java
@@ -0,0 +1,195 @@ +/* + * Copyright 2002-2012 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
028e15faa33888673bfc7b55eaa65eb93f7bca0c.json
Add options to configure content negotiation The MVC Java config and the MVC namespace now support options to configure content negotiation. By default both support checking path extensions first and the "Accept" header second. For path extensions .json, .xml, .atom, and .rss are recognized out of the box if the Jacks...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfiguration.java
@@ -55,6 +55,11 @@ protected void addInterceptors(InterceptorRegistry registry) { this.configurers.addInterceptors(registry); } + @Override + protected void configureContentNegotiation(ContentNegotiationConfigurer configurer) { + this.configurers.configureContentNegotiation(configurer); + } + @Override prot...
true
Other
spring-projects
spring-framework
028e15faa33888673bfc7b55eaa65eb93f7bca0c.json
Add options to configure content negotiation The MVC Java config and the MVC namespace now support options to configure content negotiation. By default both support checking path extensions first and the "Accept" header second. For path extensions .json, .xml, .atom, and .rss are recognized out of the box if the Jacks...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/InterceptorRegistry.java
@@ -24,23 +24,22 @@ import org.springframework.web.servlet.handler.WebRequestHandlerInterceptorAdapter; /** - * Stores and provides access to a list of interceptors. For each interceptor you can optionally - * specify one or more URL patterns it applies to. + * Helps with configuring a list of mapped interceptors....
true
Other
spring-projects
spring-framework
028e15faa33888673bfc7b55eaa65eb93f7bca0c.json
Add options to configure content negotiation The MVC Java config and the MVC namespace now support options to configure content negotiation. By default both support checking path extensions first and the "Accept" header second. For path extensions .json, .xml, .atom, and .rss are recognized out of the box if the Jacks...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupport.java
@@ -17,7 +17,9 @@ package org.springframework.web.servlet.config.annotation; import java.util.ArrayList; +import java.util.HashMap; import java.util.List; +import java.util.Map; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; @@ -35,6 +37,7 @@ import org.springframework.form...
true
Other
spring-projects
spring-framework
028e15faa33888673bfc7b55eaa65eb93f7bca0c.json
Add options to configure content negotiation The MVC Java config and the MVC namespace now support options to configure content negotiation. By default both support checking path extensions first and the "Accept" header second. For path extensions .json, .xml, .atom, and .rss are recognized out of the box if the Jacks...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurer.java
@@ -69,6 +69,11 @@ public interface WebMvcConfigurer { */ Validator getValidator(); + /** + * Configure content negotiation options. + */ + void configureContentNegotiation(ContentNegotiationConfigurer configurer); + /** * Add resolvers to support custom controller method argument types. * <p>This does...
true
Other
spring-projects
spring-framework
028e15faa33888673bfc7b55eaa65eb93f7bca0c.json
Add options to configure content negotiation The MVC Java config and the MVC namespace now support options to configure content negotiation. By default both support checking path extensions first and the "Accept" header second. For path extensions .json, .xml, .atom, and .rss are recognized out of the box if the Jacks...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurerAdapter.java
@@ -57,6 +57,13 @@ public Validator getValidator() { return null; } + /** + * {@inheritDoc} + * <p>This implementation is empty. + */ + public void configureContentNegotiation(ContentNegotiationConfigurer configurer) { + } + /** * {@inheritDoc} * <p>This implementation is empty.
true
Other
spring-projects
spring-framework
028e15faa33888673bfc7b55eaa65eb93f7bca0c.json
Add options to configure content negotiation The MVC Java config and the MVC namespace now support options to configure content negotiation. By default both support checking path extensions first and the "Accept" header second. For path extensions .json, .xml, .atom, and .rss are recognized out of the box if the Jacks...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurerComposite.java
@@ -49,6 +49,12 @@ public void addFormatters(FormatterRegistry registry) { } } + public void configureContentNegotiation(ContentNegotiationConfigurer configurer) { + for (WebMvcConfigurer delegate : this.delegates) { + delegate.configureContentNegotiation(configurer); + } + } + public void configureMessage...
true