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
e82df99a22b7f511fc8e2c92a8a206e06d16bd62.json
Add SockJS client This change adds a new implementation of WebSocketClient that can connect to a SockJS server using one of the SockJS transports "websocket", "xhr_streaming", or "xhr". From a client perspective there is no implementation difference between "xhr_streaming" and "xhr". Just keep receiving and when the r...
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/XhrTransport.java
@@ -0,0 +1,40 @@ +package org.springframework.web.socket.sockjs.client; + +import org.springframework.http.HttpHeaders; +import org.springframework.http.ResponseEntity; +import org.springframework.web.socket.CloseStatus; +import org.springframework.web.socket.TextMessage; + +import java.net.URI; + +/** + * A SockJS {@l...
true
Other
spring-projects
spring-framework
e82df99a22b7f511fc8e2c92a8a206e06d16bd62.json
Add SockJS client This change adds a new implementation of WebSocketClient that can connect to a SockJS server using one of the SockJS transports "websocket", "xhr_streaming", or "xhr". From a client perspective there is no implementation difference between "xhr_streaming" and "xhr". Just keep receiving and when the r...
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/package-info.java
@@ -0,0 +1,22 @@ +/* + * 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 + * + *...
true
Other
spring-projects
spring-framework
e82df99a22b7f511fc8e2c92a8a206e06d16bd62.json
Add SockJS client This change adds a new implementation of WebSocketClient that can connect to a SockJS server using one of the SockJS transports "websocket", "xhr_streaming", or "xhr". From a client perspective there is no implementation difference between "xhr_streaming" and "xhr". Just keep receiving and when the r...
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/frame/SockJsFrame.java
@@ -145,7 +145,7 @@ public boolean equals(Object other) { if (!(other instanceof SockJsFrame)) { return false; } - return this.content.equals(((SockJsFrame) other).content); + return (this.type.equals(((SockJsFrame) other).type) && this.content.equals(((SockJsFrame) other).content)); } @Override
true
Other
spring-projects
spring-framework
e82df99a22b7f511fc8e2c92a8a206e06d16bd62.json
Add SockJS client This change adds a new implementation of WebSocketClient that can connect to a SockJS server using one of the SockJS transports "websocket", "xhr_streaming", or "xhr". From a client perspective there is no implementation difference between "xhr_streaming" and "xhr". Just keep receiving and when the r...
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/TransportHandlingSockJsService.java
@@ -238,7 +238,7 @@ else if (transportType.supportsCors()) { } else { response.setStatusCode(HttpStatus.NOT_FOUND); - logger.warn("Session not found"); + logger.warn("Session not found, sessionId=" + sessionId); return; } }
true
Other
spring-projects
spring-framework
e82df99a22b7f511fc8e2c92a8a206e06d16bd62.json
Add SockJS client This change adds a new implementation of WebSocketClient that can connect to a SockJS server using one of the SockJS transports "websocket", "xhr_streaming", or "xhr". From a client perspective there is no implementation difference between "xhr_streaming" and "xhr". Just keep receiving and when the r...
spring-websocket/src/test/java/org/springframework/web/socket/JettyWebSocketTestServer.java
@@ -78,6 +78,7 @@ public void start() throws Exception { @Override public void stop() throws Exception { if (this.jettyServer.isRunning()) { + this.jettyServer.setStopTimeout(0); this.jettyServer.stop(); } }
true
Other
spring-projects
spring-framework
e82df99a22b7f511fc8e2c92a8a206e06d16bd62.json
Add SockJS client This change adds a new implementation of WebSocketClient that can connect to a SockJS server using one of the SockJS transports "websocket", "xhr_streaming", or "xhr". From a client perspective there is no implementation difference between "xhr_streaming" and "xhr". Just keep receiving and when the r...
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/AbstractSockJsIntegrationTests.java
@@ -0,0 +1,394 @@ +/* + * 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 + * + ...
true
Other
spring-projects
spring-framework
e82df99a22b7f511fc8e2c92a8a206e06d16bd62.json
Add SockJS client This change adds a new implementation of WebSocketClient that can connect to a SockJS server using one of the SockJS transports "websocket", "xhr_streaming", or "xhr". From a client perspective there is no implementation difference between "xhr_streaming" and "xhr". Just keep receiving and when the r...
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/ClientSockJsSessionTests.java
@@ -0,0 +1,280 @@ +/* + * 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 + * + ...
true
Other
spring-projects
spring-framework
e82df99a22b7f511fc8e2c92a8a206e06d16bd62.json
Add SockJS client This change adds a new implementation of WebSocketClient that can connect to a SockJS server using one of the SockJS transports "websocket", "xhr_streaming", or "xhr". From a client perspective there is no implementation difference between "xhr_streaming" and "xhr". Just keep receiving and when the r...
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/DefaultTransportRequestTests.java
@@ -0,0 +1,139 @@ +/* + * 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 + * + ...
true
Other
spring-projects
spring-framework
e82df99a22b7f511fc8e2c92a8a206e06d16bd62.json
Add SockJS client This change adds a new implementation of WebSocketClient that can connect to a SockJS server using one of the SockJS transports "websocket", "xhr_streaming", or "xhr". From a client perspective there is no implementation difference between "xhr_streaming" and "xhr". Just keep receiving and when the r...
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/JettySockJsIntegrationTests.java
@@ -0,0 +1,101 @@ +/* + * 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 + * + ...
true
Other
spring-projects
spring-framework
e82df99a22b7f511fc8e2c92a8a206e06d16bd62.json
Add SockJS client This change adds a new implementation of WebSocketClient that can connect to a SockJS server using one of the SockJS transports "websocket", "xhr_streaming", or "xhr". From a client perspective there is no implementation difference between "xhr_streaming" and "xhr". Just keep receiving and when the r...
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/RestTemplateXhrTransportTests.java
@@ -0,0 +1,228 @@ +/* + * 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 + * + ...
true
Other
spring-projects
spring-framework
e82df99a22b7f511fc8e2c92a8a206e06d16bd62.json
Add SockJS client This change adds a new implementation of WebSocketClient that can connect to a SockJS server using one of the SockJS transports "websocket", "xhr_streaming", or "xhr". From a client perspective there is no implementation difference between "xhr_streaming" and "xhr". Just keep receiving and when the r...
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/SockJsClientTests.java
@@ -0,0 +1,137 @@ +/* + * 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 + * + ...
true
Other
spring-projects
spring-framework
e82df99a22b7f511fc8e2c92a8a206e06d16bd62.json
Add SockJS client This change adds a new implementation of WebSocketClient that can connect to a SockJS server using one of the SockJS transports "websocket", "xhr_streaming", or "xhr". From a client perspective there is no implementation difference between "xhr_streaming" and "xhr". Just keep receiving and when the r...
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/SockJsUrlInfoTests.java
@@ -0,0 +1,90 @@ +/* + * 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 + * + *...
true
Other
spring-projects
spring-framework
e82df99a22b7f511fc8e2c92a8a206e06d16bd62.json
Add SockJS client This change adds a new implementation of WebSocketClient that can connect to a SockJS server using one of the SockJS transports "websocket", "xhr_streaming", or "xhr". From a client perspective there is no implementation difference between "xhr_streaming" and "xhr". Just keep receiving and when the r...
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/TestTransport.java
@@ -0,0 +1,106 @@ +/* + * 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 + * + ...
true
Other
spring-projects
spring-framework
e82df99a22b7f511fc8e2c92a8a206e06d16bd62.json
Add SockJS client This change adds a new implementation of WebSocketClient that can connect to a SockJS server using one of the SockJS transports "websocket", "xhr_streaming", or "xhr". From a client perspective there is no implementation difference between "xhr_streaming" and "xhr". Just keep receiving and when the r...
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/XhrTransportTests.java
@@ -0,0 +1,155 @@ +/* + * 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 + * + ...
true
Other
spring-projects
spring-framework
e82df99a22b7f511fc8e2c92a8a206e06d16bd62.json
Add SockJS client This change adds a new implementation of WebSocketClient that can connect to a SockJS server using one of the SockJS transports "websocket", "xhr_streaming", or "xhr". From a client perspective there is no implementation difference between "xhr_streaming" and "xhr". Just keep receiving and when the r...
spring-websocket/src/test/resources/log4j.properties
@@ -1,9 +1,9 @@ log4j.appender.console=org.apache.log4j.ConsoleAppender log4j.appender.console.layout=org.apache.log4j.PatternLayout -log4j.appender.console.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%c] - %m%n +log4j.appender.console.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%c][%t] - %m%n log4j.rootCategory=WAR...
true
Other
spring-projects
spring-framework
c14ba1a0ff72ed11eaa5fc7d808f6f3a3fbe2916.json
Add SockJsFrameType enum SPR-10797
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/frame/DefaultSockJsFrameFormat.java
@@ -19,6 +19,10 @@ import org.springframework.util.Assert; /** + * A default implementation of + * {@link org.springframework.web.socket.sockjs.frame.SockJsFrameFormat} that relies + * on {@link java.lang.String#format(String, Object...)}.. + * * @author Rossen Stoyanchev * @since 4.0 */ @@ -33,14 +37,9 @@ pu...
true
Other
spring-projects
spring-framework
c14ba1a0ff72ed11eaa5fc7d808f6f3a3fbe2916.json
Add SockJsFrameType enum SPR-10797
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/frame/SockJsFrame.java
@@ -18,18 +18,17 @@ import java.nio.charset.Charset; -import org.springframework.util.Assert; +import org.springframework.util.StringUtils; /** - * Represents a SockJS frame. Provides factory methods to create SockJS frames on - * the server side. + * Represents a SockJS frame. Provides factory methods to creat...
true
Other
spring-projects
spring-framework
c14ba1a0ff72ed11eaa5fc7d808f6f3a3fbe2916.json
Add SockJsFrameType enum SPR-10797
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/frame/SockJsFrameFormat.java
@@ -17,11 +17,22 @@ package org.springframework.web.socket.sockjs.frame; /** + * Applies a transport-specific format to the content of a SockJS frame resulting + * in a content that can be written out. Primarily for use in HTTP server-side + * transports that push data. + * + * <p>Formatting may vary from simply ap...
true
Other
spring-projects
spring-framework
c14ba1a0ff72ed11eaa5fc7d808f6f3a3fbe2916.json
Add SockJsFrameType enum SPR-10797
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/frame/SockJsFrameType.java
@@ -0,0 +1,29 @@ +/* + * 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 + ...
true
Other
spring-projects
spring-framework
c14ba1a0ff72ed11eaa5fc7d808f6f3a3fbe2916.json
Add SockJsFrameType enum SPR-10797
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/AbstractHttpSendingTransportHandler.java
@@ -82,12 +82,12 @@ else if (!sockJsSession.isActive()) { } else { logger.debug("another " + getTransportType() + " connection still open: " + sockJsSession); - SockJsFrame frame = getFrameFormat(request).format(SockJsFrame.closeFrameAnotherConnectionOpen()); + String formattedFrame = getFrameFormat(reque...
true
Other
spring-projects
spring-framework
c14ba1a0ff72ed11eaa5fc7d808f6f3a3fbe2916.json
Add SockJsFrameType enum SPR-10797
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/session/AbstractHttpSockJsSession.java
@@ -351,11 +351,11 @@ protected void resetRequest() { @Override protected void writeFrameInternal(SockJsFrame frame) throws IOException { if (isActive()) { - frame = this.frameFormat.format(frame); + String formattedFrame = this.frameFormat.format(frame); if (logger.isTraceEnabled()) { - logger.trace(...
true
Other
spring-projects
spring-framework
c14ba1a0ff72ed11eaa5fc7d808f6f3a3fbe2916.json
Add SockJsFrameType enum SPR-10797
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/frame/SockJsFrameTests.java
@@ -0,0 +1,99 @@ +/* + * 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 + * + *...
true
Other
spring-projects
spring-framework
c14ba1a0ff72ed11eaa5fc7d808f6f3a3fbe2916.json
Add SockJsFrameType enum SPR-10797
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/transport/handler/HttpSendingTransportHandlerTests.java
@@ -168,24 +168,24 @@ public void frameFormats() throws Exception { SockJsFrame frame = SockJsFrame.openFrame(); SockJsFrameFormat format = new XhrPollingTransportHandler().getFrameFormat(this.request); - SockJsFrame formatted = format.format(frame); - assertEquals(frame.getContent() + "\n", formatted.getCont...
true
Other
spring-projects
spring-framework
b4e16eacc5663f72be073cd4fdc83e0bdc0b5630.json
Require JUnit 4.9 or higher in the TCF Prior to this commit, the Spring TestContext Framework (TCF) was compatible with JUnit 4.5 or higher. This commit effectively raises the minimum version of JUnit that is officially supported by the TCF to JUnit 4.9, thereby aligning with similar upgrades made in the Spring Frame...
spring-test/src/main/java/org/springframework/test/context/junit4/AbstractJUnit4SpringContextTests.java
@@ -34,7 +34,7 @@ /** * Abstract base test class which integrates the <em>Spring TestContext * Framework</em> with explicit {@link ApplicationContext} testing support in a - * <strong>JUnit 4.5+</strong> environment. + * <strong>JUnit 4.9+</strong> environment. * * <p>Concrete subclasses should typically decla...
true
Other
spring-projects
spring-framework
b4e16eacc5663f72be073cd4fdc83e0bdc0b5630.json
Require JUnit 4.9 or higher in the TCF Prior to this commit, the Spring TestContext Framework (TCF) was compatible with JUnit 4.5 or higher. This commit effectively raises the minimum version of JUnit that is officially supported by the TCF to JUnit 4.9, thereby aligning with similar upgrades made in the Spring Frame...
spring-test/src/main/java/org/springframework/test/context/junit4/SpringJUnit4ClassRunner.java
@@ -22,8 +22,6 @@ import org.apache.commons.logging.LogFactory; import org.junit.Ignore; import org.junit.Test; -import org.junit.internal.AssumptionViolatedException; -import org.junit.internal.runners.model.EachTestNotifier; import org.junit.internal.runners.model.ReflectiveCallable; import org.junit.internal.ru...
true
Other
spring-projects
spring-framework
b4e16eacc5663f72be073cd4fdc83e0bdc0b5630.json
Require JUnit 4.9 or higher in the TCF Prior to this commit, the Spring TestContext Framework (TCF) was compatible with JUnit 4.5 or higher. This commit effectively raises the minimum version of JUnit that is officially supported by the TCF to JUnit 4.9, thereby aligning with similar upgrades made in the Spring Frame...
spring-test/src/main/java/org/springframework/test/context/junit4/package-info.java
@@ -1,6 +1,6 @@ /** - * <p>Support classes for ApplicationContext-based and transactional - * tests run with JUnit 4.5+ and the <em>Spring TestContext Framework</em>.</p> + * <p>Support classes for integrating the <em>Spring TestContext Framework</em> + * with JUnit.</p> */ package org.springframework.test.contex...
true
Other
spring-projects
spring-framework
b4e16eacc5663f72be073cd4fdc83e0bdc0b5630.json
Require JUnit 4.9 or higher in the TCF Prior to this commit, the Spring TestContext Framework (TCF) was compatible with JUnit 4.5 or higher. This commit effectively raises the minimum version of JUnit that is officially supported by the TCF to JUnit 4.9, thereby aligning with similar upgrades made in the Spring Frame...
spring-test/src/main/java/org/springframework/test/context/junit4/statements/RunAfterTestClassCallbacks.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. @@ -24,18 +24,16 @@ import org.springframework...
true
Other
spring-projects
spring-framework
b4e16eacc5663f72be073cd4fdc83e0bdc0b5630.json
Require JUnit 4.9 or higher in the TCF Prior to this commit, the Spring TestContext Framework (TCF) was compatible with JUnit 4.5 or higher. This commit effectively raises the minimum version of JUnit that is officially supported by the TCF to JUnit 4.9, thereby aligning with similar upgrades made in the Spring Frame...
spring-test/src/main/java/org/springframework/test/context/junit4/statements/RunAfterTestMethodCallbacks.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. @@ -25,18 +25,16 @@ import org.springframework...
true
Other
spring-projects
spring-framework
b4e16eacc5663f72be073cd4fdc83e0bdc0b5630.json
Require JUnit 4.9 or higher in the TCF Prior to this commit, the Spring TestContext Framework (TCF) was compatible with JUnit 4.5 or higher. This commit effectively raises the minimum version of JUnit that is officially supported by the TCF to JUnit 4.9, thereby aligning with similar upgrades made in the Spring Frame...
spring-test/src/main/java/org/springframework/test/context/junit4/statements/RunBeforeTestClassCallbacks.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. @@ -20,10 +20,9 @@ import org.springframework....
true
Other
spring-projects
spring-framework
b4e16eacc5663f72be073cd4fdc83e0bdc0b5630.json
Require JUnit 4.9 or higher in the TCF Prior to this commit, the Spring TestContext Framework (TCF) was compatible with JUnit 4.5 or higher. This commit effectively raises the minimum version of JUnit that is officially supported by the TCF to JUnit 4.9, thereby aligning with similar upgrades made in the Spring Frame...
spring-test/src/main/java/org/springframework/test/context/junit4/statements/RunBeforeTestMethodCallbacks.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. @@ -22,10 +22,9 @@ import org.springframework....
true
Other
spring-projects
spring-framework
b4e16eacc5663f72be073cd4fdc83e0bdc0b5630.json
Require JUnit 4.9 or higher in the TCF Prior to this commit, the Spring TestContext Framework (TCF) was compatible with JUnit 4.5 or higher. This commit effectively raises the minimum version of JUnit that is officially supported by the TCF to JUnit 4.9, thereby aligning with similar upgrades made in the Spring Frame...
spring-test/src/main/java/org/springframework/test/context/junit4/statements/SpringFailOnTimeout.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. @@ -22,10 +22,10 @@ import org.springframework...
true
Other
spring-projects
spring-framework
b4e16eacc5663f72be073cd4fdc83e0bdc0b5630.json
Require JUnit 4.9 or higher in the TCF Prior to this commit, the Spring TestContext Framework (TCF) was compatible with JUnit 4.5 or higher. This commit effectively raises the minimum version of JUnit that is officially supported by the TCF to JUnit 4.9, thereby aligning with similar upgrades made in the Spring Frame...
spring-test/src/main/java/org/springframework/test/context/junit4/statements/SpringRepeat.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. @@ -25,9 +25,9 @@ import org.springframework.u...
true
Other
spring-projects
spring-framework
b4e16eacc5663f72be073cd4fdc83e0bdc0b5630.json
Require JUnit 4.9 or higher in the TCF Prior to this commit, the Spring TestContext Framework (TCF) was compatible with JUnit 4.5 or higher. This commit effectively raises the minimum version of JUnit that is officially supported by the TCF to JUnit 4.9, thereby aligning with similar upgrades made in the Spring Frame...
spring-test/src/main/java/org/springframework/test/context/junit4/statements/package-info.java
@@ -1,7 +1,6 @@ /** - * - * <p>JUnit 4.5 based {@code statements} used in the <em>Spring TestContext Framework</em>.</p> - * + * <p>Custom JUnit {@code Statements} used in the <em>Spring TestContext Framework</em>.</p> */ + package org.springframework.test.context.junit4.statements;
true
Other
spring-projects
spring-framework
b4e16eacc5663f72be073cd4fdc83e0bdc0b5630.json
Require JUnit 4.9 or higher in the TCF Prior to this commit, the Spring TestContext Framework (TCF) was compatible with JUnit 4.5 or higher. This commit effectively raises the minimum version of JUnit that is officially supported by the TCF to JUnit 4.9, thereby aligning with similar upgrades made in the Spring Frame...
spring-test/src/main/java/org/springframework/test/context/package-info.java
@@ -2,7 +2,7 @@ * <p>This package contains the <em>Spring TestContext Framework</em> which * provides annotation-driven unit and integration testing support that is * agnostic of the actual testing framework in use. The same techniques and - * annotation-based configuration used in, for example, a JUnit 4.5+ envi...
true
Other
spring-projects
spring-framework
b4e16eacc5663f72be073cd4fdc83e0bdc0b5630.json
Require JUnit 4.9 or higher in the TCF Prior to this commit, the Spring TestContext Framework (TCF) was compatible with JUnit 4.5 or higher. This commit effectively raises the minimum version of JUnit that is officially supported by the TCF to JUnit 4.9, thereby aligning with similar upgrades made in the Spring Frame...
spring-test/src/main/java/org/springframework/test/util/MatcherAssertionErrors.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. @@ -21,13 +21,15 @@ import org.hamcrest.Matche...
true
Other
spring-projects
spring-framework
b4e16eacc5663f72be073cd4fdc83e0bdc0b5630.json
Require JUnit 4.9 or higher in the TCF Prior to this commit, the Spring TestContext Framework (TCF) was compatible with JUnit 4.5 or higher. This commit effectively raises the minimum version of JUnit that is officially supported by the TCF to JUnit 4.9, thereby aligning with similar upgrades made in the Spring Frame...
spring-test/src/test/java/org/springframework/test/context/SpringRunnerContextCacheTests.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,25 +16,21 @@ package org.springframew...
true
Other
spring-projects
spring-framework
b4e16eacc5663f72be073cd4fdc83e0bdc0b5630.json
Require JUnit 4.9 or higher in the TCF Prior to this commit, the Spring TestContext Framework (TCF) was compatible with JUnit 4.5 or higher. This commit effectively raises the minimum version of JUnit that is officially supported by the TCF to JUnit 4.9, thereby aligning with similar upgrades made in the Spring Frame...
src/asciidoc/index.adoc
@@ -20213,12 +20213,12 @@ work__. [[testcontext-support-classes-junit4]] ====== JUnit support classes -The `org.springframework.test.context.junit4` package provides support classes for JUnit -4.5+ based test cases. +The `org.springframework.test.context.junit4` package provides support classes for +JUnit-based tes...
true
Other
spring-projects
spring-framework
cff36d68b1b34035d5103c913fd01e962023b2ab.json
update documentation with latest forum infos Forums will be shortly deactivated and questions should take place in StackOverflow.
src/asciidoc/index.adoc
@@ -26,8 +26,10 @@ will exist. However, it should be easy to isolate these dependencies from the re your code base. This document is a reference guide to Spring Framework features. If you have any -requests, comments, or questions on this document, please post them on the user mailing -list or on the support forums...
false
Other
spring-projects
spring-framework
bb4a9cca1bfa5d5e887b98ec13d4a9f553dace06.json
Add suppress warning in SettableListenableFuture
spring-core/src/main/java/org/springframework/util/concurrent/SettableListenableFuture.java
@@ -71,7 +71,7 @@ public boolean set(T value) { */ public boolean setException(Throwable exception) { Assert.notNull(exception, "'exception' must not be null"); - boolean success = this.settableTask.setValue(exception); + boolean success = this.settableTask.setException(exception); if (success) { this....
false
Other
spring-projects
spring-framework
0640a32863c9a86511e4a3e0c7fe75e98e0f3f1e.json
Revise SettableListenableFuture implementation This change modifies the SettableListenableFuture implementation to use internally a ListenableFutureTask created with a "settable" Callable. Issue: SPR-11614
spring-core/src/main/java/org/springframework/util/concurrent/SettableListenableFuture.java
@@ -18,44 +18,48 @@ import org.springframework.util.Assert; -import java.util.concurrent.CancellationException; -import java.util.concurrent.CountDownLatch; +import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; -import java.util.concurrent.Future; import java.util.concurrent.Time...
true
Other
spring-projects
spring-framework
0640a32863c9a86511e4a3e0c7fe75e98e0f3f1e.json
Revise SettableListenableFuture implementation This change modifies the SettableListenableFuture implementation to use internally a ListenableFutureTask created with a "settable" Callable. Issue: SPR-11614
spring-core/src/test/java/org/springframework/util/concurrent/SettableListenableFutureTests.java
@@ -26,6 +26,8 @@ import static org.hamcrest.Matchers.equalTo; import static org.junit.Assert.*; +import static org.mockito.Mockito.*; + /** * @author Mattias Severson @@ -290,36 +292,28 @@ public void run() { @Test public void cancelDoesNotNotifyCallbacksOnSet() { - settableListenableFuture.addCallback...
true
Other
spring-projects
spring-framework
80a16c6d10a5ede0c32a3fdfb842e316715e52f7.json
PathMatching options:configure all HandlerMappings Since SPR-11486 and SPR-10163, Path Matching options can be configured to customize path matching options for RequestMappingHandlerMapping. Prior to this commit, the defined pathMatcher and pathHelper instances were only used in RequestMappingHandlerMapping. This com...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/AnnotationDrivenBeanDefinitionParser.java
@@ -77,7 +77,7 @@ /** * A {@link BeanDefinitionParser} that provides the configuration for the - * {@code <annotation-driven/>} MVC namespace element. + * {@code <annotation-driven/>} MVC namespace element. * * <p>This class registers the following {@link HandlerMapping}s:</p> * <ul> @@ -110,6 +110,16 @@ ...
true
Other
spring-projects
spring-framework
80a16c6d10a5ede0c32a3fdfb842e316715e52f7.json
PathMatching options:configure all HandlerMappings Since SPR-11486 and SPR-10163, Path Matching options can be configured to customize path matching options for RequestMappingHandlerMapping. Prior to this commit, the defined pathMatcher and pathHelper instances were only used in RequestMappingHandlerMapping. This com...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/MvcNamespaceUtils.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,17 +17,22 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
80a16c6d10a5ede0c32a3fdfb842e316715e52f7.json
PathMatching options:configure all HandlerMappings Since SPR-11486 and SPR-10163, Path Matching options can be configured to customize path matching options for RequestMappingHandlerMapping. Prior to this commit, the defined pathMatcher and pathHelper instances were only used in RequestMappingHandlerMapping. This com...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/ResourcesBeanDefinitionParser.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. @@ -22,6 +22,7 @@ import org.w3c.dom.Element; ...
true
Other
spring-projects
spring-framework
80a16c6d10a5ede0c32a3fdfb842e316715e52f7.json
PathMatching options:configure all HandlerMappings Since SPR-11486 and SPR-10163, Path Matching options can be configured to customize path matching options for RequestMappingHandlerMapping. Prior to this commit, the defined pathMatcher and pathHelper instances were only used in RequestMappingHandlerMapping. This com...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/ViewControllerBeanDefinitionParser.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. @@ -19,6 +19,7 @@ import java.util.Map; imp...
true
Other
spring-projects
spring-framework
80a16c6d10a5ede0c32a3fdfb842e316715e52f7.json
PathMatching options:configure all HandlerMappings Since SPR-11486 and SPR-10163, Path Matching options can be configured to customize path matching options for RequestMappingHandlerMapping. Prior to this commit, the defined pathMatcher and pathHelper instances were only used in RequestMappingHandlerMapping. This com...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/PathMatchConfigurer.java
@@ -20,12 +20,19 @@ import org.springframework.web.util.UrlPathHelper; /** - * Helps with configuring {@link org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping} - * path matching options such as trailing slash match, suffix registration or path matcher/helper. + * Helps with configur...
true
Other
spring-projects
spring-framework
80a16c6d10a5ede0c32a3fdfb842e316715e52f7.json
PathMatching options:configure all HandlerMappings Since SPR-11486 and SPR-10163, Path Matching options can be configured to customize path matching options for RequestMappingHandlerMapping. Prior to this commit, the defined pathMatcher and pathHelper instances were only used in RequestMappingHandlerMapping. This com...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupport.java
@@ -48,6 +48,7 @@ import org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter; import org.springframework.http.converter.xml.Jaxb2RootElementHttpMessageConverter; import org.springframework.http.converter.xml.SourceHttpMessageConverter; +import org.springframework.util.AntPathMatcher; ...
true
Other
spring-projects
spring-framework
80a16c6d10a5ede0c32a3fdfb842e316715e52f7.json
PathMatching options:configure all HandlerMappings Since SPR-11486 and SPR-10163, Path Matching options can be configured to customize path matching options for RequestMappingHandlerMapping. Prior to this commit, the defined pathMatcher and pathHelper instances were only used in RequestMappingHandlerMapping. This com...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurer.java
@@ -80,7 +80,14 @@ public interface WebMvcConfigurer { void configureAsyncSupport(AsyncSupportConfigurer configurer); /** - * Configure path matching options. + * Helps with configuring HandlerMappings path matching options such as trailing slash match, + * suffix registration, path matcher and path helper. + ...
true
Other
spring-projects
spring-framework
80a16c6d10a5ede0c32a3fdfb842e316715e52f7.json
PathMatching options:configure all HandlerMappings Since SPR-11486 and SPR-10163, Path Matching options can be configured to customize path matching options for RequestMappingHandlerMapping. Prior to this commit, the defined pathMatcher and pathHelper instances were only used in RequestMappingHandlerMapping. This com...
spring-webmvc/src/test/java/org/springframework/web/servlet/config/MvcNamespaceTests.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. @@ -76,6 +76,7 @@ import org.springframework.w...
true
Other
spring-projects
spring-framework
80a16c6d10a5ede0c32a3fdfb842e316715e52f7.json
PathMatching options:configure all HandlerMappings Since SPR-11486 and SPR-10163, Path Matching options can be configured to customize path matching options for RequestMappingHandlerMapping. Prior to this commit, the defined pathMatcher and pathHelper instances were only used in RequestMappingHandlerMapping. This com...
spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupportExtensionTests.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. @@ -35,6 +35,7 @@ import org.springframework.m...
true
Other
spring-projects
spring-framework
80a16c6d10a5ede0c32a3fdfb842e316715e52f7.json
PathMatching options:configure all HandlerMappings Since SPR-11486 and SPR-10163, Path Matching options can be configured to customize path matching options for RequestMappingHandlerMapping. Prior to this commit, the defined pathMatcher and pathHelper instances were only used in RequestMappingHandlerMapping. This com...
spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupportTests.java
@@ -36,6 +36,8 @@ import org.springframework.mock.web.test.MockHttpServletRequest; import org.springframework.mock.web.test.MockServletContext; import org.springframework.stereotype.Controller; +import org.springframework.util.AntPathMatcher; +import org.springframework.util.PathMatcher; import org.springframework....
true
Other
spring-projects
spring-framework
80a16c6d10a5ede0c32a3fdfb842e316715e52f7.json
PathMatching options:configure all HandlerMappings Since SPR-11486 and SPR-10163, Path Matching options can be configured to customize path matching options for RequestMappingHandlerMapping. Prior to this commit, the defined pathMatcher and pathHelper instances were only used in RequestMappingHandlerMapping. This com...
spring-webmvc/src/test/resources/org/springframework/web/servlet/config/mvc-config-path-matching-mappings.xml
@@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:mvc="http://www.springframework.org/schema/mvc" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.springframework.org/schema/beans http://...
true
Other
spring-projects
spring-framework
0dc52a83432ae3e52862bb8f257774bb8c345795.json
Fix method comment for getRequiredProperty(String)
spring-core/src/main/java/org/springframework/core/env/PropertyResolver.java
@@ -82,8 +82,7 @@ public interface PropertyResolver { <T> Class<T> getPropertyAsClass(String key, Class<T> targetType); /** - * Return the property value associated with the given key, converted to the given - * targetType (never {@code null}). + * Return the property value associated with the given key (never...
false
Other
spring-projects
spring-framework
9ba9f562f2a75cea06db81eb8e947e6d4153ca43.json
Add @ComponentScan documentation This commit provides a proper documentation for the @ComponentScan annotation as a java config alternative to <context:component-scan/> Issue: SPR-11846
src/asciidoc/index.adoc
@@ -5946,10 +5946,28 @@ are eligible for such autodetection: } ---- -To autodetect these classes and register the corresponding beans, you need to include -the following element in XML, where the base-package element is a common parent package -for the two classes. (Alternatively, you can specify a comma-separated...
false
Other
spring-projects
spring-framework
6b129c52e3bbcc4d301ad7604d43f39c64d346a1.json
Add "mvcUrl" function to Spring tag library This commit adds a new function to the Spring tag library for preparing links to @Controller methods. For more details see the Javadoc of MvcUriComponentsBuilder.fromMappingName. Issue: SPR-5779
spring-webmvc/src/main/java/org/springframework/web/servlet/handler/HandlerMethodMappingNamingStrategy.java
@@ -21,7 +21,20 @@ import java.lang.reflect.Method; /** - * A strategy for assigning a name to a controller method mapping. + * A strategy for assigning a name to a handler method's mapping. + * + * <p>The strategy can be configured on + * {@link org.springframework.web.servlet.handler.AbstractHandlerMethodMapping ...
true
Other
spring-projects
spring-framework
6b129c52e3bbcc4d301ad7604d43f39c64d346a1.json
Add "mvcUrl" function to Spring tag library This commit adds a new function to the Spring tag library for preparing links to @Controller methods. For more details see the Javadoc of MvcUriComponentsBuilder.fromMappingName. Issue: SPR-5779
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/MvcUriComponentsBuilder.java
@@ -193,38 +193,62 @@ public static UriComponentsBuilder fromMethodCall(Object invocationInfo) { } /** - * Create a {@link UriComponentsBuilder} from a request mapping identified - * by name. The configured + * Create a URL from the name of a Spring MVC controller method's request mapping. + * + * <p>The con...
true
Other
spring-projects
spring-framework
6b129c52e3bbcc4d301ad7604d43f39c64d346a1.json
Add "mvcUrl" function to Spring tag library This commit adds a new function to the Spring tag library for preparing links to @Controller methods. For more details see the Javadoc of MvcUriComponentsBuilder.fromMappingName. Issue: SPR-5779
spring-webmvc/src/main/resources/META-INF/spring.tld
@@ -472,4 +472,11 @@ </attribute> </tag> + <function> + <description>Helps to prepare a URL to a Spring MVC controller method.</description> + <name>mvcUrl</name> + <function-class>org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder</function-class> + <fun...
true
Other
spring-projects
spring-framework
214064824680bb60eca256c99f09f48996a7c235.json
Fix failing test
spring-webmvc/src/test/java/org/springframework/web/servlet/view/groovy/GroovyMarkupConfigurerTests.java
@@ -26,7 +26,6 @@ import groovy.text.TemplateEngine; import groovy.text.markup.MarkupTemplateEngine; import groovy.text.markup.TemplateConfiguration; -import groovy.text.markup.TemplateResolver; import org.hamcrest.Matchers; import org.junit.Assert; import org.junit.Before; @@ -51,15 +50,12 @@ public class Groovy...
false
Other
spring-projects
spring-framework
5cc779ab356a640f7f51e1d47d75ca74150ec218.json
Fix callout formatting issue
src/asciidoc/index.adoc
@@ -25235,23 +25235,21 @@ dependency injection. final InputStreamReader clobReader = new InputStreamReader(clobIs); jdbcTemplate.execute( "INSERT INTO lob_table (id, a_clob, a_blob) VALUES (?, ?, ?)", - new AbstractLobCreatingPreparedStatementCallback(lobHandler) { <<1>> - protected void setValues(PreparedState...
false
Other
spring-projects
spring-framework
fc91add35ee7c51e854d80838bfceed545873801.json
Allow custom UrlPathHelper for WebSocket requests Issue: SPR-117711
spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/ServletWebSocketHandlerRegistry.java
@@ -29,6 +29,7 @@ import org.springframework.web.servlet.handler.AbstractHandlerMapping; import org.springframework.web.servlet.handler.SimpleUrlHandlerMapping; import org.springframework.web.socket.WebSocketHandler; +import org.springframework.web.util.UrlPathHelper; /** * A {@link WebSocketHandlerRegistry} th...
true
Other
spring-projects
spring-framework
fc91add35ee7c51e854d80838bfceed545873801.json
Allow custom UrlPathHelper for WebSocket requests Issue: SPR-117711
spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/WebMvcStompEndpointRegistry.java
@@ -33,6 +33,7 @@ import org.springframework.web.socket.messaging.StompSubProtocolHandler; import org.springframework.web.socket.messaging.SubProtocolWebSocketHandler; import org.springframework.web.socket.handler.WebSocketHandlerDecorator; +import org.springframework.web.util.UrlPathHelper; /** * A registry fo...
true
Other
spring-projects
spring-framework
fc91add35ee7c51e854d80838bfceed545873801.json
Allow custom UrlPathHelper for WebSocket requests Issue: SPR-117711
spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/WebSocketConfigurationSupport.java
@@ -34,7 +34,6 @@ public HandlerMapping webSocketHandlerMapping() { ServletWebSocketHandlerRegistry registry = new ServletWebSocketHandlerRegistry(defaultSockJsTaskScheduler()); registerWebSocketHandlers(registry); AbstractHandlerMapping hm = registry.getHandlerMapping(); - hm.setOrder(1); return hm; }
true
Other
spring-projects
spring-framework
fc91add35ee7c51e854d80838bfceed545873801.json
Allow custom UrlPathHelper for WebSocket requests Issue: SPR-117711
spring-websocket/src/test/java/org/springframework/web/socket/config/annotation/WebMvcStompEndpointRegistryTests.java
@@ -30,6 +30,7 @@ import org.springframework.web.socket.messaging.StompSubProtocolHandler; import org.springframework.web.socket.messaging.SubProtocolHandler; import org.springframework.web.socket.messaging.SubProtocolWebSocketHandler; +import org.springframework.web.util.UrlPathHelper; import static org.junit.As...
true
Other
spring-projects
spring-framework
5dc27ee134d28c7b25d0f6d3e9059f80c95d4402.json
Add JSONP support to MappingJackson2JsonView Enable JSONP support by wrapping the JSON output into a callback when a JSONP query parameter specifying the function name to use as callback is detected. Default query parameter names recognized as JSONP ones are "jsonp" and "callback". This list can be customized if need...
spring-webmvc/src/main/java/org/springframework/web/servlet/view/json/MappingJackson2JsonView.java
@@ -19,10 +19,7 @@ import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; -import java.util.Collections; -import java.util.HashMap; -import java.util.Map; -import java.util.Set; +import java.util.*; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.Http...
true
Other
spring-projects
spring-framework
5dc27ee134d28c7b25d0f6d3e9059f80c95d4402.json
Add JSONP support to MappingJackson2JsonView Enable JSONP support by wrapping the JSON output into a callback when a JSONP query parameter specifying the function name to use as callback is detected. Default query parameter names recognized as JSONP ones are "jsonp" and "callback". This list can be customized if need...
spring-webmvc/src/test/java/org/springframework/web/servlet/view/json/MappingJackson2JsonViewTests.java
@@ -17,11 +17,7 @@ package org.springframework.web.servlet.view.json; import java.io.IOException; -import java.util.Date; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Set; +import java.util.*; import com.fasterxml.jackson.annotation.JsonView; import org.junit.Be...
true
Other
spring-projects
spring-framework
408fe42df242dcaa564f4f0eb61d41d8d8909d5b.json
Fix Javadoc syntax error in HttpRequestHandler
spring-web/src/main/java/org/springframework/web/HttpRequestHandler.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. @@ -26,13 +26,13 @@ * Plain handler interface...
false
Other
spring-projects
spring-framework
397aa8298492d74ab64bff900229c11d2f5c5112.json
Fix expression cache Prior to this commit, only the java.lang.reflect.Method was used to identify an annotated method. As a result, if different annotations were placed on different methods (method overriding, interface implementation) only the first one (cached) was used. LazyParamAwareEvaluationContext was affected...
spring-context/src/main/java/org/springframework/cache/interceptor/CacheAspectSupport.java
@@ -483,12 +483,15 @@ protected class CacheOperationContext implements CacheOperationInvocationContext private final Collection<? extends Cache> caches; + private final MethodCacheKey methodCacheKey; + public CacheOperationContext(CacheOperationMetadata metadata, Object[] args, Object target) { ...
true
Other
spring-projects
spring-framework
397aa8298492d74ab64bff900229c11d2f5c5112.json
Fix expression cache Prior to this commit, only the java.lang.reflect.Method was used to identify an annotated method. As a result, if different annotations were placed on different methods (method overriding, interface implementation) only the first one (cached) was used. LazyParamAwareEvaluationContext was affected...
spring-context/src/main/java/org/springframework/cache/interceptor/ExpressionEvaluator.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. @@ -27,16 +27,19 @@ import org.springframework...
true
Other
spring-projects
spring-framework
397aa8298492d74ab64bff900229c11d2f5c5112.json
Fix expression cache Prior to this commit, only the java.lang.reflect.Method was used to identify an annotated method. As a result, if different annotations were placed on different methods (method overriding, interface implementation) only the first one (cached) was used. LazyParamAwareEvaluationContext was affected...
spring-context/src/main/java/org/springframework/cache/interceptor/LazyParamAwareEvaluationContext.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 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. @@ -33,6 +33,7 @@ * (rather then a dedicated ...
true
Other
spring-projects
spring-framework
397aa8298492d74ab64bff900229c11d2f5c5112.json
Fix expression cache Prior to this commit, only the java.lang.reflect.Method was used to identify an annotated method. As a result, if different annotations were placed on different methods (method overriding, interface implementation) only the first one (cached) was used. LazyParamAwareEvaluationContext was affected...
spring-context/src/main/java/org/springframework/cache/interceptor/MethodCacheKey.java
@@ -27,7 +27,7 @@ * * @author Costin Leau * @author Stephane Nicoll - * @since 4.1 + * @since 4.0.4 */ public final class MethodCacheKey {
true
Other
spring-projects
spring-framework
397aa8298492d74ab64bff900229c11d2f5c5112.json
Fix expression cache Prior to this commit, only the java.lang.reflect.Method was used to identify an annotated method. As a result, if different annotations were placed on different methods (method overriding, interface implementation) only the first one (cached) was used. LazyParamAwareEvaluationContext was affected...
spring-context/src/test/java/org/springframework/cache/config/ExpressionCachingIntegrationTests.java
@@ -0,0 +1,122 @@ +/* + * 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 +...
true
Other
spring-projects
spring-framework
397aa8298492d74ab64bff900229c11d2f5c5112.json
Fix expression cache Prior to this commit, only the java.lang.reflect.Method was used to identify an annotated method. As a result, if different annotations were placed on different methods (method overriding, interface implementation) only the first one (cached) was used. LazyParamAwareEvaluationContext was affected...
spring-context/src/test/java/org/springframework/cache/interceptor/ExpressionEvaluatorTests.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. @@ -39,6 +39,7 @@ * @author Costin Leau * @...
true
Other
spring-projects
spring-framework
95e25d4e6f14a20767f0bc62a1dd1052c2a5ca35.json
Add strategy for customizing ID/TIMESTAMP headers Introduce MessageHeaderInitializer strategy for initializing a MessageHeaderAccessor. Add IdTimestampMessageHeaderInitializer implementation that provides control over ID and timestamp header generation. Disable ID and timestamp by default in SimpMessageHeaderAccesso...
spring-messaging/src/main/java/org/springframework/messaging/simp/DefaultSimpMessageHeaderAccessorFactory.java
@@ -1,70 +0,0 @@ -/* - * 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 - * - *...
true
Other
spring-projects
spring-framework
95e25d4e6f14a20767f0bc62a1dd1052c2a5ca35.json
Add strategy for customizing ID/TIMESTAMP headers Introduce MessageHeaderInitializer strategy for initializing a MessageHeaderAccessor. Add IdTimestampMessageHeaderInitializer implementation that provides control over ID and timestamp header generation. Disable ID and timestamp by default in SimpMessageHeaderAccesso...
spring-messaging/src/main/java/org/springframework/messaging/simp/SimpMessageHeaderAccessor.java
@@ -21,7 +21,7 @@ import java.util.Map; import org.springframework.messaging.Message; -import org.springframework.messaging.MessageHeaders; +import org.springframework.messaging.support.IdTimestampMessageHeaderInitializer; import org.springframework.messaging.support.MessageHeaderAccessor; import org.springframew...
true
Other
spring-projects
spring-framework
95e25d4e6f14a20767f0bc62a1dd1052c2a5ca35.json
Add strategy for customizing ID/TIMESTAMP headers Introduce MessageHeaderInitializer strategy for initializing a MessageHeaderAccessor. Add IdTimestampMessageHeaderInitializer implementation that provides control over ID and timestamp header generation. Disable ID and timestamp by default in SimpMessageHeaderAccesso...
spring-messaging/src/main/java/org/springframework/messaging/simp/SimpMessageHeaderAccessorFactory.java
@@ -1,48 +0,0 @@ -/* - * 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 - * - *...
true
Other
spring-projects
spring-framework
95e25d4e6f14a20767f0bc62a1dd1052c2a5ca35.json
Add strategy for customizing ID/TIMESTAMP headers Introduce MessageHeaderInitializer strategy for initializing a MessageHeaderAccessor. Add IdTimestampMessageHeaderInitializer implementation that provides control over ID and timestamp header generation. Disable ID and timestamp by default in SimpMessageHeaderAccesso...
spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/DefaultStompHeaderAccessorFactory.java
@@ -1,78 +0,0 @@ -/* - * 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 - * - *...
true
Other
spring-projects
spring-framework
95e25d4e6f14a20767f0bc62a1dd1052c2a5ca35.json
Add strategy for customizing ID/TIMESTAMP headers Introduce MessageHeaderInitializer strategy for initializing a MessageHeaderAccessor. Add IdTimestampMessageHeaderInitializer implementation that provides control over ID and timestamp header generation. Disable ID and timestamp by default in SimpMessageHeaderAccesso...
spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompHeaderAccessor.java
@@ -30,7 +30,6 @@ import org.springframework.util.Assert; import org.springframework.util.MimeType; import org.springframework.util.MimeTypeUtils; -import org.springframework.util.MultiValueMap; import org.springframework.util.StringUtils; /** @@ -59,8 +58,6 @@ */ public class StompHeaderAccessor extends Simp...
true
Other
spring-projects
spring-framework
95e25d4e6f14a20767f0bc62a1dd1052c2a5ca35.json
Add strategy for customizing ID/TIMESTAMP headers Introduce MessageHeaderInitializer strategy for initializing a MessageHeaderAccessor. Add IdTimestampMessageHeaderInitializer implementation that provides control over ID and timestamp header generation. Disable ID and timestamp by default in SimpMessageHeaderAccesso...
spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompHeaderAccessorFactory.java
@@ -1,55 +0,0 @@ -/* - * 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 - * - *...
true
Other
spring-projects
spring-framework
95e25d4e6f14a20767f0bc62a1dd1052c2a5ca35.json
Add strategy for customizing ID/TIMESTAMP headers Introduce MessageHeaderInitializer strategy for initializing a MessageHeaderAccessor. Add IdTimestampMessageHeaderInitializer implementation that provides control over ID and timestamp header generation. Disable ID and timestamp by default in SimpMessageHeaderAccesso...
spring-messaging/src/main/java/org/springframework/messaging/support/IdTimestampMessageHeaderInitializer.java
@@ -0,0 +1,100 @@ +/* + * 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
95e25d4e6f14a20767f0bc62a1dd1052c2a5ca35.json
Add strategy for customizing ID/TIMESTAMP headers Introduce MessageHeaderInitializer strategy for initializing a MessageHeaderAccessor. Add IdTimestampMessageHeaderInitializer implementation that provides control over ID and timestamp header generation. Disable ID and timestamp by default in SimpMessageHeaderAccesso...
spring-messaging/src/main/java/org/springframework/messaging/support/MessageHeaderAccessor.java
@@ -129,11 +129,6 @@ public MessageHeaderAccessor() { public MessageHeaderAccessor(Message<?> message) { if (message != null) { this.headers = new MutableMessageHeaders(message.getHeaders()); - MessageHeaderAccessor accessor = getAccessor(message, MessageHeaderAccessor.class); - if (accessor != null) { - ...
true
Other
spring-projects
spring-framework
95e25d4e6f14a20767f0bc62a1dd1052c2a5ca35.json
Add strategy for customizing ID/TIMESTAMP headers Introduce MessageHeaderInitializer strategy for initializing a MessageHeaderAccessor. Add IdTimestampMessageHeaderInitializer implementation that provides control over ID and timestamp header generation. Disable ID and timestamp by default in SimpMessageHeaderAccesso...
spring-messaging/src/main/java/org/springframework/messaging/support/MessageHeaderAccessorFactorySupport.java
@@ -1,67 +0,0 @@ -/* - * 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 - * - *...
true
Other
spring-projects
spring-framework
95e25d4e6f14a20767f0bc62a1dd1052c2a5ca35.json
Add strategy for customizing ID/TIMESTAMP headers Introduce MessageHeaderInitializer strategy for initializing a MessageHeaderAccessor. Add IdTimestampMessageHeaderInitializer implementation that provides control over ID and timestamp header generation. Disable ID and timestamp by default in SimpMessageHeaderAccesso...
spring-messaging/src/main/java/org/springframework/messaging/support/MessageHeaderInitializer.java
@@ -0,0 +1,35 @@ +/* + * 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 + * + *...
true
Other
spring-projects
spring-framework
95e25d4e6f14a20767f0bc62a1dd1052c2a5ca35.json
Add strategy for customizing ID/TIMESTAMP headers Introduce MessageHeaderInitializer strategy for initializing a MessageHeaderAccessor. Add IdTimestampMessageHeaderInitializer implementation that provides control over ID and timestamp header generation. Disable ID and timestamp by default in SimpMessageHeaderAccesso...
spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/StompHeaderAccessorTests.java
@@ -26,6 +26,7 @@ import org.springframework.messaging.MessageHeaders; import org.springframework.messaging.simp.SimpMessageHeaderAccessor; import org.springframework.messaging.simp.SimpMessageType; +import org.springframework.messaging.support.IdTimestampMessageHeaderInitializer; import org.springframework.messagi...
true
Other
spring-projects
spring-framework
fda9c633c4a9457300cbfcf0780683ae770b1d84.json
Support mutable headers in MessagingTemplate AbstractMessageConverter and messaging template implementations now detect and use mutable headers if passed in. The SimpMessagingTemplate is optimized to supporting using a single MessageHeaders instance while preparing a message. This commit also updates code using the ...
spring-messaging/src/main/java/org/springframework/messaging/converter/AbstractMessageConverter.java
@@ -27,6 +27,7 @@ import org.springframework.messaging.Message; import org.springframework.messaging.MessageHeaders; import org.springframework.messaging.support.MessageBuilder; +import org.springframework.messaging.support.MessageHeaderAccessor; import org.springframework.util.Assert; import org.springframework.u...
true
Other
spring-projects
spring-framework
fda9c633c4a9457300cbfcf0780683ae770b1d84.json
Support mutable headers in MessagingTemplate AbstractMessageConverter and messaging template implementations now detect and use mutable headers if passed in. The SimpMessagingTemplate is optimized to supporting using a single MessageHeaders instance while preparing a message. This commit also updates code using the ...
spring-messaging/src/main/java/org/springframework/messaging/converter/SimpleMessageConverter.java
@@ -19,6 +19,7 @@ import org.springframework.messaging.Message; import org.springframework.messaging.MessageHeaders; import org.springframework.messaging.support.MessageBuilder; +import org.springframework.messaging.support.MessageHeaderAccessor; import org.springframework.util.ClassUtils; /** @@ -44,7 +45,16 @@...
true
Other
spring-projects
spring-framework
fda9c633c4a9457300cbfcf0780683ae770b1d84.json
Support mutable headers in MessagingTemplate AbstractMessageConverter and messaging template implementations now detect and use mutable headers if passed in. The SimpMessagingTemplate is optimized to supporting using a single MessageHeaders instance while preparing a message. This commit also updates code using the ...
spring-messaging/src/main/java/org/springframework/messaging/core/AbstractMessageSendingTemplate.java
@@ -26,7 +26,6 @@ import org.springframework.messaging.converter.MessageConversionException; import org.springframework.messaging.converter.MessageConverter; import org.springframework.messaging.converter.SimpleMessageConverter; -import org.springframework.messaging.support.MessageHeaderAccessor; import org.springf...
true
Other
spring-projects
spring-framework
fda9c633c4a9457300cbfcf0780683ae770b1d84.json
Support mutable headers in MessagingTemplate AbstractMessageConverter and messaging template implementations now detect and use mutable headers if passed in. The SimpMessagingTemplate is optimized to supporting using a single MessageHeaders instance while preparing a message. This commit also updates code using the ...
spring-messaging/src/main/java/org/springframework/messaging/core/GenericMessagingTemplate.java
@@ -31,6 +31,7 @@ import org.springframework.messaging.MessageHeaders; import org.springframework.messaging.PollableChannel; import org.springframework.messaging.support.MessageBuilder; +import org.springframework.messaging.support.MessageHeaderAccessor; import org.springframework.util.Assert; /** @@ -110,6 +111...
true
Other
spring-projects
spring-framework
fda9c633c4a9457300cbfcf0780683ae770b1d84.json
Support mutable headers in MessagingTemplate AbstractMessageConverter and messaging template implementations now detect and use mutable headers if passed in. The SimpMessagingTemplate is optimized to supporting using a single MessageHeaders instance while preparing a message. This commit also updates code using the ...
spring-messaging/src/main/java/org/springframework/messaging/handler/invocation/AbstractMethodMessageHandler.java
@@ -322,6 +322,7 @@ protected HandlerMethod createHandlerMethod(Object handler, Method method) { @Override public void handleMessage(Message<?> message) throws MessagingException { + String destination = getDestination(message); if (destination == null) { logger.trace("Ignoring message, no destination")...
true
Other
spring-projects
spring-framework
fda9c633c4a9457300cbfcf0780683ae770b1d84.json
Support mutable headers in MessagingTemplate AbstractMessageConverter and messaging template implementations now detect and use mutable headers if passed in. The SimpMessagingTemplate is optimized to supporting using a single MessageHeaders instance while preparing a message. This commit also updates code using the ...
spring-messaging/src/main/java/org/springframework/messaging/simp/SimpMessageSendingOperations.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. @@ -24,43 +24,82 @@ /** * A specialization...
true
Other
spring-projects
spring-framework
fda9c633c4a9457300cbfcf0780683ae770b1d84.json
Support mutable headers in MessagingTemplate AbstractMessageConverter and messaging template implementations now detect and use mutable headers if passed in. The SimpMessagingTemplate is optimized to supporting using a single MessageHeaders instance while preparing a message. This commit also updates code using the ...
spring-messaging/src/main/java/org/springframework/messaging/simp/SimpMessagingTemplate.java
@@ -16,29 +16,25 @@ package org.springframework.messaging.simp; -import java.util.HashMap; import java.util.Map; import org.springframework.messaging.Message; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.MessageDeliveryException; +import org.springframework.messag...
true
Other
spring-projects
spring-framework
fda9c633c4a9457300cbfcf0780683ae770b1d84.json
Support mutable headers in MessagingTemplate AbstractMessageConverter and messaging template implementations now detect and use mutable headers if passed in. The SimpMessagingTemplate is optimized to supporting using a single MessageHeaders instance while preparing a message. This commit also updates code using the ...
spring-messaging/src/main/java/org/springframework/messaging/simp/annotation/support/SendToMethodReturnValueHandler.java
@@ -24,15 +24,14 @@ import org.springframework.messaging.Message; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.MessageHeaders; -import org.springframework.messaging.core.MessagePostProcessor; import org.springframework.messaging.handler.DestinationPatternsMessageConditio...
true
Other
spring-projects
spring-framework
fda9c633c4a9457300cbfcf0780683ae770b1d84.json
Support mutable headers in MessagingTemplate AbstractMessageConverter and messaging template implementations now detect and use mutable headers if passed in. The SimpMessagingTemplate is optimized to supporting using a single MessageHeaders instance while preparing a message. This commit also updates code using the ...
spring-messaging/src/main/java/org/springframework/messaging/simp/annotation/support/SimpAnnotationMethodMessageHandler.java
@@ -58,7 +58,7 @@ import org.springframework.messaging.simp.SimpMessageTypeMessageCondition; import org.springframework.messaging.simp.SimpMessagingTemplate; import org.springframework.messaging.simp.annotation.SubscribeMapping; -import org.springframework.messaging.support.MessageBuilder; +import org.springframewor...
true
Other
spring-projects
spring-framework
fda9c633c4a9457300cbfcf0780683ae770b1d84.json
Support mutable headers in MessagingTemplate AbstractMessageConverter and messaging template implementations now detect and use mutable headers if passed in. The SimpMessagingTemplate is optimized to supporting using a single MessageHeaders instance while preparing a message. This commit also updates code using the ...
spring-messaging/src/main/java/org/springframework/messaging/simp/annotation/support/SubscriptionMethodReturnValueHandler.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,25 +19,25 @@ import org.springframework...
true
Other
spring-projects
spring-framework
fda9c633c4a9457300cbfcf0780683ae770b1d84.json
Support mutable headers in MessagingTemplate AbstractMessageConverter and messaging template implementations now detect and use mutable headers if passed in. The SimpMessagingTemplate is optimized to supporting using a single MessageHeaders instance while preparing a message. This commit also updates code using the ...
spring-messaging/src/test/java/org/springframework/messaging/converter/MessageConverterTests.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. @@ -26,6 +26,8 @@ import org.junit.Test; impo...
true
Other
spring-projects
spring-framework
fda9c633c4a9457300cbfcf0780683ae770b1d84.json
Support mutable headers in MessagingTemplate AbstractMessageConverter and messaging template implementations now detect and use mutable headers if passed in. The SimpMessagingTemplate is optimized to supporting using a single MessageHeaders instance while preparing a message. This commit also updates code using the ...
spring-messaging/src/test/java/org/springframework/messaging/converter/SimpleMessageConverterTests.java
@@ -0,0 +1,74 @@ +/* + * 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 + * + *...
true
Other
spring-projects
spring-framework
fda9c633c4a9457300cbfcf0780683ae770b1d84.json
Support mutable headers in MessagingTemplate AbstractMessageConverter and messaging template implementations now detect and use mutable headers if passed in. The SimpMessagingTemplate is optimized to supporting using a single MessageHeaders instance while preparing a message. This commit also updates code using the ...
spring-messaging/src/test/java/org/springframework/messaging/core/GenericMessagingTemplateTests.java
@@ -16,6 +16,7 @@ package org.springframework.messaging.core; +import java.util.List; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicReference; @@ -27,10 +28,13 @@ import org.springframework.messaging.MessageChannel; import org.spring...
true
Other
spring-projects
spring-framework
fda9c633c4a9457300cbfcf0780683ae770b1d84.json
Support mutable headers in MessagingTemplate AbstractMessageConverter and messaging template implementations now detect and use mutable headers if passed in. The SimpMessagingTemplate is optimized to supporting using a single MessageHeaders instance while preparing a message. This commit also updates code using the ...
spring-messaging/src/test/java/org/springframework/messaging/core/MessageSendingTemplateTests.java
@@ -16,6 +16,7 @@ package org.springframework.messaging.core; +import java.nio.charset.Charset; import java.util.Arrays; import java.util.HashMap; import java.util.Map; @@ -27,6 +28,8 @@ import org.springframework.messaging.MessageHeaders; import org.springframework.messaging.converter.*; import org.springfr...
true
Other
spring-projects
spring-framework
fda9c633c4a9457300cbfcf0780683ae770b1d84.json
Support mutable headers in MessagingTemplate AbstractMessageConverter and messaging template implementations now detect and use mutable headers if passed in. The SimpMessagingTemplate is optimized to supporting using a single MessageHeaders instance while preparing a message. This commit also updates code using the ...
spring-messaging/src/test/java/org/springframework/messaging/simp/SimpMessagingTemplateTests.java
@@ -16,17 +16,27 @@ package org.springframework.messaging.simp; +import org.apache.activemq.transport.stomp.Stomp; import org.junit.Before; import org.junit.Test; import org.springframework.messaging.Message; +import org.springframework.messaging.MessageHeaders; import org.springframework.messaging.StubMessage...
true
Other
spring-projects
spring-framework
fda9c633c4a9457300cbfcf0780683ae770b1d84.json
Support mutable headers in MessagingTemplate AbstractMessageConverter and messaging template implementations now detect and use mutable headers if passed in. The SimpMessagingTemplate is optimized to supporting using a single MessageHeaders instance while preparing a message. This commit also updates code using the ...
spring-messaging/src/test/java/org/springframework/messaging/simp/annotation/support/SendToMethodReturnValueHandlerTests.java
@@ -17,6 +17,7 @@ package org.springframework.messaging.simp.annotation.support; import java.lang.reflect.Method; +import java.nio.charset.Charset; import java.security.Principal; import javax.security.auth.Subject; @@ -27,22 +28,29 @@ import org.mockito.ArgumentCaptor; import org.mockito.Captor; import org....
true
Other
spring-projects
spring-framework
fda9c633c4a9457300cbfcf0780683ae770b1d84.json
Support mutable headers in MessagingTemplate AbstractMessageConverter and messaging template implementations now detect and use mutable headers if passed in. The SimpMessagingTemplate is optimized to supporting using a single MessageHeaders instance while preparing a message. This commit also updates code using the ...
spring-messaging/src/test/java/org/springframework/messaging/simp/annotation/support/SubscriptionMethodReturnValueHandlerTests.java
@@ -17,24 +17,30 @@ package org.springframework.messaging.simp.annotation.support; import java.lang.reflect.Method; +import java.nio.charset.Charset; import java.security.Principal; import org.junit.Before; import org.junit.Test; import org.mockito.ArgumentCaptor; import org.mockito.Captor; import org.mocki...
true