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
b364599278b4ef13348641d7cbb433d654bf4e5e.json
Update links to Spring JIRA server
spring-core/src/test/java/org/springframework/tests/TestGroup.java
@@ -64,7 +64,7 @@ public enum TestGroup { /** * Tests that require custom compilation beyond that of the standard JDK. This helps to * allow running tests that will otherwise fail when using JDK > 1.8 b88. See - * <a href="https://jira.springsource.org/browse/SPR-10558">SPR-10558</a> + * <a href="https://jir...
true
Other
spring-projects
spring-framework
b364599278b4ef13348641d7cbb433d654bf4e5e.json
Update links to Spring JIRA server
spring-test/src/test/java/org/springframework/test/context/ContextLoaderUtilsContextHierarchyTests.java
@@ -326,7 +326,7 @@ public void buildContextHierarchyMapForSingleTestClassWithMultiLevelContextHiera } /** - * Used to reproduce bug reported in https://jira.springsource.org/browse/SPR-10997 + * Used to reproduce bug reported in https://jira.spring.io/browse/SPR-10997 */ @Test public void buildContextHi...
true
Other
spring-projects
spring-framework
b364599278b4ef13348641d7cbb433d654bf4e5e.json
Update links to Spring JIRA server
spring-test/src/test/java/org/springframework/test/context/OverriddenMetaAnnotationAttributesTests.java
@@ -30,7 +30,7 @@ * Unit tests for {@link MetaAnnotationUtils} that verify support for overridden * meta-annotation attributes. * - * <p>See <a href="https://jira.springsource.org/browse/SPR-10181">SPR-10181</a>. + * <p>See <a href="https://jira.spring.io/browse/SPR-10181">SPR-10181</a>. * * @author Sam Brann...
true
Other
spring-projects
spring-framework
b364599278b4ef13348641d7cbb433d654bf4e5e.json
Update links to Spring JIRA server
spring-test/src/test/java/org/springframework/test/context/junit4/spr8849/Spr8849Tests.java
@@ -22,7 +22,7 @@ /** * Test suite to investigate claims raised in - * <a href="https://jira.springsource.org/browse/SPR-8849">SPR-8849</a>. + * <a href="https://jira.spring.io/browse/SPR-8849">SPR-8849</a>. * * <p>By using a SpEL expression to generate a random {@code id} for the * embedded database (see {@...
true
Other
spring-projects
spring-framework
b364599278b4ef13348641d7cbb433d654bf4e5e.json
Update links to Spring JIRA server
spring-test/src/test/java/org/springframework/test/context/junit4/spr9051/AbstractTransactionalAnnotatedConfigClassTests.java
@@ -40,7 +40,7 @@ /** * This set of tests (i.e., all concrete subclasses) investigates the claims made in - * <a href="https://jira.springsource.org/browse/SPR-9051" target="_blank">SPR-9051</a> + * <a href="https://jira.spring.io/browse/SPR-9051" target="_blank">SPR-9051</a> * with regard to transactional tests...
true
Other
spring-projects
spring-framework
b364599278b4ef13348641d7cbb433d654bf4e5e.json
Update links to Spring JIRA server
spring-test/src/test/java/org/springframework/test/context/junit4/spr9051/AnnotatedConfigClassesWithoutAtConfigurationTests.java
@@ -32,7 +32,7 @@ /** * This set of tests refutes the claims made in - * <a href="https://jira.springsource.org/browse/SPR-9051" target="_blank">SPR-9051</a>. + * <a href="https://jira.spring.io/browse/SPR-9051" target="_blank">SPR-9051</a>. * * <p><b>The Claims</b>: *
true
Other
spring-projects
spring-framework
b364599278b4ef13348641d7cbb433d654bf4e5e.json
Update links to Spring JIRA server
spring-test/src/test/java/org/springframework/test/context/junit4/spr9604/LookUpTxMgrViaTransactionManagementConfigurerTests.java
@@ -33,7 +33,7 @@ /** * Integration tests that verify the behavior requested in - * <a href="https://jira.springsource.org/browse/SPR-9604">SPR-9604</a>. + * <a href="https://jira.spring.io/browse/SPR-9604">SPR-9604</a>. * * @author Sam Brannen * @since 3.2
true
Other
spring-projects
spring-framework
b364599278b4ef13348641d7cbb433d654bf4e5e.json
Update links to Spring JIRA server
spring-test/src/test/java/org/springframework/test/context/junit4/spr9645/LookUpNonexistentTxMgrTests.java
@@ -29,7 +29,7 @@ /** * Integration tests that verify the behavior requested in - * <a href="https://jira.springsource.org/browse/SPR-9645">SPR-9645</a>. + * <a href="https://jira.spring.io/browse/SPR-9645">SPR-9645</a>. * * @author Sam Brannen * @since 3.2
true
Other
spring-projects
spring-framework
b364599278b4ef13348641d7cbb433d654bf4e5e.json
Update links to Spring JIRA server
spring-test/src/test/java/org/springframework/test/context/junit4/spr9645/LookUpTxMgrByTypeAndDefaultNameTests.java
@@ -32,7 +32,7 @@ /** * Integration tests that verify the behavior requested in - * <a href="https://jira.springsource.org/browse/SPR-9645">SPR-9645</a>. + * <a href="https://jira.spring.io/browse/SPR-9645">SPR-9645</a>. * * @author Sam Brannen * @since 3.2
true
Other
spring-projects
spring-framework
b364599278b4ef13348641d7cbb433d654bf4e5e.json
Update links to Spring JIRA server
spring-test/src/test/java/org/springframework/test/context/junit4/spr9645/LookUpTxMgrByTypeAndNameTests.java
@@ -33,7 +33,7 @@ /** * Integration tests that verify the behavior requested in - * <a href="https://jira.springsource.org/browse/SPR-9645">SPR-9645</a>. + * <a href="https://jira.spring.io/browse/SPR-9645">SPR-9645</a>. * * @author Sam Brannen * @since 3.2
true
Other
spring-projects
spring-framework
b364599278b4ef13348641d7cbb433d654bf4e5e.json
Update links to Spring JIRA server
spring-test/src/test/java/org/springframework/test/context/junit4/spr9645/LookUpTxMgrByTypeAndQualifierAtClassLevelTests.java
@@ -32,7 +32,7 @@ /** * Integration tests that verify the behavior requested in - * <a href="https://jira.springsource.org/browse/SPR-9645">SPR-9645</a>. + * <a href="https://jira.spring.io/browse/SPR-9645">SPR-9645</a>. * * @author Sam Brannen * @since 3.2
true
Other
spring-projects
spring-framework
b364599278b4ef13348641d7cbb433d654bf4e5e.json
Update links to Spring JIRA server
spring-test/src/test/java/org/springframework/test/context/junit4/spr9645/LookUpTxMgrByTypeAndQualifierAtMethodLevelTests.java
@@ -32,7 +32,7 @@ /** * Integration tests that verify the behavior requested in - * <a href="https://jira.springsource.org/browse/SPR-9645">SPR-9645</a>. + * <a href="https://jira.spring.io/browse/SPR-9645">SPR-9645</a>. * * @author Sam Brannen * @since 3.2
true
Other
spring-projects
spring-framework
b364599278b4ef13348641d7cbb433d654bf4e5e.json
Update links to Spring JIRA server
spring-test/src/test/java/org/springframework/test/context/junit4/spr9645/LookUpTxMgrByTypeTests.java
@@ -32,7 +32,7 @@ /** * Integration tests that verify the behavior requested in - * <a href="https://jira.springsource.org/browse/SPR-9645">SPR-9645</a>. + * <a href="https://jira.spring.io/browse/SPR-9645">SPR-9645</a>. * * @author Sam Brannen * @since 3.2
true
Other
spring-projects
spring-framework
b364599278b4ef13348641d7cbb433d654bf4e5e.json
Update links to Spring JIRA server
spring-test/src/test/java/org/springframework/test/context/junit4/spr9799/Spr9799AnnotationConfigTests.java
@@ -26,7 +26,7 @@ /** * Integration tests used to assess claims raised in - * <a href="https://jira.springsource.org/browse/SPR-9799" target="_blank">SPR-9799</a>. + * <a href="https://jira.spring.io/browse/SPR-9799" target="_blank">SPR-9799</a>. * * @author Sam Brannen * @since 3.2
true
Other
spring-projects
spring-framework
b364599278b4ef13348641d7cbb433d654bf4e5e.json
Update links to Spring JIRA server
spring-test/src/test/java/org/springframework/test/context/junit4/spr9799/Spr9799XmlConfigTests.java
@@ -23,7 +23,7 @@ /** * Integration tests used to assess claims raised in - * <a href="https://jira.springsource.org/browse/SPR-9799" target="_blank">SPR-9799</a>. + * <a href="https://jira.spring.io/browse/SPR-9799" target="_blank">SPR-9799</a>. * * @author Sam Brannen * @since 3.2
true
Other
spring-projects
spring-framework
b364599278b4ef13348641d7cbb433d654bf4e5e.json
Update links to Spring JIRA server
spring-test/src/test/java/org/springframework/test/jdbc/JdbcTestUtilsTests.java
@@ -119,7 +119,7 @@ public void readAndSplitScriptContainingComments() throws Exception { } /** - * See <a href="https://jira.springsource.org/browse/SPR-10330">SPR-10330</a> + * See <a href="https://jira.spring.io/browse/SPR-10330">SPR-10330</a> * @since 4.0 */ @Test
true
Other
spring-projects
spring-framework
b364599278b4ef13348641d7cbb433d654bf4e5e.json
Update links to Spring JIRA server
spring-test/src/test/java/org/springframework/test/util/ReflectionTestUtilsTests.java
@@ -112,7 +112,7 @@ public void test() throws Exception { } /** - * Verifies behavior requested in <a href="https://jira.springsource.org/browse/SPR-9571">SPR-9571</a>. + * Verifies behavior requested in <a href="https://jira.spring.io/browse/SPR-9571">SPR-9571</a>. */ @Test public void setFieldOnLegacyE...
true
Other
spring-projects
spring-framework
b364599278b4ef13348641d7cbb433d654bf4e5e.json
Update links to Spring JIRA server
src/asciidoc/index.adoc
@@ -10129,8 +10129,8 @@ Consider `DateFormatter` as an example `Formatter` implementation: } ---- -The Spring team welcomes community-driven Formatter contributions; see -http://jira.springframework.org[http://jira.springframework.org] to contribute. +The Spring team welcomes community-driven `Formatter` contribut...
true
Other
spring-projects
spring-framework
b364599278b4ef13348641d7cbb433d654bf4e5e.json
Update links to Spring JIRA server
src/dist/readme.txt
@@ -2,7 +2,7 @@ Spring Framework version ${version} ===================================================================================== To find out what has changed since earlier releases, see the 'Change Log' section at -https://jira.springsource.org/browse/SPR +https://jira.spring.io/browse/SPR Please consul...
true
Other
spring-projects
spring-framework
220267b830dbb56e456ee04ba860fe964c5df0d9.json
Update copyright date in reference manual
src/asciidoc/index-docinfo.xml
@@ -1,7 +1,7 @@ <productname>Spring Framework</productname> <releaseinfo>{revnumber}</releaseinfo> <copyright> - <year>2004-2013</year> + <year>2004-2014</year> </copyright> <legalnotice> <para>Copies of this document may be made for your own use and for distribution to
false
Other
spring-projects
spring-framework
542db72ffd356a2a7d491910852e8d82c93f8fe0.json
Add first draft of IDEA code formatting This commit provides a first attempt at defining a standard code formatting scheme for the Spring Framework in Intellij IDEA. These are the major changes compared to standard settings: * default indent option to use tab character instead of space for all languages * one spac...
src/idea/spring-framework.xml
@@ -0,0 +1,264 @@ +<?xml version="1.0" encoding="UTF-8"?> +<code_scheme name="spring-framework"> + <option name="OTHER_INDENT_OPTIONS"> + <value> + <option name="INDENT_SIZE" value="4"/> + <option name="CONTINUATION_INDENT_SIZE" value="8"/> + <option name="TAB_SIZE" value="4"/> + <option name="USE_TAB_CHARACTE...
false
Other
spring-projects
spring-framework
1d57a15e40d0e9aef3b5421dceb3209f1710b754.json
Delete unused imports in spring-test
spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/AsyncTests.java
@@ -17,7 +17,6 @@ import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.asyncDispatch; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; -import static org.springframework.test.web.servlet.result.MockMvcResultHandlers.print; import static org.springf...
false
Other
spring-projects
spring-framework
1ade9b54331d199534b729d10340bab211b3272c.json
Polish various test classes
spring-core/src/test/java/org/springframework/core/AbstractGenericsTests.java
@@ -1,51 +0,0 @@ -/* - * Copyright 2002-2006 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
1ade9b54331d199534b729d10340bab211b3272c.json
Polish various test classes
spring-core/src/test/java/org/springframework/core/AttributeAccessorSupportTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2014 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,57 +16,58 @@ package org.springframew...
true
Other
spring-projects
spring-framework
1ade9b54331d199534b729d10340bab211b3272c.json
Polish various test classes
spring-core/src/test/java/org/springframework/core/BridgeMethodResolverTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 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. @@ -394,28 +394,28 @@ public void someMethod(In...
true
Other
spring-projects
spring-framework
1ade9b54331d199534b729d10340bab211b3272c.json
Polish various test classes
spring-core/src/test/java/org/springframework/core/ControlFlowTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2014 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,71 +16,57 @@ package org.springframew...
true
Other
spring-projects
spring-framework
1ade9b54331d199534b729d10340bab211b3272c.json
Polish various test classes
spring-core/src/test/java/org/springframework/core/DefaultControlFlowTests.java
@@ -1,38 +0,0 @@ -/* - * 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
1ade9b54331d199534b729d10340bab211b3272c.json
Polish various test classes
spring-core/src/test/java/org/springframework/core/GenericCollectionTypeResolverTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 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,103 +25,141 @@ import java.util.Map; i...
true
Other
spring-projects
spring-framework
1ade9b54331d199534b729d10340bab211b3272c.json
Polish various test classes
spring-core/src/test/java/org/springframework/core/Jdk14ControlFlowTests.java
@@ -1,38 +0,0 @@ -/* - * 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
519799e1cf414615ef0a7a26d5dde0478a47b96d.json
Fix double SPeL evaluation of parameter When a node of an SPeL expression was a call to a bean referenced in a method argument, the expression was resolved twice. The resolved arguments are now specified to MethodValueRef instead of resolving the arguments again in the constructor Issue: SPR-11445
spring-expression/src/main/java/org/springframework/expression/spel/ast/MethodReference.java
@@ -68,7 +68,7 @@ protected ValueRef getValueRef(ExpressionState state) throws EvaluationException throwIfNotNullSafe(getArgumentTypes(arguments)); return ValueRef.NullValueRef.instance; } - return new MethodValueRef(state); + return new MethodValueRef(state, arguments); } @Override @@ -246,11 +246,1...
true
Other
spring-projects
spring-framework
519799e1cf414615ef0a7a26d5dde0478a47b96d.json
Fix double SPeL evaluation of parameter When a node of an SPeL expression was a call to a bean referenced in a method argument, the expression was resolved twice. The resolved arguments are now specified to MethodValueRef instead of resolving the arguments again in the constructor Issue: SPR-11445
spring-expression/src/test/java/org/springframework/expression/spel/SpelReproTests.java
@@ -29,6 +29,7 @@ import java.util.List; import java.util.Map; import java.util.Properties; +import java.util.concurrent.atomic.AtomicInteger; import org.junit.Rule; import org.junit.Test; @@ -1825,6 +1826,39 @@ public void SPR11348() { assertEquals("two", list.get(1)); } + @Test + public void SPR11445_si...
true
Other
spring-projects
spring-framework
cb59d43a5fea8e541f30bb40b39e2c01ec8fcbc7.json
Fix typos in Javadoc in AssertThrows
spring-test/src/main/java/org/springframework/test/AssertThrows.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2014 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. @@ -57,7 +57,7 @@ * test will also fail, this...
false
Other
spring-projects
spring-framework
49d7bda72248b5a08fda3d42ed10d9e127396e6a.json
Improve CORS handling in AbstractSockJsService After this change, AbstractSockJsService does not add CORS headers if the response already contains an "Access-Control-Allow-Origin" header. Essentially it backs off assuming CORS headers are handled centrally e.g. through a Filter. In order to support this, the ServletS...
spring-web/src/main/java/org/springframework/http/HttpHeaders.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 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. @@ -158,8 +158,8 @@ public List<MediaType> get...
true
Other
spring-projects
spring-framework
49d7bda72248b5a08fda3d42ed10d9e127396e6a.json
Improve CORS handling in AbstractSockJsService After this change, AbstractSockJsService does not add CORS headers if the response already contains an "Access-Control-Allow-Origin" header. Essentially it backs off assuming CORS headers are handled centrally e.g. through a Filter. In order to support this, the ServletS...
spring-web/src/main/java/org/springframework/http/server/ServletServerHttpResponse.java
@@ -18,6 +18,8 @@ import java.io.IOException; import java.io.OutputStream; +import java.util.ArrayList; +import java.util.Collection; import java.util.List; import java.util.Map; @@ -26,18 +28,25 @@ import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springfram...
true
Other
spring-projects
spring-framework
49d7bda72248b5a08fda3d42ed10d9e127396e6a.json
Improve CORS handling in AbstractSockJsService After this change, AbstractSockJsService does not add CORS headers if the response already contains an "Access-Control-Allow-Origin" header. Essentially it backs off assuming CORS headers are handled centrally e.g. through a Filter. In order to support this, the ServletS...
spring-web/src/test/java/org/springframework/http/server/ServletServerHttpResponseTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2014 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,7 @@ package org.springframework....
true
Other
spring-projects
spring-framework
49d7bda72248b5a08fda3d42ed10d9e127396e6a.json
Improve CORS handling in AbstractSockJsService After this change, AbstractSockJsService does not add CORS headers if the response already contains an "Access-Control-Allow-Origin" header. Essentially it backs off assuming CORS headers are handled centrally e.g. through a Filter. In order to support this, the ServletS...
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/support/AbstractSockJsService.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 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. @@ -28,6 +28,7 @@ import org.apache.commons.lo...
true
Other
spring-projects
spring-framework
49d7bda72248b5a08fda3d42ed10d9e127396e6a.json
Improve CORS handling in AbstractSockJsService After this change, AbstractSockJsService does not add CORS headers if the response already contains an "Access-Control-Allow-Origin" header. Essentially it backs off assuming CORS headers are handled centrally e.g. through a Filter. In order to support this, the ServletS...
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/support/SockJsServiceTests.java
@@ -54,25 +54,25 @@ public void setUp() { public void validateRequest() throws Exception { this.service.setWebSocketEnabled(false); - handleRequest("GET", "/echo/server/session/websocket", HttpStatus.NOT_FOUND); + resetResponseAndHandleRequest("GET", "/echo/server/session/websocket", HttpStatus.NOT_FOUND); ...
true
Other
spring-projects
spring-framework
34924810fe13911a56ab5961110155b4cc875ba0.json
Remove field no longer used after previous commit Issue: SPR-11516
spring-test/src/main/java/org/springframework/test/web/servlet/DefaultMvcResult.java
@@ -15,7 +15,6 @@ */ package org.springframework.test.web.servlet; -import java.util.concurrent.CountDownLatch; import java.util.concurrent.atomic.AtomicReference; import org.springframework.mock.web.MockHttpServletRequest; @@ -52,8 +51,6 @@ class DefaultMvcResult implements MvcResult { private final Atomi...
true
Other
spring-projects
spring-framework
34924810fe13911a56ab5961110155b4cc875ba0.json
Remove field no longer used after previous commit Issue: SPR-11516
spring-test/src/test/java/org/springframework/test/web/servlet/DefaultMvcResultTests.java
@@ -15,17 +15,11 @@ */ package org.springframework.test.web.servlet; -import java.util.concurrent.CountDownLatch; -import java.util.concurrent.TimeUnit; - -import javax.servlet.AsyncContext; - import org.junit.Before; import org.junit.Test; import org.springframework.mock.web.MockHttpServletRequest; import s...
true
Other
spring-projects
spring-framework
45406aa19b5445bd923809b9f782a0dd6490526a.json
Add tests for TransactionAwareCacheDecorator This commit adds tests for TransactionAwareCacheDecorator. In particular, the put/evict behaviour when the operation is invoked in the course of Spring-managed transaction.
spring-context-support/src/test/java/org/springframework/cache/transaction/TransactionAwareCacheDecoratorTests.java
@@ -0,0 +1,121 @@ +/* + * Copyright 2002-2014 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 +...
false
Other
spring-projects
spring-framework
b42f258c54c84fe268002394ce37d8a2b8aed83d.json
Use unmodifiable set in AbstractSockJsSession
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/session/AbstractSockJsSession.java
@@ -21,7 +21,7 @@ import java.util.Arrays; import java.util.Collections; import java.util.Date; -import java.util.HashMap; +import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; @@ -43,9 +43,10 @@ import org.springframework.web.socket.sockjs.transport.SockJsSession; /** ...
false
Other
spring-projects
spring-framework
705efc5bdf7971cde7a1de1b05b437cea557eee9.json
Fix timing issue with obtaining async result Issue: SPR-11516
spring-test/src/main/java/org/springframework/test/web/servlet/DefaultMvcResult.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2014 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. @@ -36,6 +36,9 @@ */ class DefaultMvcResult ...
true
Other
spring-projects
spring-framework
705efc5bdf7971cde7a1de1b05b437cea557eee9.json
Fix timing issue with obtaining async result Issue: SPR-11516
spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/AsyncTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2014 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. @@ -89,6 +89,20 @@ public void testDeferredResu...
true
Other
spring-projects
spring-framework
6d8f3a0a20fe3f0f75dc98eccd7080248238f567.json
Fix SimpleKey equality with array argument Prior to this commit, an array argument was not handled properly in SimpleKey#equals and SimpleKey#hashCode. As a result, two method invocations with the same array argument lead to two different keys and therefore two different entries in the cache. This commit uses deepEqu...
spring-context/src/main/java/org/springframework/cache/interceptor/SimpleKey.java
@@ -50,12 +50,13 @@ public SimpleKey(Object... elements) { @Override public boolean equals(Object obj) { - return (this == obj || (obj instanceof SimpleKey && Arrays.equals(this.params, ((SimpleKey) obj).params))); + return (this == obj || (obj instanceof SimpleKey + && Arrays.deepEquals(this.params, ((Simpl...
true
Other
spring-projects
spring-framework
6d8f3a0a20fe3f0f75dc98eccd7080248238f567.json
Fix SimpleKey equality with array argument Prior to this commit, an array argument was not handled properly in SimpleKey#equals and SimpleKey#hashCode. As a result, two method invocations with the same array argument lead to two different keys and therefore two different entries in the cache. This commit uses deepEqu...
spring-context/src/test/java/org/springframework/cache/interceptor/SimpleKeyGeneratorTests.java
@@ -25,27 +25,28 @@ * Tests for {@link SimpleKeyGenerator} and {@link SimpleKey}. * * @author Phillip Webb + * @author Stephane Nicoll */ public class SimpleKeyGeneratorTests { private SimpleKeyGenerator generator = new SimpleKeyGenerator(); @Test - public void noValues() throws Exception { - Object k...
true
Other
spring-projects
spring-framework
53017da0c369041f5a6c8de64c370f07840341c1.json
Update reference documentation for SPR-11486 Issue: SPR-11486
src/asciidoc/index.adoc
@@ -32253,7 +32253,60 @@ Spring JSP tags: <script src="${resourceUrl}/dojo/dojo.js" type="text/javascript"> </script> ---- +[[mvc-config-path-matching]] +==== Configuring Path Matching +This is a shortcut for configuring `RequestMappingHandlerMapping` path matching properties, without +having to <<mvc-config-advan...
false
Other
spring-projects
spring-framework
035d9d5af091b9472d82cd831f6a8bfc917dd5ec.json
Clarify exception handling in converter Issue: SPR-11500
src/asciidoc/index.adoc
@@ -9760,9 +9760,9 @@ The SPI to implement type conversion logic is simple and strongly typed: To create your own Converter, simply implement the interface above. Parameterize S as the type you are converting from, and T as the type you are converting to. For each call to convert(S), the source argument is guarantee...
false
Other
spring-projects
spring-framework
42382996612825c96c745a593716f31446075a5c.json
Add smart logging for disconnected SockJS clients The Servlet API does not provide notifications when a client disconnects, see see https://java.net/jira/browse/SERVLET_SPEC-44. Therefore network IO failures may occur simply because a client has gone away. Before this change that could fill logs with unnecessary stack...
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/session/AbstractSockJsSession.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 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,14 +19,18 @@ import java.io.IOException...
true
Other
spring-projects
spring-framework
42382996612825c96c745a593716f31446075a5c.json
Add smart logging for disconnected SockJS clients The Servlet API does not provide notifications when a client disconnects, see see https://java.net/jira/browse/SERVLET_SPEC-44. Therefore network IO failures may occur simply because a client has gone away. Before this change that could fill logs with unnecessary stack...
src/asciidoc/index.adoc
@@ -37199,13 +37199,19 @@ relies on Servlet 3 async support. [WARNING] ==== -Servlet 3 async support does not expose a notification when a client disconnects, -e.g. a browser tab is closed, page is refreshed, etc -(see https://java.net/jira/browse/SERVLET_SPEC-44[SERVLET_SPEC-44]). However, the -Serlvet container w...
true
Other
spring-projects
spring-framework
5d4ed4efe5598aa966b658bfbface0419d1f676c.json
Fix DocBook to AsciiDoc conversion errors - "__ `text`__" --> "__`text`__" - "`text` s" --> "`text`s"
src/asciidoc/index.adoc
@@ -4307,7 +4307,7 @@ dependency type: | `BootstrapContextAware` | Resource adapter `BootstrapContext` the container runs in. Typically available only in - JCA aware `ApplicationContext` s + JCA aware `ApplicationContext`s | <<cci>> | `LoadTimeWeaverAware` @@ -4459,7 +4459,7 @@ after the Spring container fini...
false
Other
spring-projects
spring-framework
74969a47945aadf171d78b29c04046544c5c0e69.json
Update ref. manual to favor constructor injection The breakout box named "Constructor-based or setter-based DI?" in the reference manual currently recommends the use of setter injection. This commit refines this text to align with current best practices and now favors constructor injection over setter injection. Iss...
src/asciidoc/index.adoc
@@ -1925,36 +1925,42 @@ on container specific interfaces, base classes or annotations. } ---- -The `ApplicationContext` supports constructor- and setter-based DI for the beans it -manages. It also supports setter-based DI after some dependencies are already injected -through the constructor approach. You configure...
false
Other
spring-projects
spring-framework
c553d681f14bb19fac3bc25d8ecec83ae7347071.json
Add Servlet 3.1 methods to mock request Issue: SPR-11492
spring-test/src/main/java/org/springframework/mock/web/MockHttpServletRequest.java
@@ -348,6 +348,10 @@ public int getContentLength() { return (this.content != null ? this.content.length : -1); } + public long getContentLengthLong() { + return getContentLength(); + } + public void setContentType(String contentType) { this.contentType = contentType; if (contentType != null) { @@ -999,6...
true
Other
spring-projects
spring-framework
c553d681f14bb19fac3bc25d8ecec83ae7347071.json
Add Servlet 3.1 methods to mock request Issue: SPR-11492
spring-test/src/main/java/org/springframework/mock/web/MockHttpSession.java
@@ -53,7 +53,7 @@ public class MockHttpSession implements HttpSession { private static int nextId = 1; - private final String id; + private String id; private final long creationTime = System.currentTimeMillis(); @@ -110,6 +110,16 @@ public String getId() { return this.id; } + /** + * As of Servlet ...
true
Other
spring-projects
spring-framework
c553d681f14bb19fac3bc25d8ecec83ae7347071.json
Add Servlet 3.1 methods to mock request Issue: SPR-11492
spring-web/src/test/java/org/springframework/mock/web/test/MockHttpServletRequest.java
@@ -351,6 +351,10 @@ public int getContentLength() { return (this.content != null ? this.content.length : -1); } + public long getContentLengthLong() { + return getContentLength(); + } + public void setContentType(String contentType) { this.contentType = contentType; if (contentType != null) { @@ -1001,...
true
Other
spring-projects
spring-framework
c553d681f14bb19fac3bc25d8ecec83ae7347071.json
Add Servlet 3.1 methods to mock request Issue: SPR-11492
spring-web/src/test/java/org/springframework/mock/web/test/MockHttpSession.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 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. @@ -54,7 +54,7 @@ public class MockHttpSession ...
true
Other
spring-projects
spring-framework
035bac025a2e8062a1894ae9651930e528511e27.json
Use unique names when auto-registering Filters AbstractDispatcherServletInitializer now adds a unique suffix to a filter name if it fails to register it. Issue: SPR-11493
spring-webmvc/src/main/java/org/springframework/web/servlet/support/AbstractDispatcherServletInitializer.java
@@ -30,6 +30,7 @@ import org.springframework.util.ObjectUtils; import org.springframework.web.context.AbstractContextLoaderInitializer; import org.springframework.web.context.WebApplicationContext; +import org.springframework.web.filter.DelegatingFilterProxy; import org.springframework.web.servlet.DispatcherServlet...
true
Other
spring-projects
spring-framework
035bac025a2e8062a1894ae9651930e528511e27.json
Use unique names when auto-registering Filters AbstractDispatcherServletInitializer now adds a unique suffix to a filter name if it fails to register it. Issue: SPR-11493
spring-webmvc/src/test/java/org/springframework/web/servlet/support/AnnotationConfigDispatcherServletInitializerTests.java
@@ -39,6 +39,7 @@ import org.springframework.mock.web.test.MockServletContext; import org.springframework.web.context.WebApplicationContext; import org.springframework.web.context.support.AnnotationConfigWebApplicationContext; +import org.springframework.web.filter.DelegatingFilterProxy; import org.springframework....
true
Other
spring-projects
spring-framework
1aa77ef81733a5c5573361ec396751c6fc1d8310.json
Add a missing `@throws` in Javadoc Closes gh-873
spring-beans/src/main/java/org/springframework/beans/factory/BeanFactory.java
@@ -162,6 +162,7 @@ public interface BeanFactory { * @return an instance of the single bean matching the required type * @throws NoSuchBeanDefinitionException if no bean of the given type was found * @throws NoUniqueBeanDefinitionException if more than one bean of the given type was found + * @throws BeansExc...
false
Other
spring-projects
spring-framework
ca1ec24aa9a8236f52781122648bb9aaa095ae55.json
Define the group to use for the dependency
spring-web-reactive/gradle.properties
@@ -1 +1,2 @@ version=0.1.0.BUILD-SNAPSHOT +group=org.springframework.reactive
false
Other
spring-projects
spring-framework
3f6301648ee78c3eadba501b079f01d1ddd9c14c.json
Update version to 0.1.0.BUILD-SNAPSHOT
spring-web-reactive/gradle.properties
@@ -1 +1 @@ -version=1.0.0.BUILD-SNAPSHOT +version=0.1.0.BUILD-SNAPSHOT
false
Other
spring-projects
spring-framework
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/build.gradle
@@ -24,6 +24,7 @@ dependencies { compile "org.reactivestreams:reactive-streams:1.0.0" compile "io.projectreactor:reactor-stream:2.0.5.RELEASE" compile "commons-logging:commons-logging:1.2" + compile "com.fasterxml.jackson.core:jackson-databind:2.6.1" optional "io.reactivex:rxnetty:0.5.0-SNAPSHOT" optional "...
true
Other
spring-projects
spring-framework
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/main/java/org/springframework/reactive/codec/CodecException.java
@@ -0,0 +1,36 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/main/java/org/springframework/reactive/codec/decoder/ByteToMessageDecoder.java
@@ -0,0 +1,56 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/main/java/org/springframework/reactive/codec/decoder/JacksonJsonDecoder.java
@@ -0,0 +1,70 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/main/java/org/springframework/reactive/codec/decoder/Jaxb2Decoder.java
@@ -0,0 +1,132 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/main/java/org/springframework/reactive/codec/decoder/JsonObjectDecoder.java
@@ -0,0 +1,263 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/main/java/org/springframework/reactive/codec/decoder/StringDecoder.java
@@ -0,0 +1,54 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/main/java/org/springframework/reactive/codec/encoder/JacksonJsonEncoder.java
@@ -0,0 +1,76 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/main/java/org/springframework/reactive/codec/encoder/Jaxb2Encoder.java
@@ -0,0 +1,108 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/main/java/org/springframework/reactive/codec/encoder/JsonObjectEncoder.java
@@ -0,0 +1,61 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/main/java/org/springframework/reactive/codec/encoder/MessageToByteEncoder.java
@@ -0,0 +1,58 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/main/java/org/springframework/reactive/codec/encoder/StringEncoder.java
@@ -0,0 +1,53 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/main/java/org/springframework/reactive/codec/support/HintUtils.java
@@ -0,0 +1,54 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/main/java/org/springframework/reactive/io/BufferOutputStream.java
@@ -0,0 +1,48 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/main/java/org/springframework/reactive/io/ByteBufferInputStream.java
@@ -0,0 +1,48 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/main/java/org/springframework/reactive/web/dispatch/method/annotation/RequestBodyArgumentResolver.java
@@ -0,0 +1,134 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/main/java/org/springframework/reactive/web/dispatch/method/annotation/RequestMappingHandlerAdapter.java
@@ -16,12 +16,16 @@ package org.springframework.reactive.web.dispatch.method.annotation; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.reactivestreams.Publisher; import reactor.rx.Streams; import org.springframework.beans.factory.InitializingBean; +import org.spring...
true
Other
spring-projects
spring-framework
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/main/java/org/springframework/reactive/web/dispatch/method/annotation/ResponseBodyResultHandler.java
@@ -16,16 +16,25 @@ package org.springframework.reactive.web.dispatch.method.annotation; import java.lang.reflect.Method; +import java.nio.ByteBuffer; import java.nio.charset.Charset; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; import org.reactivestreams.Publisher; +impor...
true
Other
spring-projects
spring-framework
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/test/java/org/springframework/reactive/codec/decoder/JacksonJsonDecoderTests.java
@@ -0,0 +1,56 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/test/java/org/springframework/reactive/codec/decoder/Jaxb2DecoderTests.java
@@ -0,0 +1,57 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/test/java/org/springframework/reactive/codec/decoder/JsonObjectDecoderTests.java
@@ -0,0 +1,62 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/test/java/org/springframework/reactive/codec/decoder/StringDecoderTests.java
@@ -0,0 +1,57 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/test/java/org/springframework/reactive/codec/encoder/JacksonJsonEncoderTests.java
@@ -0,0 +1,58 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/test/java/org/springframework/reactive/codec/encoder/Jaxb2EncoderTests.java
@@ -0,0 +1,60 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/test/java/org/springframework/reactive/codec/encoder/JsonObjectEncoderTests.java
@@ -0,0 +1,47 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/test/java/org/springframework/reactive/codec/encoder/StringEncoderTests.java
@@ -0,0 +1,55 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/test/java/org/springframework/reactive/converter/Pojo.java
@@ -0,0 +1,55 @@ +/* + * Copyright 2002-2015 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
881db0688b5448768e1b3196fe5365a3d41d9342.json
Add Codec support This commit adds support for Publisher based codecs that allows to convert byte stream to object stream and vice & versa. Jackson, JAXB2 and String codec implementations are provided.
spring-web-reactive/src/test/java/org/springframework/reactive/web/dispatch/method/annotation/RequestMappingIntegrationTests.java
@@ -17,41 +17,48 @@ import java.net.URI; -import java.nio.charset.Charset; +import java.util.Arrays; +import java.util.List; +import static org.junit.Assert.assertEquals; import org.junit.Test; import org.reactivestreams.Publisher; +import reactor.rx.Stream; import reactor.rx.Streams; +import rx.Observable; ...
true
Other
spring-projects
spring-framework
acc8c895bfc4bc2a16f515f811e3b1ca787bb58a.json
Make AnnotationUtils Java 6 source compatible
spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java
@@ -1514,7 +1514,7 @@ static List<String> getAttributeAliasNames(Method attribute) { Assert.notNull(attribute, "attribute must not be null"); AliasDescriptor descriptor = AliasDescriptor.from(attribute); - return (descriptor == null ? Collections.emptyList() : descriptor.getAttributeAliasNames()); + return (d...
false
Other
spring-projects
spring-framework
d899efd6722bb596d7b685a16dc891452ce908f6.json
Fix typo in reference manual
src/asciidoc/testing.adoc
@@ -1422,7 +1422,7 @@ be replaced with the following. @ContextConfiguration @TestExecutionListeners( listeners = MyCustomTestExecutionListener.class, - mergeMode = MERGE_WITH_DEFAULTS, + mergeMode = MERGE_WITH_DEFAULTS ) public class MyTest { // class body...
false
Other
spring-projects
spring-framework
da369aa8266c96d2fea635e39d5b5145b9e3d2ec.json
Add null check after message conversion AbstractMessageSendingTemplate now checks if MessageConverter.toMessage returns null and raises an exception. Issue: SPR-11370
spring-messaging/src/main/java/org/springframework/messaging/converter/CompositeMessageConverter.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 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. @@ -106,4 +106,9 @@ public Message<?> toMessa...
true
Other
spring-projects
spring-framework
da369aa8266c96d2fea635e39d5b5145b9e3d2ec.json
Add null check after message conversion AbstractMessageSendingTemplate now checks if MessageConverter.toMessage returns null and raises an exception. Issue: SPR-11370
spring-messaging/src/main/java/org/springframework/messaging/converter/DefaultContentTypeResolver.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 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. @@ -56,4 +56,8 @@ public MimeType resolve(Messa...
true
Other
spring-projects
spring-framework
da369aa8266c96d2fea635e39d5b5145b9e3d2ec.json
Add null check after message conversion AbstractMessageSendingTemplate now checks if MessageConverter.toMessage returns null and raises an exception. Issue: SPR-11370
spring-messaging/src/main/java/org/springframework/messaging/core/AbstractMessageSendingTemplate.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 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,6 +23,7 @@ import org.springframework.m...
true
Other
spring-projects
spring-framework
da369aa8266c96d2fea635e39d5b5145b9e3d2ec.json
Add null check after message conversion AbstractMessageSendingTemplate now checks if MessageConverter.toMessage returns null and raises an exception. Issue: SPR-11370
spring-messaging/src/main/java/org/springframework/messaging/core/AbstractMessagingTemplate.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 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,6 +20,7 @@ import org.springframework...
true
Other
spring-projects
spring-framework
da369aa8266c96d2fea635e39d5b5145b9e3d2ec.json
Add null check after message conversion AbstractMessageSendingTemplate now checks if MessageConverter.toMessage returns null and raises an exception. Issue: SPR-11370
spring-messaging/src/test/java/org/springframework/messaging/core/MessageSendingTemplateTests.java
@@ -16,14 +16,20 @@ package org.springframework.messaging.core; +import java.util.Arrays; import java.util.Collections; +import java.util.HashMap; import java.util.Map; import org.junit.Before; import org.junit.Test; import org.springframework.messaging.Message; +import org.springframework.messaging.Messa...
true
Other
spring-projects
spring-framework
eab69dbeec35f22f3a1ea10e6ffaddc90a243ec3.json
Upgrade XStream to 1.4.6
build.gradle
@@ -20,7 +20,7 @@ configure(allprojects) { project -> ext.jettyVersion = "9.1.0.v20131115" ext.junitVersion = "4.11" ext.slf4jVersion = "1.6.1" - ext.xstreamVersion = "1.4.4" + ext.xstreamVersion = "1.4.6" ext.gradleScriptDir = "${rootProject.projectDir}/gradle" apply plugin: "propdep...
false
Other
spring-projects
spring-framework
d404473bc5fdf8d8005e5a0e1b600a2f3cf8fa38.json
Introduce xstreamVersion constant in Gradle build
build.gradle
@@ -20,6 +20,7 @@ configure(allprojects) { project -> ext.jettyVersion = "9.1.0.v20131115" ext.junitVersion = "4.11" ext.slf4jVersion = "1.6.1" + ext.xstreamVersion = "1.4.4" ext.gradleScriptDir = "${rootProject.projectDir}/gradle" apply plugin: "propdeps" @@ -389,7 +390,7 @@ project("sp...
false
Other
spring-projects
spring-framework
defc1d31574ea6b3faa5ed84c4aa23c808b0c7cf.json
Drop Introspector.flushFromCaches calls completely According to the JDK's documentation and changelog, the Introspector itself safely handles weak references as of JDK 6 update 21 (which is what we require for Spring 4.0). Issue: SPR-11356
spring-beans/src/main/java/org/springframework/beans/CachedIntrospectionResults.java
@@ -289,20 +289,6 @@ private CachedIntrospectionResults(Class<?> beanClass) throws BeansException { } this.beanInfo = beanInfo; - // Only bother with flushFromCaches if the Introspector actually cached... - if (!shouldIntrospectorIgnoreBeaninfoClasses) { - // Immediately remove class from Introspector ...
false
Other
spring-projects
spring-framework
8faf01f56db7697198842f9481e1f7d4814e365d.json
Fix "coercion" spelling mistakes in Javadoc
spring-context/src/main/java/org/springframework/format/AnnotationFormatterFactory.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2014 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,7 +37,7 @@ /** * Get the Printer ...
true
Other
spring-projects
spring-framework
8faf01f56db7697198842f9481e1f7d4814e365d.json
Fix "coercion" spelling mistakes in Javadoc
spring-context/src/main/java/org/springframework/format/FormatterRegistry.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2014 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. @@ -41,9 +41,9 @@ public interface FormatterReg...
true