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
486b4101ec6675a53c1595350878a10857518331.json
Introduce MessageHeader accessor types A new type MessageHeaderAccesssor provides read/write access to MessageHeaders along with typed getter/setter methods along the lines of the existing MessageBuilder methods (internally MessageBuilder merely delegates to MessageHeaderAccessor). This class is extensible with sub-cl...
spring-websocket/src/main/java/org/springframework/web/messaging/service/method/MessageReturnValueHandler.java
@@ -21,7 +21,7 @@ import org.springframework.messaging.MessageChannel; import org.springframework.messaging.support.MessageBuilder; import org.springframework.util.Assert; -import org.springframework.web.messaging.support.PubSubHeaderAccesssor; +import org.springframework.web.messaging.support.WebMessageHeaderAccess...
true
Other
spring-projects
spring-framework
486b4101ec6675a53c1595350878a10857518331.json
Introduce MessageHeader accessor types A new type MessageHeaderAccesssor provides read/write access to MessageHeaders along with typed getter/setter methods along the lines of the existing MessageBuilder methods (internally MessageBuilder merely delegates to MessageHeaderAccessor). This class is extensible with sub-cl...
spring-websocket/src/main/java/org/springframework/web/messaging/stomp/support/StompHeaderAccessor.java
@@ -16,8 +16,8 @@ package org.springframework.web.messaging.stomp.support; +import java.util.Arrays; import java.util.Collections; -import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; @@ -26,26 +26,23 @@ import org.springframework.http.MediaType; import org.springfram...
true
Other
spring-projects
spring-framework
486b4101ec6675a53c1595350878a10857518331.json
Introduce MessageHeader accessor types A new type MessageHeaderAccesssor provides read/write access to MessageHeaders along with typed getter/setter methods along the lines of the existing MessageBuilder methods (internally MessageBuilder merely delegates to MessageHeaderAccessor). This class is extensible with sub-cl...
spring-websocket/src/main/java/org/springframework/web/messaging/stomp/support/StompMessageConverter.java
@@ -99,7 +99,7 @@ else if (stompContent instanceof byte[]){ byte[] payload = new byte[totalLength - payloadIndex]; System.arraycopy(byteContent, payloadIndex, payload, 0, totalLength - payloadIndex); - return MessageBuilder.withPayload(payload).copyHeaders(stompHeaders.toHeaders()).build(); + return MessageBu...
true
Other
spring-projects
spring-framework
486b4101ec6675a53c1595350878a10857518331.json
Introduce MessageHeader accessor types A new type MessageHeaderAccesssor provides read/write access to MessageHeaders along with typed getter/setter methods along the lines of the existing MessageBuilder methods (internally MessageBuilder merely delegates to MessageHeaderAccessor). This class is extensible with sub-cl...
spring-websocket/src/main/java/org/springframework/web/messaging/stomp/support/StompRelayPubSubMessageHandler.java
@@ -39,7 +39,7 @@ import org.springframework.web.messaging.converter.MessageConverter; import org.springframework.web.messaging.service.AbstractPubSubMessageHandler; import org.springframework.web.messaging.stomp.StompCommand; -import org.springframework.web.messaging.support.PubSubHeaderAccesssor; +import org.sprin...
true
Other
spring-projects
spring-framework
486b4101ec6675a53c1595350878a10857518331.json
Introduce MessageHeader accessor types A new type MessageHeaderAccesssor provides read/write access to MessageHeaders along with typed getter/setter methods along the lines of the existing MessageBuilder methods (internally MessageBuilder merely delegates to MessageHeaderAccessor). This class is extensible with sub-cl...
spring-websocket/src/main/java/org/springframework/web/messaging/stomp/support/StompWebSocketHandler.java
@@ -38,7 +38,7 @@ import org.springframework.web.messaging.converter.MessageConverter; import org.springframework.web.messaging.stomp.StompCommand; import org.springframework.web.messaging.stomp.StompConversionException; -import org.springframework.web.messaging.support.PubSubHeaderAccesssor; +import org.springframe...
true
Other
spring-projects
spring-framework
486b4101ec6675a53c1595350878a10857518331.json
Introduce MessageHeader accessor types A new type MessageHeaderAccesssor provides read/write access to MessageHeaders along with typed getter/setter methods along the lines of the existing MessageBuilder methods (internally MessageBuilder merely delegates to MessageHeaderAccessor). This class is extensible with sub-cl...
spring-websocket/src/main/java/org/springframework/web/messaging/support/PubSubHeaderAccesssor.java
@@ -1,251 +0,0 @@ -/* - * 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
486b4101ec6675a53c1595350878a10857518331.json
Introduce MessageHeader accessor types A new type MessageHeaderAccesssor provides read/write access to MessageHeaders along with typed getter/setter methods along the lines of the existing MessageBuilder methods (internally MessageBuilder merely delegates to MessageHeaderAccessor). This class is extensible with sub-cl...
spring-websocket/src/main/java/org/springframework/web/messaging/support/PubSubMessageBuilder.java
@@ -29,7 +29,7 @@ */ public class PubSubMessageBuilder<T> { - private final PubSubHeaderAccesssor headers = PubSubHeaderAccesssor.create(); + private final WebMessageHeaderAccesssor headers = WebMessageHeaderAccesssor.create(); private final T payload; @@ -67,11 +67,11 @@ public Message<T> build() { Mes...
true
Other
spring-projects
spring-framework
486b4101ec6675a53c1595350878a10857518331.json
Introduce MessageHeader accessor types A new type MessageHeaderAccesssor provides read/write access to MessageHeaders along with typed getter/setter methods along the lines of the existing MessageBuilder methods (internally MessageBuilder merely delegates to MessageHeaderAccessor). This class is extensible with sub-cl...
spring-websocket/src/main/java/org/springframework/web/messaging/support/WebMessageHeaderAccesssor.java
@@ -0,0 +1,167 @@ +/* + * 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
486b4101ec6675a53c1595350878a10857518331.json
Introduce MessageHeader accessor types A new type MessageHeaderAccesssor provides read/write access to MessageHeaders along with typed getter/setter methods along the lines of the existing MessageBuilder methods (internally MessageBuilder merely delegates to MessageHeaderAccessor). This class is extensible with sub-cl...
spring-websocket/src/test/java/org/springframework/web/messaging/stomp/support/StompMessageConverterTests.java
@@ -53,7 +53,7 @@ public void connectFrame() throws Exception { MessageHeaders headers = message.getHeaders(); StompHeaderAccessor stompHeaders = StompHeaderAccessor.wrap(message); - assertEquals(7, stompHeaders.toHeaders().size()); + assertEquals(7, stompHeaders.toMap().size()); assertEquals(Collections...
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-context/src/main/java/org/springframework/messaging/MessageChannel.java
@@ -23,8 +23,7 @@ * @author Mark Fisher * @since 4.0 */ -@SuppressWarnings("rawtypes") -public interface MessageChannel<M extends Message> { +public interface MessageChannel { /** * Send a {@link Message} to this channel. May throw a RuntimeException for @@ -39,7 +38,7 @@ * * @return whether or not t...
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-context/src/main/java/org/springframework/messaging/MessageFactory.java
@@ -1,40 +0,0 @@ -/* - * 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
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-context/src/main/java/org/springframework/messaging/MessageHandler.java
@@ -24,11 +24,10 @@ * @author Iwein Fuld * @since 4.0 */ -@SuppressWarnings("rawtypes") -public interface MessageHandler<M extends Message> { +public interface MessageHandler { /** - * TODO: support exceptions? + * TODO: exceptions * * Handles the message if possible. If the handler cannot deal with t...
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-context/src/main/java/org/springframework/messaging/MessageHeaders.java
@@ -38,9 +38,6 @@ * IMPORTANT: MessageHeaders are immutable. Any mutating operation (e.g., put(..), putAll(..) etc.) * will result in {@link UnsupportedOperationException} * - * <p> - * TODO: update below instructions - * * <p>To create MessageHeaders instance use fluent MessageBuilder API * <pre> * Message...
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-context/src/main/java/org/springframework/messaging/PollableChannel.java
@@ -0,0 +1,46 @@ +/* + * 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
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-context/src/main/java/org/springframework/messaging/SubscribableChannel.java
@@ -25,18 +25,16 @@ * @author Mark Fisher * @since 4.0 */ -@SuppressWarnings("rawtypes") -public interface SubscribableChannel<M extends Message, H extends MessageHandler<M>> - extends MessageChannel<M> { +public interface SubscribableChannel extends MessageChannel { /** * Register a {@link MessageHandler...
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-context/src/main/java/org/springframework/messaging/support/ErrorMessage.java
@@ -5,7 +5,7 @@ * 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 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribu...
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-context/src/main/java/org/springframework/messaging/support/MessageBuilder.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2010 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,19 +17,25 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-websocket/src/main/java/org/springframework/web/messaging/PubSubChannelRegistry.java
@@ -16,33 +16,29 @@ package org.springframework.web.messaging; -import org.springframework.messaging.Message; -import org.springframework.messaging.MessageHandler; import org.springframework.messaging.SubscribableChannel; /** * @author Rossen Stoyanchev * @since 4.0 */ -@SuppressWarnings("rawtypes") -p...
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-websocket/src/main/java/org/springframework/web/messaging/service/AbstractPubSubMessageHandler.java
@@ -37,8 +37,7 @@ * @author Rossen Stoyanchev * @since 4.0 */ -@SuppressWarnings("rawtypes") -public abstract class AbstractPubSubMessageHandler<M extends Message> implements MessageHandler<M> { +public abstract class AbstractPubSubMessageHandler implements MessageHandler { protected final Log logger = LogFac...
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-websocket/src/main/java/org/springframework/web/messaging/service/ReactorPubSubMessageHandler.java
@@ -44,10 +44,9 @@ * @author Rossen Stoyanchev * @since 4.0 */ -@SuppressWarnings("rawtypes") -public class ReactorPubSubMessageHandler<M extends Message> extends AbstractPubSubMessageHandler<M> { +public class ReactorPubSubMessageHandler extends AbstractPubSubMessageHandler { - private MessageChannel<M> client...
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-websocket/src/main/java/org/springframework/web/messaging/service/method/AnnotationPubSubMessageHandler.java
@@ -54,11 +54,10 @@ * @author Rossen Stoyanchev * @since 4.0 */ -@SuppressWarnings("rawtypes") -public class AnnotationPubSubMessageHandler<M extends Message> extends AbstractPubSubMessageHandler<M> +public class AnnotationPubSubMessageHandler extends AbstractPubSubMessageHandler implements ApplicationContextA...
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-websocket/src/main/java/org/springframework/web/messaging/service/method/ArgumentResolver.java
@@ -27,8 +27,7 @@ * @author Rossen Stoyanchev * @since 4.0 */ -@SuppressWarnings("rawtypes") -public interface ArgumentResolver<M extends Message> { +public interface ArgumentResolver { /** * Whether the given {@linkplain MethodParameter method parameter} is @@ -54,6 +53,6 @@ * * @throws Exception in...
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-websocket/src/main/java/org/springframework/web/messaging/service/method/ArgumentResolverComposite.java
@@ -36,21 +36,20 @@ * @author Rossen Stoyanchev * @since 4.0 */ -@SuppressWarnings("rawtypes") -public class ArgumentResolverComposite<M extends Message> implements ArgumentResolver<M> { +public class ArgumentResolverComposite implements ArgumentResolver { protected final Log logger = LogFactory.getLog(getCla...
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-websocket/src/main/java/org/springframework/web/messaging/service/method/InvocableMessageHandlerMethod.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,10 +44,9 @@ * @author Rossen Stoyanche...
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-websocket/src/main/java/org/springframework/web/messaging/service/method/MessageBodyArgumentResolver.java
@@ -32,8 +32,7 @@ * @author Rossen Stoyanchev * @since 4.0 */ -@SuppressWarnings("rawtypes") -public class MessageBodyArgumentResolver<M extends Message> implements ArgumentResolver<M> { +public class MessageBodyArgumentResolver implements ArgumentResolver { private final MessageConverter converter; @@ -48,...
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-websocket/src/main/java/org/springframework/web/messaging/service/method/MessageChannelArgumentResolver.java
@@ -26,13 +26,12 @@ * @author Rossen Stoyanchev * @since 4.0 */ -@SuppressWarnings("rawtypes") -public class MessageChannelArgumentResolver<M extends Message> implements ArgumentResolver<M> { +public class MessageChannelArgumentResolver implements ArgumentResolver { - private MessageChannel<M> messageBrokerChan...
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-websocket/src/main/java/org/springframework/web/messaging/service/method/MessageReturnValueHandler.java
@@ -16,8 +16,6 @@ package org.springframework.web.messaging.service.method; -import java.util.Map; - import org.springframework.core.MethodParameter; import org.springframework.messaging.Message; import org.springframework.messaging.MessageChannel; @@ -30,13 +28,12 @@ * @author Rossen Stoyanchev * @since 4....
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-websocket/src/main/java/org/springframework/web/messaging/service/method/ReturnValueHandler.java
@@ -27,8 +27,7 @@ * @author Rossen Stoyanchev * @since 4.0 */ -@SuppressWarnings("rawtypes") -public interface ReturnValueHandler<M extends Message> { +public interface ReturnValueHandler { /** * Whether the given {@linkplain MethodParameter method return type} is @@ -51,6 +50,6 @@ * @param message the ...
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-websocket/src/main/java/org/springframework/web/messaging/service/method/ReturnValueHandlerComposite.java
@@ -28,26 +28,25 @@ * @author Rossen Stoyanchev * @since 4.0 */ -@SuppressWarnings("rawtypes") -public class ReturnValueHandlerComposite<M extends Message> implements ReturnValueHandler<M> { +public class ReturnValueHandlerComposite implements ReturnValueHandler { - private final List<ReturnValueHandler<M>> ret...
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-websocket/src/main/java/org/springframework/web/messaging/stomp/support/StompMessageConverter.java
@@ -35,8 +35,7 @@ * @author Rossen Stoyanchev * @since 4.0 */ -@SuppressWarnings("rawtypes") -public class StompMessageConverter<M extends Message> { +public class StompMessageConverter { private static final Charset STOMP_CHARSET = Charset.forName("UTF-8"); @@ -49,7 +48,7 @@ /** * @param stompContent ...
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-websocket/src/main/java/org/springframework/web/messaging/stomp/support/StompRelayPubSubMessageHandler.java
@@ -55,15 +55,14 @@ * @author Rossen Stoyanchev * @since 4.0 */ -@SuppressWarnings("rawtypes") -public class StompRelayPubSubMessageHandler<M extends Message> extends AbstractPubSubMessageHandler<M> +public class StompRelayPubSubMessageHandler extends AbstractPubSubMessageHandler implements SmartLifecycle { ...
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-websocket/src/main/java/org/springframework/web/messaging/stomp/support/StompWebSocketHandler.java
@@ -51,24 +51,22 @@ * @author Rossen Stoyanchev * @since 4.0 */ -@SuppressWarnings("rawtypes") -public class StompWebSocketHandler<M extends Message> extends TextWebSocketHandlerAdapter - implements MessageHandler<M> { +public class StompWebSocketHandler extends TextWebSocketHandlerAdapter implements MessageHand...
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-websocket/src/main/java/org/springframework/web/messaging/support/AbstractPubSubChannelRegistry.java
@@ -17,8 +17,6 @@ package org.springframework.web.messaging.support; import org.springframework.beans.factory.InitializingBean; -import org.springframework.messaging.Message; -import org.springframework.messaging.MessageHandler; import org.springframework.messaging.SubscribableChannel; import org.springframework....
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-websocket/src/main/java/org/springframework/web/messaging/support/ReactorMessageChannel.java
@@ -36,7 +36,7 @@ * @author Rossen Stoyanchev * @since 4.0 */ -public class ReactorMessageChannel implements SubscribableChannel<Message<?>, MessageHandler<Message<?>>> { +public class ReactorMessageChannel implements SubscribableChannel { private static Log logger = LogFactory.getLog(ReactorMessageChannel.cl...
true
Other
spring-projects
spring-framework
32cb2ca2e783da0af754e5a8cad4947d6a9d606a.json
Remove generic params from Message/MessageChannel
spring-websocket/src/main/java/org/springframework/web/messaging/support/ReactorPubSubChannelRegistry.java
@@ -16,8 +16,6 @@ package org.springframework.web.messaging.support; -import org.springframework.messaging.Message; -import org.springframework.messaging.MessageHandler; import org.springframework.util.Assert; import reactor.core.Reactor; @@ -27,7 +25,7 @@ * @author Rossen Stoyanchev * @since 4.0 */ -pub...
true
Other
spring-projects
spring-framework
f7f66f2e5c18a614a7d741b5ca3d6a07cb49fd8e.json
Fix minor issue in ReactorMessageChannel
spring-websocket/src/main/java/org/springframework/web/messaging/support/ReactorMessageChannel.java
@@ -104,7 +104,7 @@ public boolean unsubscribe(MessageHandler<Message<?>> handler) { logger.trace("Channel " + getName() + ", removing subscription for handler " + handler); } - Registration<?> registration = this.registrations.get(handler); + Registration<?> registration = this.registrations.remove(handler)...
false
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
build.properties
@@ -17,13 +17,13 @@ spring.osgi.range="${spring.osgi.range.nq}" aj.osgi.range="[1.6.8, 2.0.0)" ## For GA releases -#release.type=release -#build.stamp=RELEASE +release.type=release +build.stamp=RELEASE ## For milestone releases #release.type=milestone #build.stamp=M1 ## For trunk development / ci builds -re...
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.aop/pom.xml
@@ -4,12 +4,12 @@ <groupId>org.springframework</groupId> <artifactId>spring-aop</artifactId> <packaging>jar</packaging> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <parent> <groupId>org.springframework</groupId> <artifactId>spring-parent</artifactId> <relati...
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.asm/pom.xml
@@ -4,12 +4,12 @@ <groupId>org.springframework</groupId> <artifactId>spring-asm</artifactId> <packaging>jar</packaging> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <parent> <groupId>org.springframework</groupId> <artifactId>spring-parent</artifactId> <relati...
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.aspects/pom.xml
@@ -4,12 +4,12 @@ <groupId>org.springframework</groupId> <artifactId>spring-aspects</artifactId> <packaging>jar</packaging> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <parent> <groupId>org.springframework</groupId> <artifactId>spring-parent</artifactId> <re...
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.beans/pom.xml
@@ -4,12 +4,12 @@ <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId> <packaging>jar</packaging> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <parent> <groupId>org.springframework</groupId> <artifactId>spring-parent</artifactId> <rela...
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.context.support/pom.xml
@@ -4,12 +4,12 @@ <groupId>org.springframework</groupId> <artifactId>spring-context-support</artifactId> <packaging>jar</packaging> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <parent> <groupId>org.springframework</groupId> <artifactId>spring-parent</artifactId> ...
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.context/pom.xml
@@ -6,12 +6,12 @@ <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <packaging>jar</packaging> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <parent> <groupId>org.springframework</groupId> <artifactId>spring-parent</artifactId> <relativePath>....
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.core/pom.xml
@@ -6,12 +6,12 @@ <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <packaging>jar</packaging> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <parent> <groupId>org.springframework</groupId> <artifactId>spring-parent</artifactId> <relativePath>../o...
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.expression/pom.xml
@@ -4,12 +4,12 @@ <groupId>org.springframework</groupId> <artifactId>spring-expression</artifactId> <packaging>jar</packaging> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <parent> <groupId>org.springframework</groupId> <artifactId>spring-parent</artifactId> ...
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.instrument.tomcat/pom.xml
@@ -4,12 +4,12 @@ <groupId>org.springframework</groupId> <artifactId>spring-instrument-tomcat</artifactId> <packaging>jar</packaging> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <parent> <groupId>org.springframework</groupId> <artifactId>spring-parent</artifactId...
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.instrument/pom.xml
@@ -4,12 +4,12 @@ <groupId>org.springframework</groupId> <artifactId>spring-instrument</artifactId> <packaging>jar</packaging> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <parent> <groupId>org.springframework</groupId> <artifactId>spring-parent</artifactId> ...
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.integration-tests/pom.xml
@@ -4,12 +4,12 @@ <groupId>org.springframework</groupId> <artifactId>spring-integration-tests</artifactId> <packaging>jar</packaging> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <parent> <groupId>org.springframework</groupId> <artifactId>spring-parent</artifactId> ...
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.jdbc/pom.xml
@@ -4,12 +4,12 @@ <groupId>org.springframework</groupId> <artifactId>spring-jdbc</artifactId> <packaging>jar</packaging> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <parent> <groupId>org.springframework</groupId> <artifactId>spring-parent</artifactId> <relat...
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.jms/pom.xml
@@ -4,12 +4,12 @@ <groupId>org.springframework</groupId> <artifactId>spring-jms</artifactId> <packaging>jar</packaging> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <parent> <groupId>org.springframework</groupId> <artifactId>spring-parent</artifactId> <relati...
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.orm/pom.xml
@@ -6,12 +6,12 @@ <groupId>org.springframework</groupId> <artifactId>spring-orm</artifactId> <packaging>jar</packaging> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <parent> <groupId>org.springframework</groupId> <artifactId>spring-parent</artifactId> <relativePath>../or...
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.oxm/pom.xml
@@ -6,12 +6,12 @@ <groupId>org.springframework</groupId> <artifactId>spring-oxm</artifactId> <packaging>jar</packaging> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <parent> <groupId>org.springframework</groupId> <artifactId>spring-parent</artifactId> <relativePath>../or...
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.spring-library/pom.xml
@@ -14,7 +14,7 @@ <groupId>org.springframework</groupId> <artifactId>spring-library</artifactId> <packaging>libd</packaging> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <name>Spring Framework</name> <description>Spring is a layered Java/J2EE application platform, based ...
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.spring-parent/pom.xml
@@ -14,7 +14,7 @@ <artifactId>spring-parent</artifactId> <packaging>pom</packaging> <name>Spring Framework - Parent</name> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <description>Spring Framework Parent</description> <scm> <url>https://fisheye.springframework.org/...
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.test/pom.xml
@@ -4,12 +4,12 @@ <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <packaging>jar</packaging> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <parent> <groupId>org.springframework</groupId> <artifactId>spring-parent</artifactId> <relat...
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.transaction/pom.xml
@@ -4,12 +4,12 @@ <groupId>org.springframework</groupId> <artifactId>spring-tx</artifactId> <packaging>jar</packaging> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <parent> <groupId>org.springframework</groupId> <artifactId>spring-parent</artifactId> <relativ...
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.web.portlet/pom.xml
@@ -4,12 +4,12 @@ <groupId>org.springframework</groupId> <artifactId>spring-webmvc-portlet</artifactId> <packaging>jar</packaging> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <parent> <groupId>org.springframework</groupId> <artifactId>spring-parent</artifactId> ...
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.web.servlet/pom.xml
@@ -6,12 +6,12 @@ <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <packaging>jar</packaging> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <parent> <groupId>org.springframework</groupId> <artifactId>spring-parent</artifactId> <relativePath>.....
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.web.struts/pom.xml
@@ -6,12 +6,12 @@ <groupId>org.springframework</groupId> <artifactId>spring-struts</artifactId> <packaging>jar</packaging> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <parent> <groupId>org.springframework</groupId> <artifactId>spring-parent</artifactId> <rel...
true
Other
spring-projects
spring-framework
ac107d0c2ae939c669ba086c2874d02790519b06.json
Release Spring Framework 3.1.0.RELEASE
org.springframework.web/pom.xml
@@ -5,12 +5,12 @@ <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <packaging>jar</packaging> - <version>3.1.0.BUILD-SNAPSHOT</version> + <version>3.1.0.RELEASE</version> <parent> <groupId>org.springframework</groupId> <artifactId>spring-parent</artifactId> <relativePath>../or...
true
Other
spring-projects
spring-framework
e9da8548483fcd725a89e1eb12471f622b89cd19.json
Fix typo in MVC reference documentation
spring-framework-reference/src/mvc.xml
@@ -3412,7 +3412,7 @@ background=/themes/cool/img/coolBg.jpg</programlisting> <filename>MultipartFile</filename> in the method parameters:</para> <programlisting language="java">@Controller -public class FileUpoadController { +public class FileUploadController { @RequestMapping(value = "/form", m...
false
Other
spring-projects
spring-framework
34798a47ab71daf1d62eabf03ae5f708743d42c9.json
Fix warnings, polish Javadoc for @Validated et al.
org.springframework.context/src/main/java/org/springframework/validation/SmartValidator.java
@@ -26,19 +26,18 @@ public interface SmartValidator extends Validator { /** - * Validate the supplied <code>target</code> object, which must be - * of a {@link Class} for which the {@link #supports(Class)} method - * typically has (or would) return <code>true</code>. - * <p>The supplied {@link Errors errors} i...
true
Other
spring-projects
spring-framework
34798a47ab71daf1d62eabf03ae5f708743d42c9.json
Fix warnings, polish Javadoc for @Validated et al.
org.springframework.context/src/main/java/org/springframework/validation/annotation/Validated.java
@@ -58,6 +58,6 @@ * <p>Other {@link org.springframework.validation.SmartValidator} implementations may * support class arguments in other ways as well. */ - Class[] value() default {}; + Class<?>[] value() default {}; }
true
Other
spring-projects
spring-framework
34798a47ab71daf1d62eabf03ae5f708743d42c9.json
Fix warnings, polish Javadoc for @Validated et al.
org.springframework.context/src/main/java/org/springframework/validation/beanvalidation/MethodValidationPostProcessor.java
@@ -46,13 +46,15 @@ * * <p>Applicable methods have JSR-303 constraint annotations on their parameters * and/or on their return value (in the latter case specified at the method level, - * typically as inline annotation). + * typically as inline annotation), e.g.: * - * <p>E.g.: <code>public @NotNull Object myVa...
true
Other
spring-projects
spring-framework
909577082d7e4a74780bf32bf0c54a1370c76b1f.json
Add attributeDoesNotExist ModelResultMatcher Issue: SPR-10509
spring-test-mvc/src/main/java/org/springframework/test/web/servlet/result/ModelResultMatchers.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -87,6 +87,21 @@ public void match(MvcResult ...
true
Other
spring-projects
spring-framework
909577082d7e4a74780bf32bf0c54a1370c76b1f.json
Add attributeDoesNotExist ModelResultMatcher Issue: SPR-10509
spring-test-mvc/src/test/java/org/springframework/test/web/servlet/result/ModelResultMatchersTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,7 +70,17 @@ public void attributeExists_...
true
Other
spring-projects
spring-framework
1e90d029735e809a8ddb1c60f35e76083b1fe084.json
Fix issue with parsing x-forwarded-host header Issue: SPR-10701
spring-webmvc/src/main/java/org/springframework/web/servlet/support/ServletUriComponentsBuilder.java
@@ -94,9 +94,20 @@ public static ServletUriComponentsBuilder fromRequestUri(HttpServletRequest requ public static ServletUriComponentsBuilder fromRequest(HttpServletRequest request) { String scheme = request.getScheme(); int port = request.getServerPort(); - - String header = request.getHeader("X-Forwarded-Hos...
true
Other
spring-projects
spring-framework
1e90d029735e809a8ddb1c60f35e76083b1fe084.json
Fix issue with parsing x-forwarded-host header Issue: SPR-10701
spring-webmvc/src/test/java/org/springframework/web/servlet/support/ServletUriComponentsBuilderTests.java
@@ -16,13 +16,14 @@ package org.springframework.web.servlet.support; -import static org.junit.Assert.assertEquals; - import org.junit.Before; import org.junit.Test; import org.springframework.mock.web.test.MockHttpServletRequest; import org.springframework.web.context.request.RequestContextHolder; import org....
true
Other
spring-projects
spring-framework
ed996ab4b34fc68fa1e544136338725260b60d1b.json
Avoid re-retrieval of singleton bean instances Issue: SPR-10663
spring-beans/src/main/java/org/springframework/beans/factory/support/DefaultListableBeanFactory.java
@@ -471,12 +471,12 @@ public Map<String, Object> getBeansWithAnnotation(Class<? extends Annotation> an Map<String, Object> results = new LinkedHashMap<String, Object>(); for (String beanName : getBeanDefinitionNames()) { BeanDefinition beanDefinition = getBeanDefinition(beanName); - if (!beanDefinition.isAb...
false
Other
spring-projects
spring-framework
4f871d444864d001a049e7817a84f1c59c70016f.json
Fix Jaxb2TypeScanner to scan for @XmlRegistry Update ClassPathJaxb2TypeScanner to scan for @XmlRegistry classes. Prior to this commit explicitly configured @XmlRegistry annotated classes were not registered with the JAXBContext when using the 'packagesToScan' property of the Jaxb2Unmarshaller. Issue: SPR-10714
spring-oxm/src/main/java/org/springframework/oxm/jaxb/ClassPathJaxb2TypeScanner.java
@@ -19,7 +19,9 @@ import java.io.IOException; import java.util.ArrayList; import java.util.List; + import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlRegistry; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotatio...
true
Other
spring-projects
spring-framework
4f871d444864d001a049e7817a84f1c59c70016f.json
Fix Jaxb2TypeScanner to scan for @XmlRegistry Update ClassPathJaxb2TypeScanner to scan for @XmlRegistry classes. Prior to this commit explicitly configured @XmlRegistry annotated classes were not registered with the JAXBContext when using the 'packagesToScan' property of the Jaxb2Unmarshaller. Issue: SPR-10714
spring-oxm/src/test/java/org/springframework/oxm/jaxb/Airplane.java
@@ -0,0 +1,35 @@ +/* + * 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
4f871d444864d001a049e7817a84f1c59c70016f.json
Fix Jaxb2TypeScanner to scan for @XmlRegistry Update ClassPathJaxb2TypeScanner to scan for @XmlRegistry classes. Prior to this commit explicitly configured @XmlRegistry annotated classes were not registered with the JAXBContext when using the 'packagesToScan' property of the Jaxb2Unmarshaller. Issue: SPR-10714
spring-oxm/src/test/java/org/springframework/oxm/jaxb/Jaxb2MarshallerTests.java
@@ -51,10 +51,15 @@ import org.xml.sax.ContentHandler; import org.xml.sax.Locator; -import static org.custommonkey.xmlunit.XMLAssert.assertXMLEqual; + import static org.junit.Assert.*; +import static org.custommonkey.xmlunit.XMLAssert.assertXMLEqual; import static org.mockito.BDDMockito.*; +/** + * @author Arje...
true
Other
spring-projects
spring-framework
4f871d444864d001a049e7817a84f1c59c70016f.json
Fix Jaxb2TypeScanner to scan for @XmlRegistry Update ClassPathJaxb2TypeScanner to scan for @XmlRegistry classes. Prior to this commit explicitly configured @XmlRegistry annotated classes were not registered with the JAXBContext when using the 'packagesToScan' property of the Jaxb2Unmarshaller. Issue: SPR-10714
spring-oxm/src/test/java/org/springframework/oxm/jaxb/Jaxb2UnmarshallerTests.java
@@ -39,6 +39,10 @@ import static org.junit.Assert.*; import static org.mockito.BDDMockito.*; +/** + * @author Arjen Poutsma + * @author Biju Kunjummen + */ public class Jaxb2UnmarshallerTests extends AbstractUnmarshallerTests { private static final String INPUT_STRING = "<tns:flights xmlns:tns=\"http://samples...
true
Other
spring-projects
spring-framework
4f871d444864d001a049e7817a84f1c59c70016f.json
Fix Jaxb2TypeScanner to scan for @XmlRegistry Update ClassPathJaxb2TypeScanner to scan for @XmlRegistry classes. Prior to this commit explicitly configured @XmlRegistry annotated classes were not registered with the JAXBContext when using the 'packagesToScan' property of the Jaxb2Unmarshaller. Issue: SPR-10714
spring-oxm/src/test/java/org/springframework/oxm/jaxb/XmlRegObjectFactory.java
@@ -0,0 +1,16 @@ + +package org.springframework.oxm.jaxb; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + +@XmlRegistry +public class XmlRegObjectFactory { + + @XmlElementDecl(name = "brand-airpla...
true
Other
spring-projects
spring-framework
bc5246938d07820305167e581e7a8ece23ed265e.json
Fix ResourceHttpRequestHandler empty location log Fix ResourceHttpRequestHandler to only log warning when locations is empty. Issue: SPR-10780
spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandler.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -34,6 +34,7 @@ import org.springframework.h...
false
Other
spring-projects
spring-framework
eda60529375b1b4c420f682834e328473bb66bfe.json
Release version 4.0.0.M2
gradle.properties
@@ -1 +1 @@ -version=4.0.0.BUILD-SNAPSHOT +version=4.0.0.M2
false
Other
spring-projects
spring-framework
50333ca68ede797bf40623f95591fe6a2348edca.json
Add Java 7 instrumentation manifest attributes Update META-INF/MANIFEST.MF for spring-instrument to include necessary attributes for running under Java 7: Can-Redefine-Classes : true Can-Retransform-Classes: true Can-Set-Native-Method-Prefix : false (see http://docs.oracle.com/javase/7/docs/api/java/lang...
build.gradle
@@ -267,6 +267,9 @@ project("spring-instrument") { jar { manifest.attributes["Premain-Class"] = "org.springframework.instrument.InstrumentationSavingAgent" + manifest.attributes["Can-Redefine-Classes"] = "true" + manifest.attributes["Can-Retransform-Classes"] = "true" + manifest.attributes["Can-Set-Native-M...
false
Other
spring-projects
spring-framework
4500bf7661493aa236510a4151cd58f7af66e9dd.json
Fix malformed Javadoc
spring-webmvc/src/main/java/org/springframework/web/servlet/tags/MessageTag.java
@@ -44,7 +44,7 @@ * message. Thus, this tag can also be used for HTML escaping of any texts. * * <p>Message arguments can be specified via the {@link #setArguments(Object) arguments} - * attribute or by using nested {@code &lt;spring:argument&gt;} tags. + * attribute or by using nested {@code <spring:argument>} t...
true
Other
spring-projects
spring-framework
4500bf7661493aa236510a4151cd58f7af66e9dd.json
Fix malformed Javadoc
spring-webmvc/src/main/java/org/springframework/web/servlet/tags/ThemeTag.java
@@ -31,7 +31,7 @@ * as default message. * * <p>Message arguments can be specified via the {@link #setArguments(Object) arguments} - * attribute or by using nested {@code &lt;spring:argument&gt;} tags. + * attribute or by using nested {@code <spring:argument>} tags. * * @author Jean-Pierre Pawlak * @author J...
true
Other
spring-projects
spring-framework
915e93cc813508b6e7839d06b66d225fbb685ac7.json
Update TLD versions to 4.0
spring-webmvc/src/main/resources/META-INF/spring-form.tld
@@ -5,7 +5,7 @@ version="2.0"> <description>Spring Framework JSP Form Tag Library</description> - <tlib-version>3.0</tlib-version> + <tlib-version>4.0</tlib-version> <short-name>form</short-name> <uri>http://www.springframework.org/tags/form</uri>
true
Other
spring-projects
spring-framework
915e93cc813508b6e7839d06b66d225fbb685ac7.json
Update TLD versions to 4.0
spring-webmvc/src/main/resources/META-INF/spring.tld
@@ -5,7 +5,7 @@ version="2.0"> <description>Spring Framework JSP Tag Library</description> - <tlib-version>3.0</tlib-version> + <tlib-version>4.0</tlib-version> <short-name>spring</short-name> <uri>http://www.springframework.org/tags</uri>
true
Other
spring-projects
spring-framework
02949fc4a7248c0e329f688c3ae2a1a8eb048e6e.json
Fix failing tests
spring-messaging/src/main/java/org/springframework/messaging/simp/handler/AnnotationMethodMessageHandler.java
@@ -61,6 +61,7 @@ import org.springframework.stereotype.Controller; import org.springframework.util.Assert; import org.springframework.util.ClassUtils; +import org.springframework.util.CollectionUtils; import org.springframework.util.ReflectionUtils.MethodFilter; @@ -270,11 +271,12 @@ private void handleMessage...
true
Other
spring-projects
spring-framework
02949fc4a7248c0e329f688c3ae2a1a8eb048e6e.json
Fix failing tests
spring-messaging/src/main/java/org/springframework/messaging/simp/handler/SimpleBrokerMessageHandler.java
@@ -28,6 +28,7 @@ import org.springframework.messaging.simp.SimpMessageType; import org.springframework.messaging.support.MessageBuilder; import org.springframework.util.Assert; +import org.springframework.util.CollectionUtils; import org.springframework.util.MultiValueMap; @@ -103,11 +104,12 @@ else if (SimpMe...
true
Other
spring-projects
spring-framework
02949fc4a7248c0e329f688c3ae2a1a8eb048e6e.json
Fix failing tests
spring-messaging/src/test/java/org/springframework/messaging/simp/handler/SimpleBrokerMessageHandlerTests.java
@@ -36,7 +36,7 @@ * @author Rossen Stoyanchev * @since 4.0 */ -public class SimpleBrokerWebMessageHandlerTests { +public class SimpleBrokerMessageHandlerTests { private SimpleBrokerMessageHandler messageHandler;
true
Other
spring-projects
spring-framework
f86a3283be6ddd209786a81cd892b16154105799.json
Add Java SE Javadoc links Issue: SPR-10587
build.gradle
@@ -79,6 +79,7 @@ configure(allprojects) { project -> } ext.javadocLinks = [ + "http://docs.oracle.com/javase/7/docs/api/", "http://docs.oracle.com/javaee/6/api/", "http://docs.oracle.com/cd/E13222_01/wls/docs90/javadocs/", // CommonJ "http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphe...
false
Other
spring-projects
spring-framework
1a8f0d6a9e37d12b31a2fe7bc1fbc2c91700a08e.json
Resolve ${} placeholders in @ImportResource Update ConfigurationClassParser to resolve any ${} placeholders from @ImportResource values. Issue: SPR-10686
spring-context/src/main/java/org/springframework/context/annotation/ConfigurationClassParser.java
@@ -257,7 +257,8 @@ protected final SourceClass doProcessConfigurationClass( String[] resources = importResource.getStringArray("value"); Class<? extends BeanDefinitionReader> readerClass = importResource.getClass("reader"); for (String resource : resources) { - configClass.addImportedResource(resource, ...
true
Other
spring-projects
spring-framework
1a8f0d6a9e37d12b31a2fe7bc1fbc2c91700a08e.json
Resolve ${} placeholders in @ImportResource Update ConfigurationClassParser to resolve any ${} placeholders from @ImportResource values. Issue: SPR-10686
spring-context/src/test/java/org/springframework/context/annotation/configuration/ImportResourceTests.java
@@ -16,14 +16,17 @@ package org.springframework.context.annotation.configuration; +import java.util.Collections; + import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Before; + import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.*; + import org.junit.Ignore; im...
true
Other
spring-projects
spring-framework
7bab8796237a1104dd21413a3e96c311bab1889d.json
Fix issue with xpath assertions in Spring Test MVC Issue: SPR-10704
spring-test-mvc/src/main/java/org/springframework/test/util/XpathExpectationsHelper.java
@@ -16,9 +16,6 @@ package org.springframework.test.util; -import static org.springframework.test.util.AssertionErrors.*; -import static org.springframework.test.util.MatcherAssertionErrors.*; - import java.io.StringReader; import java.util.Collections; import java.util.Map; @@ -33,12 +30,16 @@ import javax.xml...
true
Other
spring-projects
spring-framework
7bab8796237a1104dd21413a3e96c311bab1889d.json
Fix issue with xpath assertions in Spring Test MVC Issue: SPR-10704
spring-test-mvc/src/test/java/org/springframework/test/web/servlet/samples/standalone/resultmatchers/XpathAssertionTests.java
@@ -16,17 +16,6 @@ package org.springframework.test.web.servlet.samples.standalone.resultmatchers; -import static org.hamcrest.Matchers.closeTo; -import static org.hamcrest.Matchers.equalTo; -import static org.hamcrest.Matchers.notNullValue; -import static org.hamcrest.Matchers.nullValue; -import static org.hamcre...
true
Other
spring-projects
spring-framework
82ec06ad349426acf663f8edc22dd7716c4ff2cd.json
Fix bug in SockJS JsonpTransportHandler Issue: SPR-10621
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/JsonpTransportHandler.java
@@ -61,7 +61,8 @@ public void handleRequestInternal(ServerHttpRequest request, ServerHttpResponse @Override protected String[] readMessages(ServerHttpRequest request) throws IOException { - if (MediaType.APPLICATION_FORM_URLENCODED.equals(request.getHeaders().getContentType())) { + MediaType contentType = reque...
true
Other
spring-projects
spring-framework
82ec06ad349426acf663f8edc22dd7716c4ff2cd.json
Fix bug in SockJS JsonpTransportHandler Issue: SPR-10621
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/transport/HttpReceivingTransportHandlerTests.java
@@ -73,6 +73,18 @@ public void readMessagesJsonpFormEncoded() throws Exception { assertEquals("ok", this.servletResponse.getContentAsString()); } + // SPR-10621 + + @Test + public void readMessagesJsonpFormEncodedWithEncoding() throws Exception { + this.servletRequest.setContent("d=[\"x\"]".getBytes("UTF-8")); ...
true
Other
spring-projects
spring-framework
2a15b5a89585c24203e32537b0306cff45076638.json
Enable asyncSupported flag in Spring Test MVC Also remove Servlet 3 bridge classes no longer needed since Spring Framework 4 compiles with the Servlet 3 API. That means applications may need to run tests with the Servlet 3 API jar although technically they don't have to run with that in production.
spring-test-mvc/src/main/java/org/springframework/test/web/servlet/request/MockAsyncContext.java
@@ -1,145 +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
2a15b5a89585c24203e32537b0306cff45076638.json
Enable asyncSupported flag in Spring Test MVC Also remove Servlet 3 bridge classes no longer needed since Spring Framework 4 compiles with the Servlet 3 API. That means applications may need to run tests with the Servlet 3 API jar although technically they don't have to run with that in production.
spring-test-mvc/src/main/java/org/springframework/test/web/servlet/request/MockHttpServletRequestBuilder.java
@@ -653,6 +653,8 @@ public final MockHttpServletRequest buildRequest(ServletContext servletContext) Assert.notNull(request, "Post-processor [" + postProcessor.getClass().getName() + "] returned null"); } + request.setAsyncSupported(true); + return request; }
true
Other
spring-projects
spring-framework
2a15b5a89585c24203e32537b0306cff45076638.json
Enable asyncSupported flag in Spring Test MVC Also remove Servlet 3 bridge classes no longer needed since Spring Framework 4 compiles with the Servlet 3 API. That means applications may need to run tests with the Servlet 3 API jar although technically they don't have to run with that in production.
spring-test-mvc/src/main/java/org/springframework/test/web/servlet/request/Servlet3MockHttpServletRequest.java
@@ -1,114 +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
2a15b5a89585c24203e32537b0306cff45076638.json
Enable asyncSupported flag in Spring Test MVC Also remove Servlet 3 bridge classes no longer needed since Spring Framework 4 compiles with the Servlet 3 API. That means applications may need to run tests with the Servlet 3 API jar although technically they don't have to run with that in production.
spring-test-mvc/src/main/java/org/springframework/test/web/servlet/request/Servlet3MockMultipartHttpServletRequest.java
@@ -1,109 +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
2a15b5a89585c24203e32537b0306cff45076638.json
Enable asyncSupported flag in Spring Test MVC Also remove Servlet 3 bridge classes no longer needed since Spring Framework 4 compiles with the Servlet 3 API. That means applications may need to run tests with the Servlet 3 API jar although technically they don't have to run with that in production.
spring-test-mvc/src/main/java/org/springframework/test/web/servlet/setup/StandaloneMockMvcBuilder.java
@@ -47,6 +47,7 @@ import org.springframework.web.servlet.config.annotation.InterceptorRegistration; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport; +import org.springframework.web.servlet.handler.Abstra...
true
Other
spring-projects
spring-framework
860e56ea8447f30beb2edb7483485177e8c0c709.json
Fix minor issue in WebSocketHttpRequestHandler Issue: SPR-10721
spring-websocket/src/main/java/org/springframework/web/socket/server/support/WebSocketHttpRequestHandler.java
@@ -65,7 +65,7 @@ public WebSocketHttpRequestHandler( WebSocketHandler webSocketHandler, Handshake Assert.notNull(webSocketHandler, "webSocketHandler must not be null"); Assert.notNull(handshakeHandler, "handshakeHandler must not be null"); this.webSocketHandler = decorateWebSocketHandler(webSocketHandler); - ...
false
Other
spring-projects
spring-framework
a109d6adc701e981eede518fd4b707b888ea4623.json
Set heartbeat to 0,0 on CONNECT to message broker
spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandler.java
@@ -292,10 +292,36 @@ public void handleMessage(Message<?> message) { try { if ((destination == null) || supportsDestination(destination)) { + if (logger.isTraceEnabled()) { logger.trace("Processing message: " + message); } - handleInternal(message, messageType, sessionId); + + if (SimpMe...
false
Other
spring-projects
spring-framework
6eea4ad68be1d049652911813ac62b0b92a2e72e.json
Upgrade websocket module to servlet api 3.1.0
build.gradle
@@ -493,7 +493,7 @@ project("spring-websocket") { compile(project(":spring-core")) compile(project(":spring-context")) compile(project(":spring-web")) - optional("javax.servlet:javax.servlet-api:3.1-b09") + optional("javax.servlet:javax.servlet-api:3.1.0") optional("javax.websocket:javax.websocket-api:1.0...
true
Other
spring-projects
spring-framework
6eea4ad68be1d049652911813ac62b0b92a2e72e.json
Upgrade websocket module to servlet api 3.1.0
spring-websocket/src/main/java/org/springframework/web/socket/server/support/GlassFishRequestUpgradeStrategy.java
@@ -37,6 +37,7 @@ import org.glassfish.tyrus.servlet.TyrusHttpUpgradeHandler; import org.glassfish.tyrus.websockets.Connection; import org.glassfish.tyrus.websockets.Version; +import org.glassfish.tyrus.websockets.WebSocketApplication; import org.glassfish.tyrus.websockets.WebSocketEngine; import org.glassfish.tyr...
true