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
5b147bfba8d5d5837b96357a52867e433137f64b.json
Improve speed of spring-test build - Now excluding *TestSuite classes from the JUnit test task. - Renamed SpringJUnit4SuiteTests to SpringJUnit4TestSuite so that it is no longer executed in the build. - Reduced sleep time in various timing related tests.
spring-test/src/test/java/org/springframework/test/context/junit4/SpringJUnit4TestSuite.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. @@ -42,15 +42,16 @@ /** * JUnit test suite...
true
Other
spring-projects
spring-framework
5b147bfba8d5d5837b96357a52867e433137f64b.json
Improve speed of spring-test build - Now excluding *TestSuite classes from the JUnit test task. - Renamed SpringJUnit4SuiteTests to SpringJUnit4TestSuite so that it is no longer executed in the build. - Reduced sleep time in various timing related tests.
spring-test/src/test/java/org/springframework/test/context/junit4/TimedSpringRunnerTests.java
@@ -76,16 +76,16 @@ public void testSpringTimeoutWithNoOp() { } // Should Fail due to timeout. - @Test(timeout = 200) + @Test(timeout = 10) public void testJUnitTimeoutWithOneSecondWait() throws Exception { - Thread.sleep(1000); + Thread.sleep(20); } // Should Fail due to timeout. @Test - @...
true
Other
spring-projects
spring-framework
b8f408ed5faae1bf266331063bc2ea575962bead.json
Replace space indentation with tabs Issue: SPR-9990
build.gradle
@@ -753,18 +753,18 @@ configure(rootProject) { apply plugin: "docbook-reference" apply plugin: "groovy" apply from: "${gradleScriptDir}/jdiff.gradle" - apply plugin: org.springframework.build.gradle.SplitPackageDetectorPlugin + apply plugin: org.springframework.build.gradle.SplitPackageDetectorPlugin - re...
true
Other
spring-projects
spring-framework
b8f408ed5faae1bf266331063bc2ea575962bead.json
Replace space indentation with tabs Issue: SPR-9990
buildSrc/src/main/groovy/org/springframework/build/gradle/SplitPackageDetectorPlugin.groovy
@@ -31,101 +31,101 @@ import org.gradle.plugins.ide.eclipse.model.EclipseClasspath import org.gradle.plugins.ide.idea.IdeaPlugin class SplitPackageDetectorPlugin implements Plugin<Project> { - public void apply(Project project) { - Task diagnoseSplitPackages = project.tasks.add('diagnoseSplitPackages', Sp...
true
Other
spring-projects
spring-framework
a0e5394203d3f485c592c2d05d7d1a6b3cff6ced.json
Exclude stax test dependency Exclude transitive stax 1.0 dependency to prevent compile time eclipse errors.
build.gradle
@@ -235,7 +235,9 @@ project("spring-core") { optional("net.sf.jopt-simple:jopt-simple:3.0") optional("log4j:log4j:1.2.17") testCompile("xmlunit:xmlunit:1.3") - testCompile("org.codehaus.woodstox:wstx-asl:3.2.7") + testCompile("org.codehaus.woodstox:wstx-asl:3.2.7") { + exclude group: "stax", module: "stax-...
false
Other
spring-projects
spring-framework
18bf860c273179f95719d80b14d17c0c9ba99c38.json
Update Javadoc for MockMvc Deleted reference to the obsolete configureWarRootDir() method from the stand-alone spring-test-mvc project.
spring-test-mvc/src/main/java/org/springframework/test/web/servlet/MockMvc.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. @@ -38,7 +38,7 @@ * * WebApplicationContext...
false
Other
spring-projects
spring-framework
91da1383143bc15f945935960a79bc253bd1ce16.json
Use explicit JDK versions in aspects.gradle Previously aspects.gradle used the Gradle conventions for the source and target compatibility. This means that unless the conventions were updated the current JDK would be used for both source and target compatibilty. Since an update to build.gradle changed to configure the ...
spring-aspects/aspects.gradle
@@ -21,6 +21,9 @@ task compileJava(overwrite: true) { inputs.files(project.sourceSets.main.allSource + project.sourceSets.main.compileClasspath) outputs.dir outputDir + ext.sourceCompatibility = project(":spring-core").compileJava.sourceCompatibility + ext.targetCompatibility = project(":spring-core").compileJav...
false
Other
spring-projects
spring-framework
68d4a70f8e7315d227b7727b087a65e64f4b0f9e.json
Add option to always append 'must-revalidate' Issue: SPR-9248
spring-webmvc/src/main/java/org/springframework/web/servlet/support/WebContentGenerator.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. @@ -26,7 +26,9 @@ import org.springframework.u...
false
Other
spring-projects
spring-framework
0829cbfdd3adc4459e47b6c4e1411dba796f964a.json
Update license header for recently modified files Issue: SPR-7763, SPR-10140, SPR-10132, SPR-10093, SPR-10103
spring-test-mvc/src/main/java/org/springframework/test/web/servlet/MockMvcBuilderSupport.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.
true
Other
spring-projects
spring-framework
0829cbfdd3adc4459e47b6c4e1411dba796f964a.json
Update license header for recently modified files Issue: SPR-7763, SPR-10140, SPR-10132, SPR-10093, SPR-10103
spring-test-mvc/src/main/java/org/springframework/test/web/servlet/request/MockMvcRequestBuilders.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.
true
Other
spring-projects
spring-framework
0829cbfdd3adc4459e47b6c4e1411dba796f964a.json
Update license header for recently modified files Issue: SPR-7763, SPR-10140, SPR-10132, SPR-10093, SPR-10103
spring-test-mvc/src/main/java/org/springframework/test/web/servlet/setup/DefaultMockMvcBuilder.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.
true
Other
spring-projects
spring-framework
0829cbfdd3adc4459e47b6c4e1411dba796f964a.json
Update license header for recently modified files Issue: SPR-7763, SPR-10140, SPR-10132, SPR-10093, SPR-10103
spring-web/src/main/java/org/springframework/http/converter/BufferedImageHttpMessageConverter.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2010 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.
true
Other
spring-projects
spring-framework
0829cbfdd3adc4459e47b6c4e1411dba796f964a.json
Update license header for recently modified files Issue: SPR-7763, SPR-10140, SPR-10132, SPR-10093, SPR-10103
spring-web/src/main/java/org/springframework/web/util/UrlPathHelper.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.
true
Other
spring-projects
spring-framework
0829cbfdd3adc4459e47b6c4e1411dba796f964a.json
Update license header for recently modified files Issue: SPR-7763, SPR-10140, SPR-10132, SPR-10093, SPR-10103
spring-web/src/test/java/org/springframework/http/converter/BufferedImageHttpMessageConverterTests.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.
true
Other
spring-projects
spring-framework
0829cbfdd3adc4459e47b6c4e1411dba796f964a.json
Update license header for recently modified files Issue: SPR-7763, SPR-10140, SPR-10132, SPR-10093, SPR-10103
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/RequestMappingInfoHandlerMapping.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.
true
Other
spring-projects
spring-framework
0829cbfdd3adc4459e47b6c4e1411dba796f964a.json
Update license header for recently modified files Issue: SPR-7763, SPR-10140, SPR-10132, SPR-10093, SPR-10103
spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/FormTag.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.
true
Other
spring-projects
spring-framework
0829cbfdd3adc4459e47b6c4e1411dba796f964a.json
Update license header for recently modified files Issue: SPR-7763, SPR-10140, SPR-10132, SPR-10093, SPR-10103
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/RequestMappingInfoHandlerMappingTests.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.
true
Other
spring-projects
spring-framework
0829cbfdd3adc4459e47b6c4e1411dba796f964a.json
Update license header for recently modified files Issue: SPR-7763, SPR-10140, SPR-10132, SPR-10093, SPR-10103
spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/FormTagTests.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.
true
Other
spring-projects
spring-framework
a56d8f28fe3c434d04d92ec6cd7ff60848cf8a2e.json
Add support for HTTP OPTIONS in Spring MVC Test Issue: SPR-10093
spring-test-mvc/src/main/java/org/springframework/test/web/servlet/MockMvcBuilderSupport.java
@@ -43,11 +43,12 @@ public abstract class MockMvcBuilderSupport { protected final MockMvc createMockMvc(Filter[] filters, MockServletConfig servletConfig, WebApplicationContext webAppContext, RequestBuilder defaultRequestBuilder, - List<ResultMatcher> globalResultMatchers, List<ResultHandler> globalResultHand...
true
Other
spring-projects
spring-framework
a56d8f28fe3c434d04d92ec6cd7ff60848cf8a2e.json
Add support for HTTP OPTIONS in Spring MVC Test Issue: SPR-10093
spring-test-mvc/src/main/java/org/springframework/test/web/servlet/request/MockMvcRequestBuilders.java
@@ -80,6 +80,17 @@ public static MockHttpServletRequestBuilder delete(String urlTemplate, Object... return new MockHttpServletRequestBuilder(HttpMethod.DELETE, urlTemplate, urlVariables); } + /** + * Create a {@link MockHttpServletRequestBuilder} for an OPTIONS request. + * + * @param urlTemplate a U...
true
Other
spring-projects
spring-framework
a56d8f28fe3c434d04d92ec6cd7ff60848cf8a2e.json
Add support for HTTP OPTIONS in Spring MVC Test Issue: SPR-10093
spring-test-mvc/src/main/java/org/springframework/test/web/servlet/setup/DefaultMockMvcBuilder.java
@@ -31,6 +31,7 @@ import org.springframework.test.web.servlet.ResultMatcher; import org.springframework.util.Assert; import org.springframework.web.context.WebApplicationContext; +import org.springframework.web.servlet.DispatcherServlet; /** * An concrete implementation of {@link MockMvcBuilder} with methods fo...
true
Other
spring-projects
spring-framework
a56d8f28fe3c434d04d92ec6cd7ff60848cf8a2e.json
Add support for HTTP OPTIONS in Spring MVC Test Issue: SPR-10093
spring-test-mvc/src/test/java/org/springframework/test/web/servlet/Spr10093Tests.java
@@ -0,0 +1,94 @@ +/* + * 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
2ac4a8c5411f8642ac2c40503678e5d7a4b56dbf.json
Update mvc chapter on annotations and proxies Issue: SPR-10132
src/reference/docbook/mvc.xml
@@ -867,7 +867,10 @@ public class ClinicController { <interfacename>@Transactional</interfacename> methods). Usually you will introduce an interface for the controller in order to use JDK dynamic proxies. To make this work you must move the - <interfacename>@RequestMapping</interfacena...
false
Other
spring-projects
spring-framework
b8f223c404db419927d4f9763d71e10ca38d37dd.json
Add 3.1 migration section to reference docs Address error raised when using component-scan against the unqualified "org" base package. Issue: SPR-9843
src/reference/docbook/index.xml
@@ -471,6 +471,9 @@ <xi:include href="classic-aop-spring.xml" xmlns:xi="http://www.w3.org/2001/XInclude" /> + <xi:include href="migration-3.1.xml" + xmlns:xi="http://www.w3.org/2001/XInclude" /> + <xi:include href="migration-3.2.xml" xmlns:xi="http://www.w...
true
Other
spring-projects
spring-framework
b8f223c404db419927d4f9763d71e10ca38d37dd.json
Add 3.1 migration section to reference docs Address error raised when using component-scan against the unqualified "org" base package. Issue: SPR-9843
src/reference/docbook/migration-3.1.xml
@@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8"?> +<appendix xml:id="migration-3.1" + xmlns="http://docbook.org/ns/docbook" version="5.0" + xmlns:xl="http://www.w3.org/1999/xlink" + xmlns:xi="http://www.w3.org/2001/XInclude" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocat...
true
Other
spring-projects
spring-framework
b8f223c404db419927d4f9763d71e10ca38d37dd.json
Add 3.1 migration section to reference docs Address error raised when using component-scan against the unqualified "org" base package. Issue: SPR-9843
src/reference/docbook/new-in-3.1.xml
@@ -11,7 +11,8 @@ <para>This is a list of new features for Spring Framework 3.1. A number of features do not have dedicated reference documentation but do have complete Javadoc. In such - cases, fully-qualified class names are given.</para> + cases, fully-qualified class names are given. See also <xref linken...
true
Other
spring-projects
spring-framework
7bc9667913571d17c38f2c1854af9eebadffa832.json
Add support for placeholders in @RequestMapping @RequestMapping annotations now support ${...} placeholders. Issue: SPR-9935
spring-web/src/main/java/org/springframework/web/bind/annotation/RequestMapping.java
@@ -266,6 +266,7 @@ * Ant-style path patterns are also supported (e.g. "/myPath/*.do"). * At the method level, relative paths (e.g. "edit.do") are supported * within the primary mapping expressed at the type level. + * Path mapping URIs may contain placeholders (e.g. "/${connect}") * <p>In a Portlet enviro...
true
Other
spring-projects
spring-framework
7bc9667913571d17c38f2c1854af9eebadffa832.json
Add support for placeholders in @RequestMapping @RequestMapping annotations now support ${...} placeholders. Issue: SPR-9935
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMapping.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. @@ -20,9 +20,11 @@ import java.util.ArrayList;...
true
Other
spring-projects
spring-framework
7bc9667913571d17c38f2c1854af9eebadffa832.json
Add support for placeholders in @RequestMapping @RequestMapping annotations now support ${...} placeholders. Issue: SPR-9935
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMappingTests.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. @@ -24,6 +24,7 @@ import org.junit.Before; im...
true
Other
spring-projects
spring-framework
7bc9667913571d17c38f2c1854af9eebadffa832.json
Add support for placeholders in @RequestMapping @RequestMapping annotations now support ${...} placeholders. Issue: SPR-9935
src/reference/docbook/mvc.xml
@@ -1073,6 +1073,18 @@ public class RelativePathUriTemplateController { <filename>/owners/*/pets/{petId}</filename>).</para> </section> + <section xml:id="mvc-ann-requestmapping-placeholders"> + <title>Patterns with Placeholders</title> + + <para>Patterns in <interfacename>@RequestM...
true
Other
spring-projects
spring-framework
dc6b2abe46bc3edfaaf7020d2c95427412bed74c.json
Verify scope support for 'lite' @Beans in the TCF Introduced AtBeanLiteModeScopeTests integration tests to verify proper scoping of beans created in 'lite' mode. Updated comments in TACCWithoutACTests to better reflect the runtime behavior for 'lite' @Bean methods. Issue: SPR-9401
spring-test/src/test/java/org/springframework/test/context/junit4/spr9051/AtBeanLiteModeScopeTests.java
@@ -0,0 +1,104 @@ +/* + * 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
dc6b2abe46bc3edfaaf7020d2c95427412bed74c.json
Verify scope support for 'lite' @Beans in the TCF Introduced AtBeanLiteModeScopeTests integration tests to verify proper scoping of beans created in 'lite' mode. Updated comments in TACCWithoutACTests to better reflect the runtime behavior for 'lite' @Bean methods. Issue: SPR-9401
spring-test/src/test/java/org/springframework/test/context/junit4/spr9051/TransactionalAnnotatedConfigClassesWithoutAtConfigurationTests.java
@@ -73,21 +73,23 @@ public PlatformTransactionManager transactionManager() { /** * Since this method does not reside in a true {@code @Configuration class}, - * it acts as a factory method instead of a singleton bean. The result is - * that this method will be called at least twice: + * it acts as a fact...
true
Other
spring-projects
spring-framework
49966258f1230950e31f717750b67787742826aa.json
Polish doc for 'annotated class' support in TCF Revised the content in the @ContextConfiguration annotation section. Issue: SPR-9401
src/reference/docbook/testing.xml
@@ -453,11 +453,7 @@ located in the classpath; whereas, annotated classes are typically <interfacename>@Configuration</interfacename> classes. However, resource locations could also refer to files in the file system, - and annotated classes could be component classes, e...
false
Other
spring-projects
spring-framework
f3bcb6e2e413d48355771de7164730beeed80dad.json
Update spring.schemas to reflect 3.2 schemas Commit 180c5b2ef6c16f66145a4250b597a093e566d922 introduced 3.2 versions of all spring-* schemas; this commit updates spring.schemas mapping files to include these new versions.
spring-aop/src/main/resources/META-INF/spring.schemas
@@ -2,4 +2,5 @@ http\://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframewor http\://www.springframework.org/schema/aop/spring-aop-2.5.xsd=org/springframework/aop/config/spring-aop-2.5.xsd http\://www.springframework.org/schema/aop/spring-aop-3.0.xsd=org/springframework/aop/config/spring-aop-3.0.x...
true
Other
spring-projects
spring-framework
f3bcb6e2e413d48355771de7164730beeed80dad.json
Update spring.schemas to reflect 3.2 schemas Commit 180c5b2ef6c16f66145a4250b597a093e566d922 introduced 3.2 versions of all spring-* schemas; this commit updates spring.schemas mapping files to include these new versions.
spring-beans/src/main/resources/META-INF/spring.schemas
@@ -2,14 +2,17 @@ http\://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springfram http\://www.springframework.org/schema/beans/spring-beans-2.5.xsd=org/springframework/beans/factory/xml/spring-beans-2.5.xsd http\://www.springframework.org/schema/beans/spring-beans-3.0.xsd=org/springframework/beans/fa...
true
Other
spring-projects
spring-framework
f3bcb6e2e413d48355771de7164730beeed80dad.json
Update spring.schemas to reflect 3.2 schemas Commit 180c5b2ef6c16f66145a4250b597a093e566d922 introduced 3.2 versions of all spring-* schemas; this commit updates spring.schemas mapping files to include these new versions.
spring-context/src/main/resources/META-INF/spring.schemas
@@ -1,19 +1,24 @@ http\://www.springframework.org/schema/context/spring-context-2.5.xsd=org/springframework/context/config/spring-context-2.5.xsd http\://www.springframework.org/schema/context/spring-context-3.0.xsd=org/springframework/context/config/spring-context-3.0.xsd http\://www.springframework.org/schema/cont...
true
Other
spring-projects
spring-framework
f3bcb6e2e413d48355771de7164730beeed80dad.json
Update spring.schemas to reflect 3.2 schemas Commit 180c5b2ef6c16f66145a4250b597a093e566d922 introduced 3.2 versions of all spring-* schemas; this commit updates spring.schemas mapping files to include these new versions.
spring-jdbc/src/main/resources/META-INF/spring.schemas
@@ -1,3 +1,4 @@ http\://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd=org/springframework/jdbc/config/spring-jdbc-3.0.xsd http\://www.springframework.org/schema/jdbc/spring-jdbc-3.1.xsd=org/springframework/jdbc/config/spring-jdbc-3.1.xsd -http\://www.springframework.org/schema/jdbc/spring-jdbc.xsd=org/sprin...
true
Other
spring-projects
spring-framework
f3bcb6e2e413d48355771de7164730beeed80dad.json
Update spring.schemas to reflect 3.2 schemas Commit 180c5b2ef6c16f66145a4250b597a093e566d922 introduced 3.2 versions of all spring-* schemas; this commit updates spring.schemas mapping files to include these new versions.
spring-jms/src/main/resources/META-INF/spring.schemas
@@ -1,4 +1,5 @@ http\://www.springframework.org/schema/jms/spring-jms-2.5.xsd=org/springframework/jms/config/spring-jms-2.5.xsd http\://www.springframework.org/schema/jms/spring-jms-3.0.xsd=org/springframework/jms/config/spring-jms-3.0.xsd http\://www.springframework.org/schema/jms/spring-jms-3.1.xsd=org/springframe...
true
Other
spring-projects
spring-framework
f3bcb6e2e413d48355771de7164730beeed80dad.json
Update spring.schemas to reflect 3.2 schemas Commit 180c5b2ef6c16f66145a4250b597a093e566d922 introduced 3.2 versions of all spring-* schemas; this commit updates spring.schemas mapping files to include these new versions.
spring-oxm/src/main/resources/META-INF/spring.schemas
@@ -1,3 +1,4 @@ http\://www.springframework.org/schema/oxm/spring-oxm-3.0.xsd=org/springframework/oxm/config/spring-oxm-3.0.xsd http\://www.springframework.org/schema/oxm/spring-oxm-3.1.xsd=org/springframework/oxm/config/spring-oxm-3.1.xsd -http\://www.springframework.org/schema/oxm/spring-oxm.xsd=org/springframework...
true
Other
spring-projects
spring-framework
f3bcb6e2e413d48355771de7164730beeed80dad.json
Update spring.schemas to reflect 3.2 schemas Commit 180c5b2ef6c16f66145a4250b597a093e566d922 introduced 3.2 versions of all spring-* schemas; this commit updates spring.schemas mapping files to include these new versions.
spring-tx/src/main/resources/META-INF/spring.schemas
@@ -2,4 +2,5 @@ http\://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/ http\://www.springframework.org/schema/tx/spring-tx-2.5.xsd=org/springframework/transaction/config/spring-tx-2.5.xsd http\://www.springframework.org/schema/tx/spring-tx-3.0.xsd=org/springframework/transaction/config/sprin...
true
Other
spring-projects
spring-framework
f3bcb6e2e413d48355771de7164730beeed80dad.json
Update spring.schemas to reflect 3.2 schemas Commit 180c5b2ef6c16f66145a4250b597a093e566d922 introduced 3.2 versions of all spring-* schemas; this commit updates spring.schemas mapping files to include these new versions.
spring-webmvc/src/main/resources/META-INF/spring.schemas
@@ -1,3 +1,4 @@ http\://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd=org/springframework/web/servlet/config/spring-mvc-3.0.xsd http\://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd=org/springframework/web/servlet/config/spring-mvc-3.1.xsd -http\://www.springframework.org/schema/mvc/spring-mvc.xsd=org...
true
Other
spring-projects
spring-framework
77ae101402d07b4a59bc9e52b3fe045f1a0e2e7d.json
Add required flag to @RequestBody If true and there is no body => HttpMessageNotReadableException If false and there is no body, the argument resolves to null. Issue: SPR-9239
spring-web/src/main/java/org/springframework/web/bind/annotation/RequestBody.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. @@ -44,4 +44,12 @@ @Documented public @interf...
true
Other
spring-projects
spring-framework
77ae101402d07b4a59bc9e52b3fe045f1a0e2e7d.json
Add required flag to @RequestBody If true and there is no body => HttpMessageNotReadableException If false and there is no body, the argument resolves to null. Issue: SPR-9239
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestResponseBodyMethodProcessor.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,9 +23,12 @@ import org.springframework....
true
Other
spring-projects
spring-framework
77ae101402d07b4a59bc9e52b3fe045f1a0e2e7d.json
Add required flag to @RequestBody If true and there is no body => HttpMessageNotReadableException If false and there is no body, the argument resolves to null. Issue: SPR-9239
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestResponseBodyMethodProcessorTests.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. @@ -26,6 +26,7 @@ import static org.junit.Asse...
true
Other
spring-projects
spring-framework
77ae101402d07b4a59bc9e52b3fe045f1a0e2e7d.json
Add required flag to @RequestBody If true and there is no body => HttpMessageNotReadableException If false and there is no body, the argument resolves to null. Issue: SPR-9239
src/dist/changelog.txt
@@ -28,6 +28,7 @@ Changes in version 3.2 M1 * add ability to configure custom MessageCodesResolver through the MVC Java config * add option in MappingJacksonJsonView for setting the Content-Length header * decode path variables when url decoding is turned off in AbstractHandlerMapping +* add required flag to @Reques...
true
Other
spring-projects
spring-framework
59e3223c849fd04c1415f5ddd9bfb9acb9a17b60.json
Polish recent changes to Log4jWebConfigurer Reordered inline comments so that they now apply to current state of the code. Added logger entry in testlog4j.properties to avoid console warning. Issue: SPR-9417
spring-web/src/main/java/org/springframework/web/util/Log4jWebConfigurer.java
@@ -122,11 +122,14 @@ public static void initLogging(ServletContext servletContext) { if (location != null) { // Perform actual log4j initialization; else rely on log4j's default initialization. try { - // Return a URL (e.g. "classpath:" or "file:") as-is; - // consider a plain file path as relative to...
true
Other
spring-projects
spring-framework
59e3223c849fd04c1415f5ddd9bfb9acb9a17b60.json
Polish recent changes to Log4jWebConfigurer Reordered inline comments so that they now apply to current state of the code. Added logger entry in testlog4j.properties to avoid console warning. Issue: SPR-9417
spring-web/src/test/resources/org/springframework/web/util/testlog4j.properties
@@ -1,2 +1,5 @@ log4j.rootCategory=DEBUG, mock -log4j.appender.mock=org.springframework.web.util.MockLog4jAppender \ No newline at end of file + +log4j.appender.mock=org.springframework.web.util.MockLog4jAppender + +log4j.logger.org.springframework.mock.web=WARN
true
Other
spring-projects
spring-framework
18006c72b014246946fd487159de7e133d173a17.json
Fix circular placeholder prevention A set of resolved placeholder references is used for circular placeholder prevention. For complex property definitions this mechanism would put property values with unresolved inner placeholder references in the set, but would try to remove property values with placeholders resolved...
spring-core/src/main/java/org/springframework/util/PropertyPlaceholderHelper.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. @@ -135,9 +135,10 @@ protected String parseStri...
true
Other
spring-projects
spring-framework
18006c72b014246946fd487159de7e133d173a17.json
Fix circular placeholder prevention A set of resolved placeholder references is used for circular placeholder prevention. For complex property definitions this mechanism would put property values with unresolved inner placeholder references in the set, but would try to remove property values with placeholders resolved...
spring-core/src/test/java/org/springframework/util/PropertyPlaceholderHelperTests.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. @@ -65,6 +65,15 @@ public void testRecurseInPla...
true
Other
spring-projects
spring-framework
13239a0c3d5bf226998f2da9eb66014118972a26.json
Fix compiler warnings This patch fixes several compiler warnings that do not point to code problems. Two kinds of warnings are fixed. First in a lot of cases @SuppressWarnings("unchecked") is used although there are no unchecked casts happening. This seems to be a leftover from when the code base was on Java 1.4, now ...
spring-aop/src/main/java/org/springframework/aop/framework/ProxyFactory.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. @@ -93,7 +93,6 @@ public ProxyFactory(Class pro...
true
Other
spring-projects
spring-framework
13239a0c3d5bf226998f2da9eb66014118972a26.json
Fix compiler warnings This patch fixes several compiler warnings that do not point to code problems. Two kinds of warnings are fixed. First in a lot of cases @SuppressWarnings("unchecked") is used although there are no unchecked casts happening. This seems to be a leftover from when the code base was on Java 1.4, now ...
spring-beans/src/main/java/org/springframework/beans/factory/config/DestructionAwareAttributeHolder.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. @@ -59,7 +59,6 @@ public Map<String, Object> ge...
true
Other
spring-projects
spring-framework
13239a0c3d5bf226998f2da9eb66014118972a26.json
Fix compiler warnings This patch fixes several compiler warnings that do not point to code problems. Two kinds of warnings are fixed. First in a lot of cases @SuppressWarnings("unchecked") is used although there are no unchecked casts happening. This seems to be a leftover from when the code base was on Java 1.4, now ...
spring-context-support/src/main/java/org/springframework/scheduling/quartz/JobDetailFactoryBean.java
@@ -168,7 +168,6 @@ public void setApplicationContextJobDataKey(String applicationContextJobDataKey) } - @SuppressWarnings("unchecked") public void afterPropertiesSet() { if (this.name == null) { this.name = this.beanName; @@ -196,7 +195,7 @@ public void afterPropertiesSet() { this.jobDetail = jdi; ...
true
Other
spring-projects
spring-framework
13239a0c3d5bf226998f2da9eb66014118972a26.json
Fix compiler warnings This patch fixes several compiler warnings that do not point to code problems. Two kinds of warnings are fixed. First in a lot of cases @SuppressWarnings("unchecked") is used although there are no unchecked casts happening. This seems to be a leftover from when the code base was on Java 1.4, now ...
spring-context/src/main/java/org/springframework/context/event/SourceFilteringListener.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. @@ -88,7 +88,6 @@ public int getOrder() { * ...
true
Other
spring-projects
spring-framework
13239a0c3d5bf226998f2da9eb66014118972a26.json
Fix compiler warnings This patch fixes several compiler warnings that do not point to code problems. Two kinds of warnings are fixed. First in a lot of cases @SuppressWarnings("unchecked") is used although there are no unchecked casts happening. This seems to be a leftover from when the code base was on Java 1.4, now ...
spring-context/src/main/java/org/springframework/instrument/classloading/websphere/WebSphereClassLoaderAdapter.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. @@ -91,12 +91,11 @@ public void addTransformer(...
true
Other
spring-projects
spring-framework
13239a0c3d5bf226998f2da9eb66014118972a26.json
Fix compiler warnings This patch fixes several compiler warnings that do not point to code problems. Two kinds of warnings are fixed. First in a lot of cases @SuppressWarnings("unchecked") is used although there are no unchecked casts happening. This seems to be a leftover from when the code base was on Java 1.4, now ...
spring-context/src/test/java/org/springframework/context/support/TestProxyFactoryBean.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. @@ -20,7 +20,7 @@ import org.springframework.b...
true
Other
spring-projects
spring-framework
13239a0c3d5bf226998f2da9eb66014118972a26.json
Fix compiler warnings This patch fixes several compiler warnings that do not point to code problems. Two kinds of warnings are fixed. First in a lot of cases @SuppressWarnings("unchecked") is used although there are no unchecked casts happening. This seems to be a leftover from when the code base was on Java 1.4, now ...
spring-core/src/main/java/org/springframework/core/LocalVariableTableParameterNameDiscoverer.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. @@ -77,7 +77,6 @@ public String[] getParameterN...
true
Other
spring-projects
spring-framework
13239a0c3d5bf226998f2da9eb66014118972a26.json
Fix compiler warnings This patch fixes several compiler warnings that do not point to code problems. Two kinds of warnings are fixed. First in a lot of cases @SuppressWarnings("unchecked") is used although there are no unchecked casts happening. This seems to be a leftover from when the code base was on Java 1.4, now ...
spring-core/src/main/java/org/springframework/core/MethodParameter.java
@@ -281,7 +281,6 @@ public Annotation[] getMethodAnnotations() { * @param annotationType the annotation type to look for * @return the annotation object, or <code>null</code> if not found */ - @SuppressWarnings("unchecked") public <T extends Annotation> T getMethodAnnotation(Class<T> annotationType) { ret...
true
Other
spring-projects
spring-framework
13239a0c3d5bf226998f2da9eb66014118972a26.json
Fix compiler warnings This patch fixes several compiler warnings that do not point to code problems. Two kinds of warnings are fixed. First in a lot of cases @SuppressWarnings("unchecked") is used although there are no unchecked casts happening. This seems to be a leftover from when the code base was on Java 1.4, now ...
spring-jdbc/src/main/java/org/springframework/jdbc/core/ColumnMapRowMapper.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. @@ -67,7 +67,6 @@ public Map<String, Object> ma...
true
Other
spring-projects
spring-framework
13239a0c3d5bf226998f2da9eb66014118972a26.json
Fix compiler warnings This patch fixes several compiler warnings that do not point to code problems. Two kinds of warnings are fixed. First in a lot of cases @SuppressWarnings("unchecked") is used although there are no unchecked casts happening. This seems to be a leftover from when the code base was on Java 1.4, now ...
spring-web/src/main/java/org/springframework/web/context/request/ServletRequestAttributes.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. @@ -159,7 +159,6 @@ public void removeAttribute...
true
Other
spring-projects
spring-framework
13239a0c3d5bf226998f2da9eb66014118972a26.json
Fix compiler warnings This patch fixes several compiler warnings that do not point to code problems. Two kinds of warnings are fixed. First in a lot of cases @SuppressWarnings("unchecked") is used although there are no unchecked casts happening. This seems to be a leftover from when the code base was on Java 1.4, now ...
spring-web/src/main/java/org/springframework/web/context/request/ServletWebRequest.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. @@ -87,12 +87,10 @@ public Object getNativeResp...
true
Other
spring-projects
spring-framework
de2d8082121d3c2187b5555eb1e3a77f7128ba25.json
Eliminate trailing whitespace in SpEL classes
spring-expression/src/main/java/org/springframework/expression/spel/ast/TypeReference.java
@@ -24,7 +24,7 @@ /** * Represents a reference to a type, for example "T(String)" or "T(com.somewhere.Foo)" - * + * * @author Andy Clement */ public class TypeReference extends SpelNodeImpl { @@ -79,5 +79,5 @@ public String toStringAST() { sb.append(")"); return sb.toString(); } - + }
true
Other
spring-projects
spring-framework
de2d8082121d3c2187b5555eb1e3a77f7128ba25.json
Eliminate trailing whitespace in SpEL classes
spring-expression/src/main/java/org/springframework/expression/spel/standard/InternalSpelExpressionParser.java
@@ -70,7 +70,7 @@ /** * Hand written SpEL parser. Instances are reusable but are not thread safe. - * + * * @author Andy Clement * @since 3.0 */ @@ -81,16 +81,16 @@ class InternalSpelExpressionParser extends TemplateAwareExpressionParser { // The token stream constructed from that expression string pr...
true
Other
spring-projects
spring-framework
1f4b33c4ad72c0760bfc40867ce09a859c02f7aa.json
Fix compiler warnings in Constants/ConstantsTests
spring-core/src/main/java/org/springframework/core/Constants.java
@@ -58,7 +58,7 @@ public class Constants { * @param clazz the class to analyze * @throws IllegalArgumentException if the supplied <code>clazz</code> is <code>null</code> */ - public Constants(Class clazz) { + public Constants(Class<?> clazz) { Assert.notNull(clazz); this.className = clazz.getName(); F...
true
Other
spring-projects
spring-framework
1f4b33c4ad72c0760bfc40867ce09a859c02f7aa.json
Fix compiler warnings in Constants/ConstantsTests
spring-core/src/test/java/org/springframework/core/ConstantsTests.java
@@ -57,7 +57,7 @@ public void testConstants() { public void testGetNames() { Constants c = new Constants(A.class); - Set names = c.getNames(""); + Set<?> names = c.getNames(""); assertEquals(c.getSize(), names.size()); assertTrue(names.contains("DOG")); assertTrue(names.contains("CAT")); @@ -75,7 +75,...
true
Other
spring-projects
spring-framework
1f28bdfbfa7f6f7025dac18bd5cdf4fdefb32950.json
Fix SpEL JavaBean compliance Before this fix ReflectivePropertyAccessor was not able to find write method for valid property name that has first character in lower case and second character in upper case. Write method lookup would always convert first character of property name to upper case which is not compliant wit...
spring-expression/src/main/java/org/springframework/expression/spel/support/ReflectivePropertyAccessor.java
@@ -282,21 +282,27 @@ else if (canWrite(context, target, name)) { } /** - * Find a getter method for the specified property. A getter is defined as a method whose name start with the prefix - * 'get' and the rest of the name is the same as the property name (with the first character uppercased). + * Find a get...
true
Other
spring-projects
spring-framework
1f28bdfbfa7f6f7025dac18bd5cdf4fdefb32950.json
Fix SpEL JavaBean compliance Before this fix ReflectivePropertyAccessor was not able to find write method for valid property name that has first character in lower case and second character in upper case. Write method lookup would always convert first character of property name to upper case which is not compliant wit...
spring-expression/src/test/java/org/springframework/expression/spel/support/ReflectionHelperTests.java
@@ -318,7 +318,17 @@ public void testReflectivePropertyResolver() throws Exception { // Assert.assertEquals(0,rpr.read(ctx,t,"field3").getValue()); Assert.assertEquals(false,rpr.read(ctx,t,"property4").getValue()); Assert.assertTrue(rpr.canRead(ctx,t,"property4")); - + + // repro SPR-9123, ReflectiveProperty...
true
Other
spring-projects
spring-framework
e8f8559a2e1c5fa5c559f887756cdc085c90f26b.json
Improve documentation of @Bean 'lite' mode Removed misleading mention of "configuration classes" in the "@Bean Lite Mode" section. Issue: SPR-9401
spring-context/src/main/java/org/springframework/context/annotation/Bean.java
@@ -103,16 +103,15 @@ * <p>{@code @Bean} methods may also be declared within classes that are <em>not</em> * annotated with {@code @Configuration}. For example, bean methods may be declared * in a {@code @Component} class or even in a <em>plain old class</em>. In such cases, - * a {@code @Bean} method will get pr...
false
Other
spring-projects
spring-framework
94c9f96449960a94e49edd7709d49b243de4a5f1.json
Improve documentation of @Bean 'lite' mode Updated the class-level JavaDoc for @Bean to better explain the semantics of 'lite' mode. Renamed "Configuration Class Lite Mode" to "@Bean Lite Mode". Added discussion of @DependsOn to the class-level JavaDoc. Issue: SPR-9401
spring-context/src/main/java/org/springframework/context/annotation/Bean.java
@@ -28,6 +28,8 @@ /** * Indicates that a method produces a bean to be managed by the Spring container. * + * <h3>Overview</h3> + * * <p>The names and semantics of the attributes to this annotation are intentionally * similar to those of the {@code <bean/>} element in the Spring XML schema. For * example: @@ ...
false
Other
spring-projects
spring-framework
2624b909060e0967e16771de7a35261decd5a4a9.json
Avoid NPE in AutowiredAnnotationBeanPostProcessor Prior to this change, AABPP#determineRequiredStatus never checked the return value of ReflectionUtils#findMethod when searching for a '#required' attribute. This call returns null for annotations such as @Inject, @Value and @Resource, and subsequently causes a NullPoin...
spring-beans/src/main/java/org/springframework/beans/factory/annotation/AutowiredAnnotationBeanPostProcessor.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. @@ -405,10 +405,16 @@ protected <T> Map<String,...
false
Other
spring-projects
spring-framework
b50f6e19a6820a8e735a89dfee1a85077e804ec5.json
Fix regression in ClassPathResource descriptions ClassPathResource.getDescription() now returns consistent, meaningful results for all variants of ClassPathResource's constructors. Issue: SPR-9413
spring-core/src/main/java/org/springframework/core/io/ClassPathResource.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. @@ -35,6 +35,7 @@ * Always supports resolutio...
true
Other
spring-projects
spring-framework
b50f6e19a6820a8e735a89dfee1a85077e804ec5.json
Fix regression in ClassPathResource descriptions ClassPathResource.getDescription() now returns consistent, meaningful results for all variants of ClassPathResource's constructors. Issue: SPR-9413
spring-core/src/test/java/org/springframework/core/io/ClassPathResourceTests.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. @@ -17,24 +17,59 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
01a9dd97721c93fe80d8fd35bd5dc8de649b3595.json
Add option to set Content-Length in JSON Views MappingJackson2JsonView and MappingJacksonJsonView now provide an option that will set the Content-Length header of JSON responses. Use of the option implies buffering of the response and it must be enabled explicitly. Issue: SPR-7866
spring-webmvc/src/main/java/org/springframework/web/servlet/view/json/MappingJackson2JsonView.java
@@ -16,6 +16,8 @@ package org.springframework.web.servlet.view.json; +import java.io.ByteArrayOutputStream; +import java.io.OutputStream; import java.util.Collections; import java.util.HashMap; import java.util.Map; @@ -71,6 +73,7 @@ public class MappingJackson2JsonView extends AbstractView { private boolea...
true
Other
spring-projects
spring-framework
01a9dd97721c93fe80d8fd35bd5dc8de649b3595.json
Add option to set Content-Length in JSON Views MappingJackson2JsonView and MappingJacksonJsonView now provide an option that will set the Content-Length header of JSON responses. Use of the option implies buffering of the response and it must be enabled explicitly. Issue: SPR-7866
spring-webmvc/src/main/java/org/springframework/web/servlet/view/json/MappingJacksonJsonView.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. @@ -16,6 +16,8 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
01a9dd97721c93fe80d8fd35bd5dc8de649b3595.json
Add option to set Content-Length in JSON Views MappingJackson2JsonView and MappingJacksonJsonView now provide an option that will set the Content-Length header of JSON responses. Use of the option implies buffering of the response and it must be enabled explicitly. Issue: SPR-7866
spring-webmvc/src/test/java/org/springframework/web/servlet/view/json/MappingJackson2JsonViewTests.java
@@ -59,7 +59,7 @@ * @author Arjen Poutsma * @author Rossen Stoyanchev */ -public class MappingJackson2JsonViewTest { +public class MappingJackson2JsonViewTests { private MappingJackson2JsonView view; @@ -94,6 +94,7 @@ public void renderSimpleMap() throws Exception { model.put("bindingResult", createMock(...
true
Other
spring-projects
spring-framework
01a9dd97721c93fe80d8fd35bd5dc8de649b3595.json
Add option to set Content-Length in JSON Views MappingJackson2JsonView and MappingJacksonJsonView now provide an option that will set the Content-Length header of JSON responses. Use of the option implies buffering of the response and it must be enabled explicitly. Issue: SPR-7866
spring-webmvc/src/test/java/org/springframework/web/servlet/view/json/MappingJacksonJsonViewTests.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. @@ -52,7 +52,7 @@ * @author Jeremy Grelle *...
true
Other
spring-projects
spring-framework
01a9dd97721c93fe80d8fd35bd5dc8de649b3595.json
Add option to set Content-Length in JSON Views MappingJackson2JsonView and MappingJacksonJsonView now provide an option that will set the Content-Length header of JSON responses. Use of the option implies buffering of the response and it must be enabled explicitly. Issue: SPR-7866
src/dist/changelog.txt
@@ -25,7 +25,8 @@ Changes in version 3.2 M1 * support access to all URI vars via @PathVariable Map<String, String> * add "excludedExceptions" property to SimpleUrlHandlerMapping * add CompositeRequestCondition for use with multiple custom request mapping conditions -* add option to configure custom MessageCodesResol...
true
Other
spring-projects
spring-framework
2af294ab26b670c7f997054ab11ecf7402fee6ed.json
Add MessageCodesResolver hook to WebMvcConfigurer This change makes it possible to provide a custom MessageCodesResolver through the MVC Java config whether using @EnableWebMvc and extending WebMVcConfigurerAdapter or sub-classing directly from WebMvcConfigurationSupport. Issue: SPR-9223
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfiguration.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. @@ -22,20 +22,20 @@ import org.springframework...
true
Other
spring-projects
spring-framework
2af294ab26b670c7f997054ab11ecf7402fee6ed.json
Add MessageCodesResolver hook to WebMvcConfigurer This change makes it possible to provide a custom MessageCodesResolver through the MVC Java config whether using @EnableWebMvc and extending WebMVcConfigurerAdapter or sub-classing directly from WebMvcConfigurationSupport. Issue: SPR-9223
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupport.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. @@ -48,6 +48,7 @@ import org.springframework.h...
true
Other
spring-projects
spring-framework
2af294ab26b670c7f997054ab11ecf7402fee6ed.json
Add MessageCodesResolver hook to WebMvcConfigurer This change makes it possible to provide a custom MessageCodesResolver through the MVC Java config whether using @EnableWebMvc and extending WebMVcConfigurerAdapter or sub-classing directly from WebMvcConfigurationSupport. Issue: SPR-9223
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurer.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. @@ -22,6 +22,7 @@ import org.springframework.f...
true
Other
spring-projects
spring-framework
2af294ab26b670c7f997054ab11ecf7402fee6ed.json
Add MessageCodesResolver hook to WebMvcConfigurer This change makes it possible to provide a custom MessageCodesResolver through the MVC Java config whether using @EnableWebMvc and extending WebMVcConfigurerAdapter or sub-classing directly from WebMvcConfigurationSupport. Issue: SPR-9223
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurerAdapter.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. @@ -20,13 +20,15 @@ import org.springframewo...
true
Other
spring-projects
spring-framework
2af294ab26b670c7f997054ab11ecf7402fee6ed.json
Add MessageCodesResolver hook to WebMvcConfigurer This change makes it possible to provide a custom MessageCodesResolver through the MVC Java config whether using @EnableWebMvc and extending WebMVcConfigurerAdapter or sub-classing directly from WebMvcConfigurationSupport. Issue: SPR-9223
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurerComposite.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. @@ -17,12 +17,11 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
2af294ab26b670c7f997054ab11ecf7402fee6ed.json
Add MessageCodesResolver hook to WebMvcConfigurer This change makes it possible to provide a custom MessageCodesResolver through the MVC Java config whether using @EnableWebMvc and extending WebMVcConfigurerAdapter or sub-classing directly from WebMvcConfigurationSupport. Issue: SPR-9223
spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfigurationTests.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. @@ -35,6 +35,7 @@ import org.springframework.f...
true
Other
spring-projects
spring-framework
2af294ab26b670c7f997054ab11ecf7402fee6ed.json
Add MessageCodesResolver hook to WebMvcConfigurer This change makes it possible to provide a custom MessageCodesResolver through the MVC Java config whether using @EnableWebMvc and extending WebMVcConfigurerAdapter or sub-classing directly from WebMvcConfigurationSupport. Issue: SPR-9223
spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupportTests.java
@@ -40,7 +40,9 @@ import org.springframework.mock.web.MockServletContext; import org.springframework.stereotype.Controller; import org.springframework.validation.BeanPropertyBindingResult; +import org.springframework.validation.DefaultMessageCodesResolver; import org.springframework.validation.Errors; +import org.s...
true
Other
spring-projects
spring-framework
2af294ab26b670c7f997054ab11ecf7402fee6ed.json
Add MessageCodesResolver hook to WebMvcConfigurer This change makes it possible to provide a custom MessageCodesResolver through the MVC Java config whether using @EnableWebMvc and extending WebMVcConfigurerAdapter or sub-classing directly from WebMvcConfigurationSupport. Issue: SPR-9223
src/dist/changelog.txt
@@ -25,6 +25,7 @@ Changes in version 3.2 M1 * support access to all URI vars via @PathVariable Map<String, String> * add "excludedExceptions" property to SimpleUrlHandlerMapping * add CompositeRequestCondition for use with multiple custom request mapping conditions +* add option to configure custom MessageCodesResol...
true
Other
spring-projects
spring-framework
9c223c178055829c778fc28a5082fa0338a68ca1.json
Fix broken link to JavaBean customization tutorial Issue: SPR-9408
src/reference/docbook/validation.xml
@@ -603,7 +603,7 @@ Float salary = (Float) company.getPropertyValue("managingDirector.salary");]]></ <para>Note that you can also use the standard <interfacename>BeanInfo</interfacename> JavaBeans mechanism here as well (described <ulink - url="http://java.sun.com/docs/books/tutorial/jav...
false
Other
spring-projects
spring-framework
19aceebb961bd7fe24477a8e15830c668f519385.json
Fix broken javadoc link to ROME tools project Issue: SPR-9379
spring-web/src/main/java/org/springframework/http/converter/feed/AbstractWireFeedHttpMessageConverter.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. @@ -37,8 +37,8 @@ import org.springframework.u...
false
Other
spring-projects
spring-framework
2ff43726be693f32b7bf2a6d237ab65f8ce84ba6.json
Restore serializability of HttpStatusCodeException SPR-7591 introduced a java.nio.charset.Charset field within HttpStatusCodeException. The former is non-serializable, thus by extension the latter also became non-serializable. Because the Charset field is only used for outputting the charset name in HttpStatusCodeExc...
spring-web/src/main/java/org/springframework/web/client/HttpClientErrorException.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. @@ -29,6 +29,8 @@ */ public class HttpClient...
true
Other
spring-projects
spring-framework
2ff43726be693f32b7bf2a6d237ab65f8ce84ba6.json
Restore serializability of HttpStatusCodeException SPR-7591 introduced a java.nio.charset.Charset field within HttpStatusCodeException. The former is non-serializable, thus by extension the latter also became non-serializable. Because the Charset field is only used for outputting the charset name in HttpStatusCodeExc...
spring-web/src/main/java/org/springframework/web/client/HttpServerErrorException.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. @@ -29,6 +29,8 @@ */ public class HttpServer...
true
Other
spring-projects
spring-framework
2ff43726be693f32b7bf2a6d237ab65f8ce84ba6.json
Restore serializability of HttpStatusCodeException SPR-7591 introduced a java.nio.charset.Charset field within HttpStatusCodeException. The former is non-serializable, thus by extension the latter also became non-serializable. Because the Charset field is only used for outputting the charset name in HttpStatusCodeExc...
spring-web/src/main/java/org/springframework/web/client/HttpStatusCodeException.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. @@ -25,19 +25,22 @@ * Abstract base class for...
true
Other
spring-projects
spring-framework
2ff43726be693f32b7bf2a6d237ab65f8ce84ba6.json
Restore serializability of HttpStatusCodeException SPR-7591 introduced a java.nio.charset.Charset field within HttpStatusCodeException. The former is non-serializable, thus by extension the latter also became non-serializable. Because the Charset field is only used for outputting the charset name in HttpStatusCodeExc...
spring-web/src/test/java/org/springframework/web/client/HttpStatusCodeExceptionTests.java
@@ -0,0 +1,57 @@ +/* + * 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
9a856c09f322b8ae821ff5e6a86dc0b0aeaf618d.json
Clarify @EnableScheduling javadoc It is now advised that destroyMethod="shutdown" should be used on @Bean methods returning an ExecutorService. Issue: SPR-9280
spring-context/src/main/java/org/springframework/scheduling/annotation/EnableScheduling.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. @@ -105,12 +105,16 @@ * taskRegistrar...
false
Other
spring-projects
spring-framework
ab2949f2b7149db155cdee661a4ce1baf3362ef0.json
Fix ResolvableType hashCode generation Fix ResolvableType.hashCode() to use the source of the variable resolver, rather than the resolver itself.
spring-core/src/main/java/org/springframework/core/ResolvableType.java
@@ -690,7 +690,8 @@ public boolean equals(Object obj) { @Override public int hashCode() { int hashCode = ObjectUtils.nullSafeHashCode(this.type); - hashCode = hashCode * 31 + ObjectUtils.nullSafeHashCode(this.variableResolver); + hashCode = hashCode * 31 + ObjectUtils.nullSafeHashCode( + this.variableResolv...
false
Other
spring-projects
spring-framework
69238ba66f19279de7e1a0e2ddd69fbb9fd0de05.json
Move WebSocketExtension to top-level package
spring-websocket/src/main/java/org/springframework/web/socket/WebSocketExtension.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.web.socket.support; +package org.springframework.web.socket; import java.util.ArrayList; import java.util.Collections;
true
Other
spring-projects
spring-framework
69238ba66f19279de7e1a0e2ddd69fbb9fd0de05.json
Move WebSocketExtension to top-level package
spring-websocket/src/main/java/org/springframework/web/socket/WebSocketSession.java
@@ -24,7 +24,6 @@ import java.util.Map; import org.springframework.http.HttpHeaders; -import org.springframework.web.socket.support.WebSocketExtension; /** * A WebSocket session abstraction. Allows sending messages over a WebSocket connection
true
Other
spring-projects
spring-framework
69238ba66f19279de7e1a0e2ddd69fbb9fd0de05.json
Move WebSocketExtension to top-level package
spring-websocket/src/main/java/org/springframework/web/socket/adapter/JettyWebSocketSession.java
@@ -32,7 +32,7 @@ import org.springframework.web.socket.PingMessage; import org.springframework.web.socket.PongMessage; import org.springframework.web.socket.TextMessage; -import org.springframework.web.socket.support.WebSocketExtension; +import org.springframework.web.socket.WebSocketExtension; import org.springfr...
true
Other
spring-projects
spring-framework
69238ba66f19279de7e1a0e2ddd69fbb9fd0de05.json
Move WebSocketExtension to top-level package
spring-websocket/src/main/java/org/springframework/web/socket/adapter/StandardWebSocketSession.java
@@ -36,7 +36,7 @@ import org.springframework.web.socket.PongMessage; import org.springframework.web.socket.TextMessage; import org.springframework.web.socket.WebSocketSession; -import org.springframework.web.socket.support.WebSocketExtension; +import org.springframework.web.socket.WebSocketExtension; /** * A {@...
true
Other
spring-projects
spring-framework
69238ba66f19279de7e1a0e2ddd69fbb9fd0de05.json
Move WebSocketExtension to top-level package
spring-websocket/src/main/java/org/springframework/web/socket/client/AbstractWebSocketClient.java
@@ -30,7 +30,7 @@ import org.springframework.util.concurrent.ListenableFuture; import org.springframework.web.socket.WebSocketHandler; import org.springframework.web.socket.WebSocketSession; -import org.springframework.web.socket.support.WebSocketExtension; +import org.springframework.web.socket.WebSocketExtension; ...
true
Other
spring-projects
spring-framework
69238ba66f19279de7e1a0e2ddd69fbb9fd0de05.json
Move WebSocketExtension to top-level package
spring-websocket/src/main/java/org/springframework/web/socket/client/endpoint/StandardWebSocketClient.java
@@ -40,7 +40,7 @@ import org.springframework.web.socket.adapter.StandardWebSocketHandlerAdapter; import org.springframework.web.socket.adapter.StandardWebSocketSession; import org.springframework.web.socket.client.AbstractWebSocketClient; -import org.springframework.web.socket.support.WebSocketExtension; +import org...
true
Other
spring-projects
spring-framework
69238ba66f19279de7e1a0e2ddd69fbb9fd0de05.json
Move WebSocketExtension to top-level package
spring-websocket/src/main/java/org/springframework/web/socket/client/jetty/JettyWebSocketClient.java
@@ -38,7 +38,7 @@ import org.springframework.web.socket.adapter.JettyWebSocketHandlerAdapter; import org.springframework.web.socket.adapter.JettyWebSocketSession; import org.springframework.web.socket.client.AbstractWebSocketClient; -import org.springframework.web.socket.support.WebSocketExtension; +import org.sprin...
true
Other
spring-projects
spring-framework
69238ba66f19279de7e1a0e2ddd69fbb9fd0de05.json
Move WebSocketExtension to top-level package
spring-websocket/src/main/java/org/springframework/web/socket/server/RequestUpgradeStrategy.java
@@ -21,7 +21,7 @@ import org.springframework.http.server.ServerHttpRequest; import org.springframework.http.server.ServerHttpResponse; -import org.springframework.web.socket.support.WebSocketExtension; +import org.springframework.web.socket.WebSocketExtension; import org.springframework.web.socket.WebSocketHandler...
true