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
9706e5cc99b0553b88178ac669f46839c747b81b.json
Update Javadoc on SockJS client library URL Issue: SPR-11766
spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/SockJsServiceRegistration.java
@@ -73,16 +73,22 @@ public SockJsServiceRegistration setTaskScheduler(TaskScheduler taskScheduler) { } /** - * Transports which don't support cross-domain communication natively (e.g. - * "eventsource", "htmlfile") rely on serving a simple page (using the - * "foreign" domain) from an invisible iframe. Code ru...
true
Other
spring-projects
spring-framework
9706e5cc99b0553b88178ac669f46839c747b81b.json
Update Javadoc on SockJS client library URL Issue: SPR-11766
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/support/AbstractSockJsService.java
@@ -101,16 +101,22 @@ public String getName() { } /** - * Transports which don't support cross-domain communication natively (e.g. - * "eventsource", "htmlfile") rely on serving a simple page (using the - * "foreign" domain) from an invisible iframe. Code run from this iframe - * doesn't need to worry about c...
true
Other
spring-projects
spring-framework
9706e5cc99b0553b88178ac669f46839c747b81b.json
Update Javadoc on SockJS client library URL Issue: SPR-11766
spring-websocket/src/main/resources/org/springframework/web/socket/config/spring-websocket-4.0.xsd
@@ -144,7 +144,22 @@ <xsd:attribute name="client-library-url" type="xsd:string"> <xsd:annotation> <xsd:documentation source="java:org.springframework.web.socket.sockjs.support.AbstractSockJsService"><![CDATA[ - URL of the JavaScript client library. Defaults to "https://d1fxtkz8shb...
true
Other
spring-projects
spring-framework
8b8afe3def341da37c4db03f04ac87414326b34f.json
Fix a typo
spring-beans/src/main/java/org/springframework/beans/factory/ListableBeanFactory.java
@@ -101,7 +101,7 @@ public interface ListableBeanFactory extends BeanFactory { * by other means than bean definitions. * <p>This version of {@code getBeanNamesForType} matches all kinds of beans, * be it singletons, prototypes, or FactoryBeans. In most implementations, the - * result will be the same as for {...
false
Other
spring-projects
spring-framework
674bad4cfa21f40f9d8103ce729c54c2092a9f93.json
Clarify the use of sessionTransacted This commit clarifies the role of the external transactionManager for a DMLC and the relationship with the sessionTransacted flag Issue: SPR-9200
spring-jms/src/main/java/org/springframework/jms/listener/AbstractMessageListenerContainer.java
@@ -104,15 +104,13 @@ * runtime processing overhead. * </ul> * - * <p>Note that it is also possible to specify a - * {@link org.springframework.jms.connection.JmsTransactionManager} as external - * "transactionManager", providing fully synchronized Spring transactions based - * on local JMS transactions. The effe...
true
Other
spring-projects
spring-framework
674bad4cfa21f40f9d8103ce729c54c2092a9f93.json
Clarify the use of sessionTransacted This commit clarifies the role of the external transactionManager for a DMLC and the relationship with the sessionTransacted flag Issue: SPR-9200
spring-jms/src/main/java/org/springframework/jms/listener/AbstractPollingMessageListenerContainer.java
@@ -132,11 +132,13 @@ protected boolean isPubSubNoLocal() { * Simply switch the {@link #setSessionTransacted "sessionTransacted"} flag * to "true" in order to use a locally transacted JMS Session for the entire * receive processing, including any Session operations performed by a - * {@link SessionAwareMessag...
true
Other
spring-projects
spring-framework
674bad4cfa21f40f9d8103ce729c54c2092a9f93.json
Clarify the use of sessionTransacted This commit clarifies the role of the external transactionManager for a DMLC and the relationship with the sessionTransacted flag Issue: SPR-9200
spring-jms/src/main/java/org/springframework/jms/listener/DefaultMessageListenerContainer.java
@@ -262,12 +262,13 @@ public void setCacheLevelName(String constantName) throws IllegalArgumentExcepti * <p>Default is {@link #CACHE_NONE} if an external transaction manager has been specified * (to reobtain all resources freshly within the scope of the external transaction), * and {@link #CACHE_CONSUMER} othe...
true
Other
spring-projects
spring-framework
674bad4cfa21f40f9d8103ce729c54c2092a9f93.json
Clarify the use of sessionTransacted This commit clarifies the role of the external transactionManager for a DMLC and the relationship with the sessionTransacted flag Issue: SPR-9200
spring-jms/src/main/java/org/springframework/jms/support/JmsAccessor.java
@@ -86,7 +86,7 @@ public ConnectionFactory getConnectionFactory() { * <p>Setting this flag to "true" will use a short local JMS transaction * when running outside of a managed transaction, and a synchronized local * JMS transaction in case of a managed transaction (other than an XA - * transaction) being pres...
true
Other
spring-projects
spring-framework
12a9df8a1c1a24afdaabd615de33ed265250fa4d.json
Throw a proper exception if no convert is found Prior to this commit, no exception was raised if a message could not be converted to the requested payload because no suitable converter were found. This commit adds an explicit check if the converted payload is null. Issue: SPR-11817
spring-jms/src/main/java/org/springframework/jms/messaging/JmsMessagingTemplate.java
@@ -194,11 +194,10 @@ public Message<?> receive(String destinationName) throws MessagingException { } @Override - @SuppressWarnings("unchecked") public <T> T receiveAndConvert(String destinationName, Class<T> targetClass) throws MessagingException { Message<?> message = doReceive(destinationName); if (mes...
true
Other
spring-projects
spring-framework
12a9df8a1c1a24afdaabd615de33ed265250fa4d.json
Throw a proper exception if no convert is found Prior to this commit, no exception was raised if a message could not be converted to the requested payload because no suitable converter were found. This commit adds an explicit check if the converted payload is null. Issue: SPR-11817
spring-jms/src/test/java/org/springframework/jms/messaging/JmsMessagingTemplateTests.java
@@ -26,7 +26,6 @@ import javax.jms.TextMessage; import org.junit.Before; -import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; @@ -326,12 +325,11 @@ public void receiveAndConvertWithConversion() { } @Test - @Ignore("SPR-11817") public void recei...
true
Other
spring-projects
spring-framework
12a9df8a1c1a24afdaabd615de33ed265250fa4d.json
Throw a proper exception if no convert is found Prior to this commit, no exception was raised if a message could not be converted to the requested payload because no suitable converter were found. This commit adds an explicit check if the converted payload is null. Issue: SPR-11817
spring-messaging/src/main/java/org/springframework/messaging/core/AbstractMessageReceivingTemplate.java
@@ -17,6 +17,8 @@ package org.springframework.messaging.core; import org.springframework.messaging.Message; +import org.springframework.messaging.converter.MessageConversionException; +import org.springframework.messaging.converter.MessageConverter; /** * An extension of {@link AbstractMessageSendingTemplate} ...
true
Other
spring-projects
spring-framework
12a9df8a1c1a24afdaabd615de33ed265250fa4d.json
Throw a proper exception if no convert is found Prior to this commit, no exception was raised if a message could not be converted to the requested payload because no suitable converter were found. This commit adds an explicit check if the converted payload is null. Issue: SPR-11817
spring-messaging/src/test/java/org/springframework/messaging/core/MessageReceivingTemplateTests.java
@@ -17,13 +17,23 @@ package org.springframework.messaging.core; import org.junit.Before; +import org.junit.Rule; import org.junit.Test; +import org.junit.rules.ExpectedException; + +import org.springframework.core.convert.ConversionFailedException; +import org.springframework.core.convert.support.DefaultConversion...
true
Other
spring-projects
spring-framework
05041ff39aa57df2897f503a3fa2d03275d03e91.json
Update JMS documentation This commit updates the JMS documentation regarding the side effects of not using the cache with a non durable subscriber. Issue: SPR-7883
src/asciidoc/index.adoc
@@ -40583,6 +40583,11 @@ This listener container strikes a good balance between low requirements on the J provider, advanced functionality such as transaction participation, and compatibility with Java EE environments. +The cache level of the container can be customized. Note that when no caching is enabled, +a new...
false
Other
spring-projects
spring-framework
e3a6fce403901499c18b8a794be02e7b46af268b.json
Add Gson converter to MVC config Issue: SPR-9488
spring-webmvc/src/main/java/org/springframework/web/servlet/config/AnnotationDrivenBeanDefinitionParser.java
@@ -20,6 +20,7 @@ import java.util.Properties; import org.springframework.web.servlet.mvc.method.annotation.JsonViewResponseBodyInterceptor; +import org.springframework.http.converter.json.GsonHttpMessageConverter; import org.w3c.dom.Element; import org.springframework.beans.factory.FactoryBean; @@ -144,6 +145,...
true
Other
spring-projects
spring-framework
e3a6fce403901499c18b8a794be02e7b46af268b.json
Add Gson converter to MVC config Issue: SPR-9488
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupport.java
@@ -44,6 +44,7 @@ import org.springframework.http.converter.StringHttpMessageConverter; import org.springframework.http.converter.feed.AtomFeedHttpMessageConverter; import org.springframework.http.converter.feed.RssChannelHttpMessageConverter; +import org.springframework.http.converter.json.GsonHttpMessageConverter;...
true
Other
spring-projects
spring-framework
e2aba3d31799ef108dd99f34a212f8e663764102.json
Add sonar integration. This commit configures the SonarRunner plugin so that SonarQube can be used against the project. A few customizations were applied to namely exclude the asm and cglib repackaged classes. Issue: SPR-10766
build.gradle
@@ -10,6 +10,15 @@ buildscript { } } +ext { + linkHomepage = 'https://projects.spring.io/spring-framework' + linkCi = 'https://build.spring.io/browse/SPR' + linkIssue = 'https://jira.spring.io/browse/SPR' + linkScmUrl = 'https://github.com/spring-projects/spring-framework' + linkScmConnection = 'scm:git:git://gith...
false
Other
spring-projects
spring-framework
5b35fc2d77fe403d3dd54127121f02a45c571775.json
Add JmsTemplate accessor in JmsMessagingTemplate
spring-jms/src/main/java/org/springframework/jms/core/JmsMessagingTemplate.java
@@ -76,6 +76,13 @@ public void setJmsTemplate(JmsTemplate jmsTemplate) { this.jmsTemplate = jmsTemplate; } + /** + * Return the configured {@link JmsTemplate}. + */ + public JmsTemplate getJmsTemplate() { + return jmsTemplate; + } + /** * Set the {@link MessageConverter} to use to convert a {@link Messag...
true
Other
spring-projects
spring-framework
5b35fc2d77fe403d3dd54127121f02a45c571775.json
Add JmsTemplate accessor in JmsMessagingTemplate
spring-jms/src/test/java/org/springframework/jms/core/JmsMessagingTemplateTests.java
@@ -77,6 +77,11 @@ public void setup() { messagingTemplate = new JmsMessagingTemplate(jmsTemplate); } + @Test + public void validateJmsTemplate() { + assertSame(this.jmsTemplate, messagingTemplate.getJmsTemplate()); + } + @Test public void send() { Destination destination = new Destination() {};
true
Other
spring-projects
spring-framework
a635c3647086caf734c5f529e3112f1c03ce6d8e.json
Fix doc typo
src/asciidoc/index.adoc
@@ -42155,7 +42155,7 @@ choices and message redelivery scenarios. | back-off | Specify the `BackOff` instance to use to compute the interval between recovery attempts. If the `BackOffExecution` implementation returns `BackOffExecution#STOP`, - the listener container will not further attempt to recover. The `recov...
false
Other
spring-projects
spring-framework
0b2c0cfb4f8194c3dbb0b1fb1c0a6e08e18207a0.json
Fix some warning
spring-expression/src/test/java/org/springframework/expression/spel/IndexingTests.java
@@ -312,6 +312,7 @@ public void emptyList() { assertEquals("", expression.getValue(this, String.class)); } + @SuppressWarnings("unchecked") @Test public void resolveCollectionElementType() { listNotGeneric = new ArrayList(2); @@ -339,6 +340,7 @@ public void resolveCollectionElementTypeNull() { } + @...
true
Other
spring-projects
spring-framework
0b2c0cfb4f8194c3dbb0b1fb1c0a6e08e18207a0.json
Fix some warning
spring-expression/src/test/java/org/springframework/expression/spel/SpelCompilationCoverageTests.java
@@ -2529,7 +2529,8 @@ public int getKey2() { return 1; } } - + + @SuppressWarnings("serial") public static class MessageHeaders extends HashMap<String,Object> { } public static class GenericMessageTestHelper<T> {
true
Other
spring-projects
spring-framework
0b2c0cfb4f8194c3dbb0b1fb1c0a6e08e18207a0.json
Fix some warning
spring-test/src/main/java/org/springframework/test/context/ContextConfiguration.java
@@ -53,8 +53,8 @@ * The term <em>annotated class</em> can refer to any of the following. * * <ul> - * <li>A class annotated with {@link org.springframework.context.annotation.Configuration - * @Configuration}</li> + * <li>A class annotated with @{@link org.springframework.context.annotation.Configuration + * Conf...
true
Other
spring-projects
spring-framework
0b2c0cfb4f8194c3dbb0b1fb1c0a6e08e18207a0.json
Fix some warning
spring-test/src/main/java/org/springframework/test/context/transaction/TransactionalTestExecutionListener.java
@@ -114,7 +114,7 @@ * {@link org.springframework.transaction.annotation.TransactionManagementConfigurer TransactionManagementConfigurer} * can be implemented by an * {@link org.springframework.context.annotation.Configuration @Configuration} - * class. See {@link TestContextTransactionUtils#retrieveTransactionMan...
true
Other
spring-projects
spring-framework
e0103095301c580643d602ab6cd25d37b51d22ca.json
Use @Payload on method declaration Issue: SPR-12071
spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/Payload.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,14 +25,15 @@ import org.springframework...
false
Other
spring-projects
spring-framework
095bd99951181bf7aeafcb115f59649b47834453.json
Add support for inline maps in SpEL expressions This commit introduces the ability to specify an inline map in an expression. The syntax is similar to inline lists and of the form: "{key:value,key2:value}". The keys can optionally be quoted. The documentation is also updated with information on the syntax. Issue: SPR...
spring-expression/src/main/java/org/springframework/expression/spel/ast/InlineList.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. @@ -119,7 +119,7 @@ public boolean isConstant()...
true
Other
spring-projects
spring-framework
095bd99951181bf7aeafcb115f59649b47834453.json
Add support for inline maps in SpEL expressions This commit introduces the ability to specify an inline map in an expression. The syntax is similar to inline lists and of the form: "{key:value,key2:value}". The keys can optionally be quoted. The documentation is also updated with information on the syntax. Issue: SPR...
spring-expression/src/main/java/org/springframework/expression/spel/ast/InlineMap.java
@@ -0,0 +1,162 @@ +/* + * Copyright 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
095bd99951181bf7aeafcb115f59649b47834453.json
Add support for inline maps in SpEL expressions This commit introduces the ability to specify an inline map in an expression. The syntax is similar to inline lists and of the form: "{key:value,key2:value}". The keys can optionally be quoted. The documentation is also updated with information on the syntax. Issue: SPR...
spring-expression/src/main/java/org/springframework/expression/spel/standard/InternalSpelExpressionParser.java
@@ -39,6 +39,7 @@ import org.springframework.expression.spel.ast.Identifier; import org.springframework.expression.spel.ast.Indexer; import org.springframework.expression.spel.ast.InlineList; +import org.springframework.expression.spel.ast.InlineMap; import org.springframework.expression.spel.ast.Literal; import o...
true
Other
spring-projects
spring-framework
095bd99951181bf7aeafcb115f59649b47834453.json
Add support for inline maps in SpEL expressions This commit introduces the ability to specify an inline map in an expression. The syntax is similar to inline lists and of the form: "{key:value,key2:value}". The keys can optionally be quoted. The documentation is also updated with information on the syntax. Issue: SPR...
spring-expression/src/test/java/org/springframework/expression/spel/EvaluationTests.java
@@ -1401,6 +1401,11 @@ public void incrementAllNodeTypes() throws SecurityException, NoSuchMethodExcept expectFailNotAssignable(parser, ctx, "--({1,2,3})"); expectFailSetValueNotSupported(parser, ctx, "({1,2,3})=({1,2,3})"); + // InlineMap + expectFailNotAssignable(parser, ctx, "({'a':1,'b':2,'c':3})++"); + ...
true
Other
spring-projects
spring-framework
095bd99951181bf7aeafcb115f59649b47834453.json
Add support for inline maps in SpEL expressions This commit introduces the ability to specify an inline map in an expression. The syntax is similar to inline lists and of the form: "{key:value,key2:value}". The keys can optionally be quoted. The documentation is also updated with information on the syntax. Issue: SPR...
spring-expression/src/test/java/org/springframework/expression/spel/MapAccessTests.java
@@ -93,7 +93,6 @@ public void testGetValue(){ public void testGetValueFromRootMap() { Map<String, String> map = new HashMap<String, String>(); map.put("key", "value"); - EvaluationContext context = new StandardEvaluationContext(map); ExpressionParser spelExpressionParser = new SpelExpressionParser(); E...
true
Other
spring-projects
spring-framework
095bd99951181bf7aeafcb115f59649b47834453.json
Add support for inline maps in SpEL expressions This commit introduces the ability to specify an inline map in an expression. The syntax is similar to inline lists and of the form: "{key:value,key2:value}". The keys can optionally be quoted. The documentation is also updated with information on the syntax. Issue: SPR...
spring-expression/src/test/java/org/springframework/expression/spel/MapTests.java
@@ -0,0 +1,138 @@ +/* + * Copyright 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
095bd99951181bf7aeafcb115f59649b47834453.json
Add support for inline maps in SpEL expressions This commit introduces the ability to specify an inline map in an expression. The syntax is similar to inline lists and of the form: "{key:value,key2:value}". The keys can optionally be quoted. The documentation is also updated with information on the syntax. Issue: SPR...
spring-expression/src/test/java/org/springframework/expression/spel/ParsingTests.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. @@ -298,30 +298,26 @@ public void testPropertie...
true
Other
spring-projects
spring-framework
095bd99951181bf7aeafcb115f59649b47834453.json
Add support for inline maps in SpEL expressions This commit introduces the ability to specify an inline map in an expression. The syntax is similar to inline lists and of the form: "{key:value,key2:value}". The keys can optionally be quoted. The documentation is also updated with information on the syntax. Issue: SPR...
src/asciidoc/index.adoc
@@ -11058,6 +11058,7 @@ The expression language supports the following functionality * Bean references * Array construction * Inline lists +* Inline maps * Ternary operator * Variables * User defined functions @@ -11562,7 +11563,22 @@ Lists can be expressed directly in an expression using `{}` notation. entirely...
true
Other
spring-projects
spring-framework
3c72849ee44d62bc5beb82ea81a0754fc4571c41.json
Fix broken link
src/asciidoc/index.adoc
@@ -47241,7 +47241,7 @@ caching occurs.It as well improves performance but does that by allowing the sam to be read multiple times in a fast fashion. A further explanation of the differences between two can be found -http://en.wikipedia.org/wiki/Cache#The_difference_between_buffer_and_cache[here]. +http://en.wikipe...
false
Other
spring-projects
spring-framework
59c5d7d1caaac23ceeb78f1c21388028c8134b9d.json
Add messaging module section Issue: SPR-11847
src/asciidoc/index.adoc
@@ -157,7 +157,27 @@ arithmetic operators, named variables, and retrieval of objects by name from Spr IoC container. It also supports list projection and selection as well as common list aggregations. +[[overview-aop-instrumentation]] +==== AOP and Instrumentation +Spring's <<aop-introduction,__AOP__>> module provi...
false
Other
spring-projects
spring-framework
32975be2a2a5e260b020b3dc1b75d9d7576939da.json
Avoid duplicate entries Prior to this commit, the schema distribution archive contains duplicate entries for the more recent XSD as it is reference both with its version and as the "default" XSD (i.e. without a version). This commit configures the task to apply a duplicatesStrategy so that only the first entry remain...
build.gradle
@@ -1171,7 +1171,7 @@ configure(rootProject) { classifier = "schema" description = "Builds -${classifier} archive containing all " + "XSDs for deployment at http://springframework.org/schema." - + duplicatesStrategy 'exclude' subprojects.each { subproject -> def Properties schemas = new Properties(); ...
false
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/AbstractAutoProxyCreator.java
@@ -45,7 +45,6 @@ import org.springframework.beans.factory.config.ConfigurableBeanFactory; import org.springframework.beans.factory.config.ConfigurableListableBeanFactory; import org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor; -import org.springframework.core.Ordered; /** * {@...
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-beans/src/test/java/org/springframework/beans/factory/annotation/AutowiredAnnotationBeanPostProcessorTests.java
@@ -52,7 +52,6 @@ import org.springframework.util.SerializationTestUtils; import static org.junit.Assert.*; -import static org.mockito.Matchers.any; import static org.mockito.Mockito.*; /**
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-beans/src/test/java/org/springframework/beans/factory/support/FactoryAwareOrderProviderTests.java
@@ -18,8 +18,6 @@ import static org.junit.Assert.*; import static org.mockito.BDDMockito.*; -import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.verify; import java.lang.reflect.Method; import java.util.HashMap;
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-context/src/main/java/org/springframework/scheduling/annotation/AsyncConfigurationSelector.java
@@ -18,7 +18,6 @@ import org.springframework.context.annotation.AdviceMode; import org.springframework.context.annotation.AdviceModeImportSelector; -import org.springframework.context.annotation.AnnotationConfigUtils; /** * Selects which implementation of {@link AbstractAsyncConfiguration} should be used based
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-context/src/main/java/org/springframework/scheduling/concurrent/ScheduledExecutorFactoryBean.java
@@ -28,7 +28,6 @@ import org.springframework.scheduling.support.DelegatingErrorHandlingRunnable; import org.springframework.scheduling.support.TaskUtils; import org.springframework.util.Assert; -import org.springframework.util.ClassUtils; import org.springframework.util.ObjectUtils; /**
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-context/src/test/java/org/springframework/cache/interceptor/CacheErrorHandlerTests.java
@@ -18,11 +18,7 @@ import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.*; -import static org.mockito.BDDMockito.doReturn; -import static org.mockito.BDDMockito.doThrow; import static org.mockito.BDDMockito.*; -import static org.mockito.BDDMockito.verify; -import static org.mockito.Mockito.moc...
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-jms/src/main/java/org/springframework/jms/listener/AbstractPollingMessageListenerContainer.java
@@ -22,7 +22,6 @@ import javax.jms.Message; import javax.jms.MessageConsumer; import javax.jms.Session; -import javax.jms.Topic; import org.springframework.jms.connection.ConnectionFactoryUtils; import org.springframework.jms.connection.JmsResourceHolder;
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-jms/src/test/java/org/springframework/jms/config/MethodJmsListenerEndpointTests.java
@@ -64,7 +64,6 @@ import static org.junit.Assert.*; import static org.mockito.BDDMockito.*; import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.verify; /** * @author Stephane Nicoll
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-jms/src/test/java/org/springframework/jms/support/converter/MessagingMessageConverterTests.java
@@ -19,7 +19,6 @@ import static org.junit.Assert.*; import static org.mockito.BDDMockito.*; import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.verify; import java.io.Serializable;
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-messaging/src/main/java/org/springframework/messaging/core/AbstractMessagingTemplate.java
@@ -19,8 +19,6 @@ import java.util.Map; import org.springframework.messaging.Message; -import org.springframework.messaging.MessageHeaders; -import org.springframework.messaging.converter.MessageConversionException; /** * An extension of {@link AbstractMessageReceivingTemplate} that adds support for
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-messaging/src/main/java/org/springframework/messaging/handler/DestinationPatternsMessageCondition.java
@@ -21,7 +21,6 @@ import java.util.Collection; import java.util.Collections; import java.util.Comparator; -import java.util.HashSet; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.List;
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-messaging/src/main/java/org/springframework/messaging/simp/annotation/SendToUser.java
@@ -22,9 +22,6 @@ import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; -import org.springframework.messaging.Message; -import org.springframework.messaging.simp.SimpMessageHeaderAccessor; - /** * Annotation that indicates the return value of a message-handling method should * be sen...
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-messaging/src/main/java/org/springframework/messaging/simp/annotation/support/SendToMethodReturnValueHandler.java
@@ -32,7 +32,6 @@ import org.springframework.messaging.support.MessageHeaderInitializer; import org.springframework.util.Assert; import org.springframework.util.ObjectUtils; -import org.springframework.util.StringUtils; import java.lang.annotation.Annotation; import java.security.Principal;
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-messaging/src/main/java/org/springframework/messaging/simp/config/MessageBrokerRegistry.java
@@ -23,7 +23,6 @@ import org.springframework.messaging.SubscribableChannel; import org.springframework.messaging.simp.broker.SimpleBrokerMessageHandler; import org.springframework.messaging.simp.stomp.StompBrokerRelayMessageHandler; -import org.springframework.util.AntPathMatcher; import org.springframework.util.As...
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-messaging/src/test/java/org/springframework/messaging/simp/SimpSessionScopeTests.java
@@ -20,10 +20,9 @@ import org.junit.Before; import org.junit.Test; import org.mockito.Mockito; -import org.springframework.beans.BeansException; + import org.springframework.beans.factory.ObjectFactory; -import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import static org.junit.Assert.assert...
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-messaging/src/test/java/org/springframework/messaging/simp/config/MessageBrokerConfigurationTests.java
@@ -27,7 +27,7 @@ import org.junit.Test; import org.mockito.Mockito; -import org.springframework.beans.DirectFieldAccessor; + import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configu...
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/StompHeaderAccessorTests.java
@@ -32,7 +32,6 @@ import org.springframework.messaging.support.MessageHeaderAccessor; import org.springframework.util.AlternativeJdkIdGenerator; import org.springframework.util.LinkedMultiValueMap; -import org.springframework.util.MimeType; import org.springframework.util.MimeTypeUtils; import org.springframework....
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-messaging/src/test/java/org/springframework/messaging/support/MessageHeaderAccessorTests.java
@@ -23,7 +23,6 @@ import java.util.Map; import java.util.UUID; -import org.hamcrest.CoreMatchers; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException;
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-test/src/test/java/org/springframework/test/context/jdbc/SqlScriptsTestExecutionListenerTests.java
@@ -25,7 +25,6 @@ import org.springframework.test.context.jdbc.SqlConfig.TransactionMode; import static org.junit.Assert.*; -import static org.mockito.Matchers.*; import static org.mockito.Mockito.*; /**
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-web/src/test/java/org/springframework/http/HttpHeadersTests.java
@@ -27,7 +27,6 @@ import java.util.GregorianCalendar; import java.util.List; import java.util.Locale; -import java.util.Set; import java.util.TimeZone; import org.hamcrest.Matchers;
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-web/src/test/java/org/springframework/http/RequestEntityTests.java
@@ -23,7 +23,7 @@ import java.util.Map; import static org.junit.Assert.*; -import static org.junit.Assert.assertEquals; + import org.junit.Test;
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-web/src/test/java/org/springframework/http/converter/json/MappingJackson2HttpMessageConverterTests.java
@@ -27,7 +27,6 @@ import com.fasterxml.jackson.annotation.JsonView; import com.fasterxml.jackson.databind.JavaType; import com.fasterxml.jackson.databind.ObjectMapper; -import org.hamcrest.CoreMatchers; import org.junit.Test; import org.springframework.core.ParameterizedTypeReference;
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-web/src/test/java/org/springframework/web/method/annotation/RequestParamMethodArgumentResolverTests.java
@@ -23,7 +23,6 @@ import java.util.Optional; import javax.servlet.http.Part; -import javax.swing.text.html.Option; import org.junit.Before; import org.junit.Test;
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-webmvc/src/main/java/org/springframework/web/servlet/config/AnnotationDrivenBeanDefinitionParser.java
@@ -21,7 +21,6 @@ import org.w3c.dom.Element; -import org.springframework.beans.BeanMetadataElement; import org.springframework.beans.factory.FactoryBean; import org.springframework.beans.factory.InitializingBean; import org.springframework.beans.factory.config.BeanDefinition;
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-webmvc/src/main/java/org/springframework/web/servlet/config/TilesConfigurerBeanDefinitionParser.java
@@ -16,7 +16,6 @@ package org.springframework.web.servlet.config; -import org.springframework.beans.factory.BeanDefinitionStoreException; import org.springframework.beans.factory.support.AbstractBeanDefinition; import org.springframework.beans.factory.support.BeanDefinitionBuilder; import org.springframework.be...
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/BeanTypeNotPresentCondition.java
@@ -20,7 +20,6 @@ import org.apache.commons.logging.LogFactory; import org.springframework.beans.factory.BeanFactoryUtils; import org.springframework.beans.factory.ListableBeanFactory; -import org.springframework.beans.factory.config.ConfigurableListableBeanFactory; import org.springframework.context.annotation.Con...
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/ResourceHandlerRegistry.java
@@ -32,8 +32,6 @@ import org.springframework.web.servlet.handler.AbstractHandlerMapping; import org.springframework.web.servlet.handler.SimpleUrlHandlerMapping; import org.springframework.web.servlet.resource.ResourceHttpRequestHandler; -import org.springframework.web.servlet.resource.ResourceResolver; -import org.s...
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-webmvc/src/main/java/org/springframework/web/servlet/handler/HandlerMethodMappingNamingStrategy.java
@@ -18,8 +18,6 @@ import org.springframework.web.method.HandlerMethod; -import java.lang.reflect.Method; - /** * A strategy for assigning a name to a handler method's mapping. *
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/RequestMappingInfoHandlerMethodMappingNamingStrategy.java
@@ -19,8 +19,6 @@ import org.springframework.web.method.HandlerMethod; import org.springframework.web.servlet.handler.HandlerMethodMappingNamingStrategy; -import java.lang.reflect.Method; - /** * A {@link org.springframework.web.servlet.handler.HandlerMethodMappingNamingStrategy * HandlerMethodMappingNamingStr...
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/HttpEntityMethodProcessor.java
@@ -24,7 +24,6 @@ import org.springframework.core.MethodParameter; import org.springframework.http.HttpEntity; import org.springframework.http.HttpHeaders; -import org.springframework.http.HttpInputMessage; import org.springframework.http.RequestEntity; import org.springframework.http.ResponseEntity; import org.s...
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-webmvc/src/main/java/org/springframework/web/servlet/resource/PathResourceResolver.java
@@ -21,8 +21,6 @@ import javax.servlet.http.HttpServletRequest; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; import org.springframework.core.io.Resource; /**
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceTransformer.java
@@ -20,7 +20,6 @@ import javax.servlet.http.HttpServletRequest; import java.io.IOException; -import java.util.List; /** * An abstraction for transforming the content of a resource.
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceTransformerChain.java
@@ -20,7 +20,6 @@ import javax.servlet.http.HttpServletRequest; import java.io.IOException; -import java.util.List; /** * A contract for invoking a chain of {@link ResourceTransformer}s where each resolver
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-webmvc/src/test/java/org/springframework/web/servlet/config/MvcNamespaceTests.java
@@ -37,7 +37,6 @@ import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat.ISO; import org.springframework.format.support.FormattingConversionServiceFactoryBean; -import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; i...
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-websocket/src/main/java/org/springframework/web/socket/client/WebSocketConnectionManager.java
@@ -19,7 +19,6 @@ import java.util.List; import org.springframework.context.Lifecycle; -import org.springframework.context.SmartLifecycle; import org.springframework.http.HttpHeaders; import org.springframework.util.concurrent.ListenableFuture; import org.springframework.util.concurrent.ListenableFutureCallback;
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/TransportRequest.java
@@ -1,9 +1,7 @@ package org.springframework.web.socket.sockjs.client; import org.springframework.http.HttpHeaders; -import org.springframework.web.socket.WebSocketSession; import org.springframework.web.socket.sockjs.frame.SockJsMessageCodec; -import org.springframework.web.socket.sockjs.transport.TransportType; ...
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/XhrTransport.java
@@ -1,8 +1,5 @@ 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;
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/TransportHandlingSockJsService.java
@@ -27,8 +27,6 @@ import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ScheduledFuture; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; import org.springframework.http.HttpMethod; import org.springframework.http.HttpStatus; import org.springframework.h...
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/SockJsWebSocketHandler.java
@@ -17,7 +17,6 @@ package org.springframework.web.socket.sockjs.transport.handler; import java.util.ArrayList; -import java.util.Collections; import java.util.List; import java.util.concurrent.atomic.AtomicInteger;
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/session/PollingSockJsSession.java
@@ -16,10 +16,7 @@ package org.springframework.web.socket.sockjs.transport.session; -import java.util.ArrayList; -import java.util.List; import java.util.Map; -import java.util.Queue; import org.springframework.web.socket.WebSocketHandler; import org.springframework.web.socket.sockjs.SockJsTransportFailureExc...
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/session/StreamingSockJsSession.java
@@ -18,13 +18,9 @@ import java.util.Map; -import org.springframework.http.server.ServerHttpRequest; -import org.springframework.http.server.ServerHttpResponse; import org.springframework.web.socket.WebSocketHandler; -import org.springframework.web.socket.sockjs.SockJsException; import org.springframework.web.soc...
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-websocket/src/test/java/org/springframework/web/socket/WebSocketIntegrationTests.java
@@ -32,7 +32,6 @@ import org.springframework.web.socket.config.annotation.EnableWebSocket; import org.springframework.web.socket.config.annotation.WebSocketConfigurer; import org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry; -import org.springframework.web.socket.handler.AbstractWebSocketHan...
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-websocket/src/test/java/org/springframework/web/socket/adapter/jetty/JettyWebSocketSessionTests.java
@@ -30,7 +30,6 @@ import static org.junit.Assert.assertNull; import static org.junit.Assert.assertSame; import static org.mockito.Mockito.reset; -import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoMoreInteractions; import static org.mockito.Mockito.when;
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-websocket/src/test/java/org/springframework/web/socket/adapter/standard/StandardWebSocketSessionTests.java
@@ -29,7 +29,6 @@ import static org.junit.Assert.assertNull; import static org.junit.Assert.assertSame; import static org.mockito.Mockito.reset; -import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoMoreInteractions; import static org.mockito.Mockito.when;
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-websocket/src/test/java/org/springframework/web/socket/config/HandlersBeanDefinitionParserTests.java
@@ -21,11 +21,9 @@ import java.util.Map; import java.util.concurrent.ScheduledFuture; -import org.hamcrest.Matchers; import org.junit.Before; import org.junit.Test; -import org.springframework.beans.DirectFieldAccessor; import org.springframework.beans.factory.xml.XmlBeanDefinitionReader; import org.springfra...
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-websocket/src/test/java/org/springframework/web/socket/config/annotation/WebMvcStompWebSocketEndpointRegistrationTests.java
@@ -29,7 +29,6 @@ import org.springframework.util.MultiValueMap; import org.springframework.web.HttpRequestHandler; import org.springframework.web.socket.messaging.SubProtocolWebSocketHandler; -import org.springframework.web.socket.server.HandshakeInterceptor; import org.springframework.web.socket.server.support.De...
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-websocket/src/test/java/org/springframework/web/socket/config/annotation/WebSocketMessageBrokerConfigurationSupportTests.java
@@ -22,10 +22,6 @@ import java.util.Set; import java.util.concurrent.ScheduledThreadPoolExecutor; -import org.hamcrest.Description; -import org.hamcrest.Matcher; -import org.hamcrest.Matchers; -import org.hamcrest.TypeSafeMatcher; import org.junit.Before; import org.junit.Test;
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/JettySockJsIntegrationTests.java
@@ -17,9 +17,7 @@ package org.springframework.web.socket.sockjs.client; import org.eclipse.jetty.client.HttpClient; -import org.eclipse.jetty.websocket.client.WebSocketClient; -import org.junit.After; -import org.junit.Before; + import org.springframework.context.annotation.Bean; import org.springframework.contex...
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/RestTemplateXhrTransportTests.java
@@ -55,9 +55,7 @@ import java.util.concurrent.CountDownLatch; import java.util.concurrent.LinkedBlockingDeque; -import static org.mockito.Matchers.eq; import static org.mockito.Mockito.*; -import static org.mockito.Mockito.verifyNoMoreInteractions; /** * Unit tests for {@link RestTemplateXhrTransport}.
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/SockJsUrlInfoTests.java
@@ -18,7 +18,7 @@ import org.junit.Assert; import org.junit.Test; -import org.springframework.web.socket.sockjs.frame.Jackson2SockJsMessageCodec; + import org.springframework.web.socket.sockjs.transport.TransportType; import java.net.URI;
true
Other
spring-projects
spring-framework
3da68cfe218f4817aefe67ca67b13ccb78109cfc.json
Remove unused imports
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/XhrTransportTests.java
@@ -33,7 +33,6 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; -import static org.mockito.Matchers.notNull; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.ver...
true
Other
spring-projects
spring-framework
b5e1198bd22b4d4d78cdd99dcc1b02793b98d9ed.json
Fix white spaces
spring-test/src/main/java/org/springframework/test/web/servlet/request/MockMvcRequestBuilders.java
@@ -129,13 +129,13 @@ public static MockHttpServletRequestBuilder delete(URI uri) { } /** - * Create a {@link MockHttpServletRequestBuilder} for an OPTIONS request. - * @param urlTemplate a URL template; the resulting URL will be encoded - * @param urlVariables zero or more URL variables - */ - ...
false
Other
spring-projects
spring-framework
28c70baf6110d40609ebcfa6cc8ba4e3ecb09432.json
Add documentation for Java SockJS client Issue: SPR-12006
src/asciidoc/index.adoc
@@ -37883,6 +37883,43 @@ Alternatively if the CORS configuration allows it consider excluding URLs with t SockJS endpoint prefix thus letting Spring's SockJsService handle it. +[[websocket-fallback-sockjs-client]] +==== SockJS Client + +A Java SockJS client is provided, in order to request remote SockJS endpoints ...
false
Other
spring-projects
spring-framework
70ccbbfab13e4546462fcbfcd7cb83db2fce746b.json
Fix documentation issue for user destinations Issue: SPR-11992
src/asciidoc/index.adoc
@@ -38534,16 +38534,16 @@ be plugged in (see examples in <<websocket-server-deployment>>). An application can send messages targeting a specific user. Spring's STOMP support recognizes destinations prefixed with `"/user/"`. -For example, a client might subscribe to the destination `"/user/position-updates"`. +For e...
false
Other
spring-projects
spring-framework
5859649af7180d63f000b42c75a5b557063dca2e.json
Update UriTemplate Javadoc Issue: SPR-10497
spring-web/src/main/java/org/springframework/web/util/UriTemplate.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. @@ -86,10 +86,10 @@ public List<String> getVari...
false
Other
spring-projects
spring-framework
c4d7976c371ea4ed9e596439a22486eed7941767.json
Update RestTemplate Javadoc Issue: SPR-10497
spring-web/src/main/java/org/springframework/web/client/RestTemplate.java
@@ -72,48 +72,33 @@ * <tr><td>any</td><td>{@link #exchange}</td></tr> * <tr><td></td><td>{@link #execute}</td></tr> </table> * - * <p>The {@code exchange} and {@code execute} methods are generalized versions of the more specific methods listed - * above them. They support additional, less frequently used combinat...
false
Other
spring-projects
spring-framework
e4182da4ebb1197b84f979fea9e89a76343f242e.json
Add section on path pattern comparison Issue: SPR-10576
src/asciidoc/index.adoc
@@ -28862,12 +28862,37 @@ name and the second - the regular expression.For example: [[mvc-ann-requestmapping-patterns]] ===== Path Patterns In addition to URI templates, the `@RequestMapping` annotation also supports Ant-style -path patterns (for example, `/myPath/*.do`). A combination of URI templates and -Ant-styl...
false
Other
spring-projects
spring-framework
8751936b1219755f3c0f712f7b3597ea03e2e394.json
Fix issue with sub-protocol negotiation and SockJS Before this change the SockJsWebSocketHandler precluded determination of the sub-protocols by wrapping the actual target handler. After this change SockJsWebSocketHandler implements SubProtocolCapable and returns the list of sub-protocols from the wrapped handler.
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/SockJsWebSocketHandler.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. @@ -16,14 +16,19 @@ package org.springframew...
true
Other
spring-projects
spring-framework
8751936b1219755f3c0f712f7b3597ea03e2e394.json
Fix issue with sub-protocol negotiation and SockJS Before this change the SockJsWebSocketHandler precluded determination of the sub-protocols by wrapping the actual target handler. After this change SockJsWebSocketHandler implements SubProtocolCapable and returns the list of sub-protocols from the wrapped handler.
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/transport/handler/SockJsWebSocketHandlerTests.java
@@ -0,0 +1,65 @@ +/* + * 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
41cdc92fc383934623f14fd144390d16b1ed4a8f.json
Remove AbstractWebSocketClient from SockJsClient SockJsClient now implements WebSocketClient directly without extending AbstractWebSocketClient. Issue: SPR-12030
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/SockJsClient.java
@@ -25,13 +25,14 @@ import org.springframework.util.ClassUtils; import org.springframework.util.concurrent.ListenableFuture; import org.springframework.util.concurrent.SettableListenableFuture; -import org.springframework.web.socket.WebSocketExtension; import org.springframework.web.socket.WebSocketHandler; +import...
false
Other
spring-projects
spring-framework
c7babab2ddfe843a100bd67b63f2353df15ac1a8.json
Fix javadoc typo
spring-aop/src/main/java/org/springframework/aop/aspectj/RuntimeTestWalker.java
@@ -50,13 +50,13 @@ * migrate to {@code ShadowMatch.getVariablesInvolvedInRuntimeTest()} * or some similar operation. * - * <p>See <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=151593"/>. + * <p>See <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=151593"/>Bug 151593</a> * * @author Adrian Coly...
false
Other
spring-projects
spring-framework
515b9649fa80e4a7e29ec84bdeedc3fcf4d4e4e6.json
Fix javadoc typo
spring-jms/src/main/java/org/springframework/jms/annotation/JmsListenerAnnotationBeanPostProcessor.java
@@ -68,7 +68,7 @@ * @see JmsListenerConfigurer * @see JmsListenerEndpointRegistrar * @see JmsListenerEndpointRegistry - * @see org.springframework.jms.config.AbstractJmsListenerEndpoint + * @see org.springframework.jms.config.JmsListenerEndpoint * @see MethodJmsListenerEndpoint */ public class JmsListenerAnn...
true
Other
spring-projects
spring-framework
515b9649fa80e4a7e29ec84bdeedc3fcf4d4e4e6.json
Fix javadoc typo
spring-jms/src/main/java/org/springframework/jms/annotation/JmsListenerConfigurer.java
@@ -37,7 +37,7 @@ public interface JmsListenerConfigurer { /** * Callback allowing a {@link org.springframework.jms.config.JmsListenerEndpointRegistry - * JmsListenerEndpointRegistry} and specific {@link org.springframework.jms.config.AbstractJmsListenerEndpoint + * JmsListenerEndpointRegistry} and specific {@...
true
Other
spring-projects
spring-framework
515b9649fa80e4a7e29ec84bdeedc3fcf4d4e4e6.json
Fix javadoc typo
spring-jms/src/main/java/org/springframework/jms/config/JmsHandlerMethodFactory.java
@@ -34,7 +34,7 @@ public interface JmsHandlerMethodFactory { * JMS method endpoint. * @param bean the bean instance * @param method the method to invoke - * @return an JMS-specific {@link InvocableHandlerMethod} suitable for that method + * @return a JMS-specific {@link InvocableHandlerMethod} suitable for t...
true
Other
spring-projects
spring-framework
515b9649fa80e4a7e29ec84bdeedc3fcf4d4e4e6.json
Fix javadoc typo
spring-jms/src/main/java/org/springframework/jms/config/MethodJmsListenerEndpoint.java
@@ -67,7 +67,7 @@ public Method getMethod() { } /** - * Set the {@link DefaultJmsHandlerMethodFactory} to use to build the + * Set the {@link JmsHandlerMethodFactory} to use to build the * {@link InvocableHandlerMethod} responsible to manage the invocation * of this endpoint. */
true