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
34eb4dba3a4e1915989c29713a2b3551d3d5520d.json
Update Javadoc for supported JBoss VFS version
spring-core/src/main/java/org/springframework/core/io/VfsResource.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,8 +26,11 @@ import org.springframework....
true
Other
spring-projects
spring-framework
34eb4dba3a4e1915989c29713a2b3551d3d5520d.json
Update Javadoc for supported JBoss VFS version
spring-core/src/main/java/org/springframework/core/io/VfsUtils.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. @@ -29,8 +29,10 @@ /** * Utility for detec...
true
Other
spring-projects
spring-framework
ace6bd2418cba892f793e9e3666ac02a541074c7.json
Improve shutdown responsiveness of SubProtocolWSH Proactively notify all active WebSocket sessions when a shutdown is progress. Sessions then can ignore further attempts to send messages and also stop stop trying to flush messages right away.
spring-websocket/src/main/java/org/springframework/web/socket/handler/ConcurrentWebSocketSessionDecorator.java
@@ -18,7 +18,6 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; -import org.springframework.util.Assert; import org.springframework.web.socket.CloseStatus; import org.springframework.web.socket.WebSocketMessage; import org.springframework.web.socket.WebSocketSession; @@ -62...
true
Other
spring-projects
spring-framework
ace6bd2418cba892f793e9e3666ac02a541074c7.json
Improve shutdown responsiveness of SubProtocolWSH Proactively notify all active WebSocket sessions when a shutdown is progress. Sessions then can ignore further attempts to send messages and also stop stop trying to flush messages right away.
spring-websocket/src/main/java/org/springframework/web/socket/messaging/SubProtocolWebSocketHandler.java
@@ -16,6 +16,7 @@ package org.springframework.web.socket.messaging; +import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; @@ -221,8 +222,19 @@ public final void start() { @Override public final void stop() { synchronized (this.lifecycleMonitor) { + ...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
build.gradle
@@ -19,7 +19,6 @@ configure(allprojects) { project -> ext.hibernate4Version = "4.2.11.Final" ext.hibValVersion = "4.3.1.Final" ext.hsqldbVersion = "2.3.2" - ext.jackson1Version = "1.9.13" ext.jackson2Version = "2.3.1" ext.jasperReportsVersion = "5.5.1" ext.jettyVersion = "...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/main/java/org/springframework/cache/ehcache/EhCacheFactoryBean.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. @@ -52,9 +52,8 @@ * <p>Note: If the named Cac...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/main/java/org/springframework/cache/ehcache/EhCacheManagerFactoryBean.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. @@ -44,8 +44,7 @@ * and cares for proper shut...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/main/java/org/springframework/scheduling/quartz/AdaptableJobFactory.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,22 +16,17 @@ package org.springframew...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/main/java/org/springframework/scheduling/quartz/CronTriggerBean.java
@@ -1,175 +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
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/main/java/org/springframework/scheduling/quartz/CronTriggerFactoryBean.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,7 +16,7 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/main/java/org/springframework/scheduling/quartz/JobDetailAwareTrigger.java
@@ -1,56 +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
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/main/java/org/springframework/scheduling/quartz/JobDetailBean.java
@@ -1,169 +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
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/main/java/org/springframework/scheduling/quartz/JobDetailFactoryBean.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. @@ -21,10 +21,8 @@ import org.quartz.JobDataMa...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/main/java/org/springframework/scheduling/quartz/LocalTaskExecutorThreadPool.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. @@ -87,7 +87,7 @@ public boolean runInThread(Ru...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/main/java/org/springframework/scheduling/quartz/MethodInvokingJobDetailFactoryBean.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. @@ -17,20 +17,17 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/main/java/org/springframework/scheduling/quartz/QuartzJobBean.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,19 +16,14 @@ package org.springframew...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/main/java/org/springframework/scheduling/quartz/SchedulerAccessor.java
@@ -16,7 +16,6 @@ package org.springframework.scheduling.quartz; -import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Arrays; import java.util.LinkedList; @@ -28,6 +27,7 @@ import org.quartz.Calendar; import org.quartz.JobDetail; import org.quartz.JobListener; +import org.quartz.Lis...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/main/java/org/springframework/scheduling/quartz/SchedulerAccessorBean.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. @@ -29,8 +29,7 @@ * Spring bean-style class f...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/main/java/org/springframework/scheduling/quartz/SchedulerFactoryBean.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. @@ -75,8 +75,7 @@ * automatically apply to Sc...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/main/java/org/springframework/scheduling/quartz/SimpleTriggerBean.java
@@ -1,176 +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
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/main/java/org/springframework/scheduling/quartz/SimpleTriggerFactoryBean.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,24 +16,20 @@ package org.springframew...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/main/java/org/springframework/scheduling/quartz/SpringBeanJobFactory.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,29 +16,24 @@ package org.springframew...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/test/java/org/springframework/scheduling/quartz/CronTriggerBeanTests.java
@@ -1,79 +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
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/test/java/org/springframework/scheduling/quartz/QuartzSupportTests.java
@@ -16,42 +16,29 @@ package org.springframework.scheduling.quartz; -import java.util.Date; import java.util.HashMap; import java.util.Map; - import javax.sql.DataSource; -import org.junit.Ignore; import org.junit.Test; -import org.quartz.CronTrigger; import org.quartz.Job; -import org.quartz.JobDetail; imp...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/test/resources/org/springframework/scheduling/quartz/databasePersistence.xml
@@ -10,11 +10,11 @@ <property name="dataSource" ref="dataSource"/> </bean> - <bean id="trigger" class="org.springframework.scheduling.quartz.SimpleTriggerBean"> + <bean id="trigger" class="org.springframework.scheduling.quartz.SimpleTriggerFactoryBean"> <property name="repeatInterval" value="1000" /> <prop...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/test/resources/org/springframework/scheduling/quartz/multipleAnonymousMethodInvokingJobDetailFB.xml
@@ -12,7 +12,7 @@ </property> </bean> - <bean id="exportTrigger" class="org.springframework.scheduling.quartz.SimpleTriggerBean"> + <bean id="exportTrigger" class="org.springframework.scheduling.quartz.SimpleTriggerFactoryBean"> <property name="jobDetail"> <bean class="org.springframework.scheduling.quart...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/test/resources/org/springframework/scheduling/quartz/schedulerAccessorBean.xml
@@ -15,7 +15,7 @@ </property> </bean> - <bean id="exportTrigger" class="org.springframework.scheduling.quartz.SimpleTriggerBean"> + <bean id="exportTrigger" class="org.springframework.scheduling.quartz.SimpleTriggerFactoryBean"> <property name="jobDetail"> <bean class="org.springframework.scheduling.quart...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-context-support/src/test/resources/org/springframework/scheduling/quartz/schedulerRepositoryExposure.xml
@@ -18,7 +18,7 @@ </property> </bean> - <bean id="exportTrigger" class="org.springframework.scheduling.quartz.SimpleTriggerBean"> + <bean id="exportTrigger" class="org.springframework.scheduling.quartz.SimpleTriggerFactoryBean"> <property name="jobDetail"> <bean class="org.springframework.scheduling.quart...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-jms/src/main/java/org/springframework/jms/support/converter/MappingJacksonMessageConverter.java
@@ -1,383 +0,0 @@ -/* - * Copyright 2002-2014 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 -...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-jms/src/test/java/org/springframework/jms/support/converter/MappingJacksonMessageConverterTests.java
@@ -1,147 +0,0 @@ -/* - * Copyright 2002-2014 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 -...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-web/src/main/java/org/springframework/http/converter/json/JacksonObjectMapperFactoryBean.java
@@ -1,258 +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
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-web/src/main/java/org/springframework/http/converter/json/MappingJacksonHttpMessageConverter.java
@@ -1,256 +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
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-web/src/main/java/org/springframework/http/converter/support/AllEncompassingFormHttpMessageConverter.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. @@ -13,6 +13,7 @@ * See the License for the s...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-web/src/main/java/org/springframework/web/client/RestTemplate.java
@@ -134,10 +134,6 @@ public class RestTemplate extends InterceptingHttpAccessor implements RestOperat ClassUtils.isPresent("com.fasterxml.jackson.databind.ObjectMapper", RestTemplate.class.getClassLoader()) && ClassUtils.isPresent("com.fasterxml.jackson.core.JsonGenerator", RestTemplate.class.getClassLoader()...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-web/src/test/java/org/springframework/http/converter/json/AbstractMappingJacksonHttpMessageConverterTests.java
@@ -1,226 +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
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-web/src/test/java/org/springframework/http/converter/json/JacksonObjectMapperFactoryBeanTests.java
@@ -1,158 +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
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-web/src/test/java/org/springframework/http/converter/json/MappingJackson2HttpMessageConverterTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,16 +20,19 @@ import java.lang.reflect.T...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-web/src/test/java/org/springframework/http/converter/json/MappingJacksonHttpMessageConverterTests.java
@@ -1,144 +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
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-webmvc/src/main/java/org/springframework/web/servlet/config/AnnotationDrivenBeanDefinitionParser.java
@@ -133,20 +133,16 @@ class AnnotationDrivenBeanDefinitionParser implements BeanDefinitionParser { private static final boolean javaxValidationPresent = ClassUtils.isPresent( "javax.validation.Validator", AnnotationDrivenBeanDefinitionParser.class.getClassLoader()); + private static boolean romePresent = + Cl...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupport.java
@@ -20,7 +20,6 @@ import java.util.HashMap; import java.util.List; import java.util.Map; - import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import javax.xml.transform.Source; @@ -143,19 +142,16 @@ */ public class WebMvcConfigurationSupport implements ApplicationContextAware, S...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-webmvc/src/main/java/org/springframework/web/servlet/view/json/MappingJackson2JsonView.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. @@ -209,7 +209,7 @@ public final Set<String> ge...
true
Other
spring-projects
spring-framework
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-webmvc/src/main/java/org/springframework/web/servlet/view/json/MappingJacksonJsonView.java
@@ -1,306 +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
ea1e27efa29b27530a21362236137240006bc2f8.json
Require Jackson 2.0+, EhCache 2.5+, Quartz 2.1.4+ Issue: SPR-11262
spring-webmvc/src/test/java/org/springframework/web/servlet/view/json/MappingJacksonJsonViewTests.java
@@ -1,346 +0,0 @@ -/* - * Copyright 2002-2014 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 -...
true
Other
spring-projects
spring-framework
d19e30e2f8cb2d7287a8f6418b322980b4cf3a8c.json
Increase log level in spring-messaging tests
spring-messaging/src/test/resources/log4j.properties
@@ -8,6 +8,9 @@ log4j.logger.org.springframework.web=DEBUG log4j.logger.org.apache.activemq=TRACE # Enable TRACE level to chase integration test issues on CI servers log4j.logger.org.springframework.messaging.simp.stomp=TRACE +log4j.logger.reactor.tcp=TRACE +log4j.logger.io.netty=TRACE + #log4j.logger.org.springf...
false
Other
spring-projects
spring-framework
0b115d7a1e9d0dc8e16c4b21537a925825f7cc22.json
Switch master to 4.1.0.BUILD-SNAPSHOT
gradle.properties
@@ -1 +1 @@ -version=4.0.4.BUILD-SNAPSHOT +version=4.1.0.BUILD-SNAPSHOT
false
Other
spring-projects
spring-framework
14616a445a6e54a6ff18d037634bb1450db71719.json
Update javadoc to conform to JDK8 styling Issue: SPR-11412
src/api/stylesheet.css
@@ -1,541 +1,599 @@ /* Javadoc style sheet */ - /* Overall document style */ + +@import url('resources/fonts/dejavu.css'); + body { - background-color:#ffffff; - color:#353833; - font-family:Arial, Helvetica, sans-serif; - font-size:76%; - margin:0; + background-color:#ffffff; + color:#353833; + fon...
false
Other
spring-projects
spring-framework
ac22b786be71972f9da39836020516b92c021d5c.json
Delete unused imports
spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/InterceptorRegistryTests.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. @@ -23,7 +23,6 @@ import org.junit.Before; ...
true
Other
spring-projects
spring-framework
ac22b786be71972f9da39836020516b92c021d5c.json
Delete unused imports
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/annotation/ResponseStatusExceptionResolverTests.java
@@ -1,3 +1,19 @@ +/* + * 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
ac22b786be71972f9da39836020516b92c021d5c.json
Delete unused imports
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/MvcUriComponentsBuilderTests.java
@@ -34,7 +34,6 @@ import org.springframework.web.context.request.RequestContextHolder; import org.springframework.web.context.request.ServletRequestAttributes; import org.springframework.web.util.UriComponents; -import org.springframework.web.util.UriComponentsBuilder; import java.util.Arrays; import java.util.L...
true
Other
spring-projects
spring-framework
ac22b786be71972f9da39836020516b92c021d5c.json
Delete unused imports
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapterTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,12 +22,11 @@ import org.junit.Before; ...
true
Other
spring-projects
spring-framework
ac22b786be71972f9da39836020516b92c021d5c.json
Delete unused imports
spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/SelectTagTests.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. @@ -41,7 +41,6 @@ import org.springframework.b...
true
Other
spring-projects
spring-framework
ac22b786be71972f9da39836020516b92c021d5c.json
Delete unused imports
spring-webmvc/src/test/java/org/springframework/web/servlet/view/ContentNegotiatingViewResolverTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,6 +27,7 @@ import org.junit.After; imp...
true
Other
spring-projects
spring-framework
ac22b786be71972f9da39836020516b92c021d5c.json
Delete unused imports
spring-webmvc/src/test/java/org/springframework/web/servlet/view/freemarker/FreeMarkerConfigurerTests.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,20 +16,11 @@ package org.springframew...
true
Other
spring-projects
spring-framework
c335e99e3f720337dd2a01b4c8ea9d34718b9854.json
Remove trailing whitespace from source code
spring-aspects/src/test/java/org/springframework/mock/staticmock/AnnotationDrivenStaticEntityMockingControlTests.java
@@ -26,7 +26,7 @@ /** * Tests for Spring's static entity mocking framework (i.e., @{@link MockStaticEntityMethods} * and {@link AnnotationDrivenStaticEntityMockingControl}). - * + * * @author Rod Johnson * @author Ramnivas Laddad * @author Sam Brannen
true
Other
spring-projects
spring-framework
c335e99e3f720337dd2a01b4c8ea9d34718b9854.json
Remove trailing whitespace from source code
spring-context/src/main/java/org/springframework/cache/interceptor/CacheExpressionRootObject.java
@@ -24,7 +24,7 @@ /** * Class describing the root object used during the expression evaluation. - * + * * @author Costin Leau * @author Sam Brannen * @since 3.1
true
Other
spring-projects
spring-framework
c335e99e3f720337dd2a01b4c8ea9d34718b9854.json
Remove trailing whitespace from source code
spring-context/src/test/java/org/springframework/context/annotation/Spr11202Tests.java
@@ -52,19 +52,19 @@ public void testWithImporter() { context = new AnnotationConfigApplicationContext(Wrapper.class); assertEquals("foo", context.getBean("value")); } - + @Test // Passes public void testWithoutImporter() { context = new AnnotationConfigApplicationContext(Config.class); assertEquals("...
true
Other
spring-projects
spring-framework
c335e99e3f720337dd2a01b4c8ea9d34718b9854.json
Remove trailing whitespace from source code
spring-context/src/test/java/org/springframework/context/annotation/configuration/ImportResourceTests.java
@@ -183,11 +183,11 @@ public void testImportDifferentResourceTypes() { reader=XmlBeanDefinitionReader.class) static class SubResourceConfig extends ImportNonXmlResourceConfig { } - + @Test public void importWithPlaceHolder() throws Exception { AnnotationConfigApplicationContext ctx = new AnnotationConfi...
true
Other
spring-projects
spring-framework
c335e99e3f720337dd2a01b4c8ea9d34718b9854.json
Remove trailing whitespace from source code
spring-core/src/test/java/org/springframework/core/annotation/subpackage/NonPublicAnnotatedClass.java
@@ -18,7 +18,7 @@ /** * Class annotated with a non-public (i.e., package private) custom annotation. - * + * * @author Sam Brannen * @since 4.0 */
true
Other
spring-projects
spring-framework
c335e99e3f720337dd2a01b4c8ea9d34718b9854.json
Remove trailing whitespace from source code
spring-core/src/test/java/org/springframework/core/annotation/subpackage/NonPublicAnnotation.java
@@ -21,7 +21,7 @@ /** * Non-public (i.e., package private) custom annotation. - * + * * @author Sam Brannen * @since 4.0 */
true
Other
spring-projects
spring-framework
c335e99e3f720337dd2a01b4c8ea9d34718b9854.json
Remove trailing whitespace from source code
spring-core/src/test/java/org/springframework/core/type/CachingMetadataReaderLeakTests.java
@@ -34,7 +34,7 @@ * Unit tests for checking the behaviour of {@link CachingMetadataReaderFactory} under * load. If the cache is not controlled, this test should fail with an out of memory * exception around entry 5k. - * + * * @author Costin Leau * @author Sam Brannen */
true
Other
spring-projects
spring-framework
c335e99e3f720337dd2a01b4c8ea9d34718b9854.json
Remove trailing whitespace from source code
spring-expression/src/main/java/org/springframework/expression/ConstructorResolver.java
@@ -24,7 +24,7 @@ * A constructor resolver attempts locate a constructor and returns a ConstructorExecutor * that can be used to invoke that constructor. The ConstructorExecutor will be cached but * if it 'goes stale' the resolvers will be called again. - * + * * @author Andy Clement * @since 3.0 */
true
Other
spring-projects
spring-framework
c335e99e3f720337dd2a01b4c8ea9d34718b9854.json
Remove trailing whitespace from source code
spring-expression/src/main/java/org/springframework/expression/common/TemplateAwareExpressionParser.java
@@ -28,7 +28,7 @@ /** * An expression parser that understands templates. It can be subclassed by expression * parsers that do not offer first class support for templating. - * + * * @author Keith Donald * @author Juergen Hoeller * @author Andy Clement
true
Other
spring-projects
spring-framework
c335e99e3f720337dd2a01b4c8ea9d34718b9854.json
Remove trailing whitespace from source code
spring-expression/src/main/java/org/springframework/expression/spel/SpelParseException.java
@@ -21,7 +21,7 @@ * Root exception for Spring EL related exceptions. Rather than holding a hard coded * string indicating the problem, it records a message key and the inserts for the * message. See {@link SpelMessage} for the list of all possible messages that can occur. - * + * * @author Andy Clement * @si...
true
Other
spring-projects
spring-framework
c335e99e3f720337dd2a01b4c8ea9d34718b9854.json
Remove trailing whitespace from source code
spring-jdbc/src/test/java/org/springframework/jdbc/datasource/DelegatingDataSourceTests.java
@@ -30,7 +30,7 @@ /** * Tests for {@link DelegatingDataSource}. - * + * * @author Phillip Webb */ public class DelegatingDataSourceTests {
true
Other
spring-projects
spring-framework
c335e99e3f720337dd2a01b4c8ea9d34718b9854.json
Remove trailing whitespace from source code
spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/MessageExceptionHandler.java
@@ -26,7 +26,7 @@ /** * Annotation for handling exceptions thrown from message-handling methods within a * specific handler class. - * + * * @author Rossen Stoyanchev * @since 4.0 */
true
Other
spring-projects
spring-framework
c335e99e3f720337dd2a01b4c8ea9d34718b9854.json
Remove trailing whitespace from source code
spring-orm/src/test/java/org/springframework/orm/jpa/SharedEntityManagerCreatorTests.java
@@ -26,7 +26,7 @@ /** * Unit tests for {@link SharedEntityManagerCreator}. - * + * * @author Oliver Gierke */ public class SharedEntityManagerCreatorTests {
true
Other
spring-projects
spring-framework
c335e99e3f720337dd2a01b4c8ea9d34718b9854.json
Remove trailing whitespace from source code
spring-test/src/main/java/org/springframework/test/context/ContextHierarchy.java
@@ -68,7 +68,7 @@ * The result is that three application contexts will be loaded (one for each * declaration of {@code @ContextConfiguration}, and the application context * loaded based on the configuration in {@code AbstractWebTests} will be set as - * the parent context for each of the contexts loaded for the c...
true
Other
spring-projects
spring-framework
c335e99e3f720337dd2a01b4c8ea9d34718b9854.json
Remove trailing whitespace from source code
spring-test/src/main/java/org/springframework/test/context/MetaAnnotationUtils.java
@@ -122,7 +122,7 @@ public static <T extends Annotation> AnnotationDescriptor<T> findAnnotationDescr * the specified {@code clazz} itself) which declares at least one of the * specified {@code annotationTypes}, or {@code null} if none of the * specified annotation types could be found. - * + * * <p>This ...
true
Other
spring-projects
spring-framework
c335e99e3f720337dd2a01b4c8ea9d34718b9854.json
Remove trailing whitespace from source code
spring-test/src/test/java/org/springframework/test/context/hierarchies/standard/DirtiesContextWithContextHierarchyTests.java
@@ -39,7 +39,7 @@ * * <p>Note that correct method execution order is essential, thus the use of * {@link FixMethodOrder}. - * + * * @author Sam Brannen * @since 3.2.2 */
true
Other
spring-projects
spring-framework
c335e99e3f720337dd2a01b4c8ea9d34718b9854.json
Remove trailing whitespace from source code
spring-test/src/test/java/org/springframework/test/context/junit4/aci/annotation/InitializerWithoutConfigFilesOrClassesTests.java
@@ -33,7 +33,7 @@ * Integration test that verifies support for {@link ApplicationContextInitializer * ApplicationContextInitializers} in the TestContext framework when the test class * declares neither XML configuration files nor annotated configuration classes. - * + * * @author Sam Brannen * @since 3.2 *...
true
Other
spring-projects
spring-framework
c335e99e3f720337dd2a01b4c8ea9d34718b9854.json
Remove trailing whitespace from source code
spring-test/src/test/java/org/springframework/test/context/web/ServletContextAwareBean.java
@@ -22,7 +22,7 @@ /** * Introduced to investigate claims in SPR-11145. - * + * * @author Sam Brannen * @since 4.0.2 */
true
Other
spring-projects
spring-framework
c335e99e3f720337dd2a01b4c8ea9d34718b9854.json
Remove trailing whitespace from source code
spring-test/src/test/java/org/springframework/test/context/web/ServletContextAwareBeanWacTests.java
@@ -24,10 +24,10 @@ /** * Introduced to investigate claims in SPR-11145. - * + * * <p> * Yes, this test class does in fact use JUnit to run JUnit. ;) - * + * * @author Sam Brannen * @since 4.0.2 */
true
Other
spring-projects
spring-framework
c335e99e3f720337dd2a01b4c8ea9d34718b9854.json
Remove trailing whitespace from source code
spring-web/src/test/java/org/springframework/mock/web/test/MockHttpSession.java
@@ -235,7 +235,7 @@ public boolean isInvalid() { /** * Convenience method for asserting that this session has not been * {@linkplain #invalidate() invalidated}. - * + * * @throws IllegalStateException if this session has been invalidated */ private void assertIsValid() {
true
Other
spring-projects
spring-framework
7566ceb5f257f1a47548b1b9fec481aab2f53002.json
Fix minor typo in testing chapter
src/asciidoc/index.adoc
@@ -20675,7 +20675,7 @@ Notes: `TransactionalTestExecutionListener`). * The `clinic` instance variable -- the application object being tested -- is set by Dependency Injection through `@Autowired` semantics. -* The `testGetVets()` method illustrates how you can use the inherited +* The `getVets()` method illustr...
false
Other
spring-projects
spring-framework
f636ccb5eb492765f36385f29e3fae28e2eb3cf1.json
Fix failing test
spring-messaging/src/test/java/org/springframework/messaging/simp/SimpMessagingTemplateTests.java
@@ -74,7 +74,7 @@ public void convertAndSendToUserWithEncoding() { @Test public void convertAndSendWithCustomHeader() { - Map<String, Object> headers = Collections.singletonMap("key", "value"); + Map<String, Object> headers = Collections.<String, Object>singletonMap("key", "value"); this.messagingTemplate.co...
false
Other
spring-projects
spring-framework
46c0e45130d804a81b8e78385e3386657f8f529c.json
Improve header processing in SimpMessagingTemplate Headers provided to the SimpMessagingTemplate's convertAndSend methods are now automatically moved into the "nativeHeaders" sub-map. This ensures the headers will go out with the STOMP message and be received by subscribers. Issue: SPR-11387
spring-messaging/src/main/java/org/springframework/messaging/core/AbstractMessageSendingTemplate.java
@@ -129,6 +129,7 @@ public void convertAndSend(D destination, Object payload, MessagePostProcessor p public void convertAndSend(D destination, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) throws MessagingException { + headers = processHeadersToSend(headers); MessageHeader...
true
Other
spring-projects
spring-framework
46c0e45130d804a81b8e78385e3386657f8f529c.json
Improve header processing in SimpMessagingTemplate Headers provided to the SimpMessagingTemplate's convertAndSend methods are now automatically moved into the "nativeHeaders" sub-map. This ensures the headers will go out with the STOMP message and be received by subscribers. Issue: SPR-11387
spring-messaging/src/main/java/org/springframework/messaging/simp/SimpMessagingTemplate.java
@@ -16,6 +16,7 @@ package org.springframework.messaging.simp; +import java.util.HashMap; import java.util.Map; import org.springframework.messaging.Message; @@ -25,7 +26,10 @@ import org.springframework.messaging.core.AbstractMessageSendingTemplate; import org.springframework.messaging.core.MessagePostProces...
true
Other
spring-projects
spring-framework
46c0e45130d804a81b8e78385e3386657f8f529c.json
Improve header processing in SimpMessagingTemplate Headers provided to the SimpMessagingTemplate's convertAndSend methods are now automatically moved into the "nativeHeaders" sub-map. This ensures the headers will go out with the STOMP message and be received by subscribers. Issue: SPR-11387
spring-messaging/src/test/java/org/springframework/messaging/simp/SimpMessagingTemplateTests.java
@@ -20,10 +20,12 @@ import org.junit.Test; import org.springframework.messaging.Message; import org.springframework.messaging.StubMessageChannel; +import org.springframework.messaging.support.NativeMessageHeaderAccessor; -import java.util.List; +import java.util.*; import static org.junit.Assert.assertEquals; +...
true
Other
spring-projects
spring-framework
81c259fe42bfed02fa2c50fba28ed7c27c933e64.json
Explain mock scope in static method mocking aspect
spring-aspects/src/main/java/org/springframework/mock/staticmock/AnnotationDrivenStaticEntityMockingControl.aj
@@ -21,8 +21,11 @@ package org.springframework.mock.staticmock; * on JPA-annotated {@code @Entity} classes, as used by Spring Roo for so-called * <em>finder methods</em>. * - * <p>Mocking will occur within the call stack of any method in a class (typically a - * test class) that is annotated with {@code @MockStat...
false
Other
spring-projects
spring-framework
261a863e8f61504a335dcfdbe1ed9f01d7e1fcbc.json
Fix EvalTagTests with locales other than english Fix testPrintFormattedScopedAttributeResult test in org.springframework.web.servlet.tags.EvalTagTests class by making an assertion which is not locale dependent. Issue: SPR-11392
spring-webmvc/src/test/java/org/springframework/web/servlet/tags/EvalTagTests.java
@@ -18,6 +18,7 @@ import java.math.BigDecimal; import java.util.HashMap; +import java.util.Locale; import java.util.Map; import javax.servlet.jsp.tagext.Tag; @@ -26,6 +27,7 @@ import org.springframework.core.env.MapPropertySource; import org.springframework.format.annotation.NumberFormat; import org.springfr...
false
Other
spring-projects
spring-framework
3a89bc4b266c9ab351a33727eaa8d0236b6f737b.json
Fix merge error in previous commit Issue: SPR-11385
spring-aspects/src/main/java/org/springframework/mock/staticmock/AbstractMethodMockingControl.aj
@@ -181,7 +181,6 @@ public abstract aspect AbstractMethodMockingControl percflow(mockStaticsTestMeth } c.setThrow(throwable); } - } }
false
Other
spring-projects
spring-framework
1a8629d40825c073b6863ae2ab748b647b28506a.json
Fix failing test
spring-web/src/main/java/org/springframework/http/converter/xml/Jaxb2CollectionHttpMessageConverter.java
@@ -229,7 +229,7 @@ protected void writeToResult(T t, HttpHeaders headers, Result result) throws IOE */ protected XMLInputFactory createXmlInputFactory() { XMLInputFactory inputFactory = XMLInputFactory.newInstance(); - inputFactory.setProperty(XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES, false); + inputFa...
true
Other
spring-projects
spring-framework
1a8629d40825c073b6863ae2ab748b647b28506a.json
Fix failing test
spring-web/src/test/java/org/springframework/http/converter/xml/Jaxb2CollectionHttpMessageConverterTests.java
@@ -126,7 +126,7 @@ public void readXmlTypeSet() throws Exception { @Test @SuppressWarnings("unchecked") - public void readXmlRootElementWithExternalEntity() throws Exception { + public void readXmlRootElementExternalEntityDisabled() throws Exception { Resource external = new ClassPathResource("external.txt"...
true
Other
spring-projects
spring-framework
e6f479677916adf7dce6c3f4e5a6faa6c9a1a0bd.json
Fix failing test
spring-messaging/src/test/java/org/springframework/messaging/core/MessageSendingTemplateTests.java
@@ -155,7 +155,7 @@ public void convertAndSendPayloadWithPostProcessorToDestination() { public void convertAndSendNoMatchingConverter() { MessageConverter converter = new CompositeMessageConverter( - Arrays.asList(new MappingJackson2MessageConverter()), new DefaultContentTypeResolver()); + Arrays.<MessageC...
false
Other
spring-projects
spring-framework
8b48d8f445449b06cbc1204d6734944f29b540d3.json
Publish events about broker's availability Components that are using a StompBrokerRelayMessageHandler may want to know whether or not the broker's unavailable. If they're sending messages to the relay via an asynchronous channel there's currently no way for them to find this out. This commit enhances StompBrokerRelay...
build.gradle
@@ -323,6 +323,7 @@ project("spring-messaging") { optional("com.lmax:disruptor:3.1.1") testCompile("commons-dbcp:commons-dbcp:1.2.2") testCompile("javax.inject:javax.inject-tck:1") + testCompile(project(":spring-test")) } repositories {
true
Other
spring-projects
spring-framework
8b48d8f445449b06cbc1204d6734944f29b540d3.json
Publish events about broker's availability Components that are using a StompBrokerRelayMessageHandler may want to know whether or not the broker's unavailable. If they're sending messages to the relay via an asynchronous channel there's currently no way for them to find this out. This commit enhances StompBrokerRelay...
spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/BrokerAvailabilityEvent.java
@@ -0,0 +1,33 @@ +/* + * 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
8b48d8f445449b06cbc1204d6734944f29b540d3.json
Publish events about broker's availability Components that are using a StompBrokerRelayMessageHandler may want to know whether or not the broker's unavailable. If they're sending messages to the relay via an asynchronous channel there's currently no way for them to find this out. This commit enhances StompBrokerRelay...
spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/BrokerBecameAvailableEvent.java
@@ -0,0 +1,38 @@ +/* + * 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
8b48d8f445449b06cbc1204d6734944f29b540d3.json
Publish events about broker's availability Components that are using a StompBrokerRelayMessageHandler may want to know whether or not the broker's unavailable. If they're sending messages to the relay via an asynchronous channel there's currently no way for them to find this out. This commit enhances StompBrokerRelay...
spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/BrokerBecameUnavailableEvent.java
@@ -0,0 +1,39 @@ +/* + * 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
8b48d8f445449b06cbc1204d6734944f29b540d3.json
Publish events about broker's availability Components that are using a StompBrokerRelayMessageHandler may want to know whether or not the broker's unavailable. If they're sending messages to the relay via an asynchronous channel there's currently no way for them to find this out. This commit enhances StompBrokerRelay...
spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandler.java
@@ -24,9 +24,13 @@ import java.util.concurrent.BlockingQueue; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.LinkedBlockingQueue; +import java.util.concurrent.atomic.AtomicBoolean; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; +import org.springf...
true
Other
spring-projects
spring-framework
8b48d8f445449b06cbc1204d6734944f29b540d3.json
Publish events about broker's availability Components that are using a StompBrokerRelayMessageHandler may want to know whether or not the broker's unavailable. If they're sending messages to the relay via an asynchronous channel there's currently no way for them to find this out. This commit enhances StompBrokerRelay...
spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandlerIntegrationTests.java
@@ -17,41 +17,64 @@ package org.springframework.messaging.simp.stomp; import java.io.IOException; +import java.util.ArrayList; import java.util.Arrays; +import java.util.List; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import org.junit.Test; +import org.junit.runner.RunW...
true
Other
spring-projects
spring-framework
8b48d8f445449b06cbc1204d6734944f29b540d3.json
Publish events about broker's availability Components that are using a StompBrokerRelayMessageHandler may want to know whether or not the broker's unavailable. If they're sending messages to the relay via an asynchronous channel there's currently no way for them to find this out. This commit enhances StompBrokerRelay...
spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/TestStompBroker.java
@@ -25,8 +25,10 @@ import java.util.Set; import java.util.concurrent.atomic.AtomicLong; +import org.springframework.context.SmartLifecycle; import org.springframework.messaging.Message; import org.springframework.messaging.support.MessageBuilder; +import org.springframework.util.StringUtils; import reactor.cor...
true
Other
spring-projects
spring-framework
71dbd7bc1f4ac49dcdc1222174906d6db1ee378c.json
Remove qetQueryParams from ServerHttpRequest
spring-web/src/main/java/org/springframework/http/server/ServerHttpRequest.java
@@ -21,7 +21,6 @@ import org.springframework.http.HttpInputMessage; import org.springframework.http.HttpRequest; -import org.springframework.util.MultiValueMap; /** * Represents a server-side HTTP request. @@ -32,11 +31,6 @@ */ public interface ServerHttpRequest extends HttpRequest, HttpInputMessage { - /...
true
Other
spring-projects
spring-framework
71dbd7bc1f4ac49dcdc1222174906d6db1ee378c.json
Remove qetQueryParams from ServerHttpRequest
spring-web/src/main/java/org/springframework/http/server/ServletServerHttpRequest.java
@@ -34,18 +34,13 @@ import java.util.Iterator; import java.util.List; import java.util.Map; -import java.util.regex.Matcher; -import java.util.regex.Pattern; import javax.servlet.http.HttpServletRequest; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import org.sprin...
true
Other
spring-projects
spring-framework
71dbd7bc1f4ac49dcdc1222174906d6db1ee378c.json
Remove qetQueryParams from ServerHttpRequest
spring-web/src/test/java/org/springframework/http/server/ServletServerHttpRequestTests.java
@@ -18,7 +18,6 @@ import java.net.URI; import java.nio.charset.Charset; -import java.util.Arrays; import java.util.List; import org.junit.Before; @@ -106,21 +105,4 @@ public void getFormBody() throws Exception { assertArrayEquals("Invalid content returned", content, result); } - @Test - public void getQu...
true
Other
spring-projects
spring-framework
71dbd7bc1f4ac49dcdc1222174906d6db1ee378c.json
Remove qetQueryParams from ServerHttpRequest
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/AbstractHttpSendingTransportHandler.java
@@ -17,17 +17,22 @@ package org.springframework.web.socket.sockjs.transport.handler; import java.io.IOException; +import java.io.UnsupportedEncodingException; import org.springframework.http.MediaType; import org.springframework.http.server.ServerHttpRequest; import org.springframework.http.server.ServerHttpRe...
true
Other
spring-projects
spring-framework
71dbd7bc1f4ac49dcdc1222174906d6db1ee378c.json
Remove qetQueryParams from ServerHttpRequest
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/HtmlFileTransportHandler.java
@@ -98,18 +98,18 @@ public StreamingSockJsSession createSession(String sessionId, WebSocketHandler w public void handleRequestInternal(ServerHttpRequest request, ServerHttpResponse response, AbstractHttpSockJsSession sockJsSession) { - String callback = request.getQueryParams().getFirst("c"); - if (! String...
true
Other
spring-projects
spring-framework
71dbd7bc1f4ac49dcdc1222174906d6db1ee378c.json
Remove qetQueryParams from ServerHttpRequest
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/JsonpPollingTransportHandler.java
@@ -65,7 +65,7 @@ public void handleRequestInternal(ServerHttpRequest request, ServerHttpResponse AbstractHttpSockJsSession sockJsSession) throws SockJsException { try { - String callback = request.getQueryParams().getFirst("c"); + String callback = getCallbackParam(request); if (! StringUtils.hasText(...
true
Other
spring-projects
spring-framework
4c0490a070f1b70755384472a13a6bca9e210ca1.json
Remove Cookie support from ServerHttpRequest Although ServletHttpRequest provides access to Cookies, other implementations may not. At the moment this was only needed for SockJS to check the value of the JSESSIONID cookie. This is now down by parsing the raw cookie values locally. If comprehensive cookie support is t...
spring-web/src/main/java/org/springframework/http/Cookie.java
@@ -1,73 +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
4c0490a070f1b70755384472a13a6bca9e210ca1.json
Remove Cookie support from ServerHttpRequest Although ServletHttpRequest provides access to Cookies, other implementations may not. At the moment this was only needed for SockJS to check the value of the JSESSIONID cookie. This is now down by parsing the raw cookie values locally. If comprehensive cookie support is t...
spring-web/src/main/java/org/springframework/http/server/ServerHttpRequest.java
@@ -18,9 +18,7 @@ import java.net.InetSocketAddress; import java.security.Principal; -import java.util.Map; -import org.springframework.http.Cookie; import org.springframework.http.HttpInputMessage; import org.springframework.http.HttpRequest; import org.springframework.util.MultiValueMap; @@ -39,11 +37,6 @@ p...
true
Other
spring-projects
spring-framework
4c0490a070f1b70755384472a13a6bca9e210ca1.json
Remove Cookie support from ServerHttpRequest Although ServletHttpRequest provides access to Cookies, other implementations may not. At the moment this was only needed for SockJS to check the value of the JSESSIONID cookie. This is now down by parsing the raw cookie values locally. If comprehensive cookie support is t...
spring-web/src/main/java/org/springframework/http/server/ServletServerCookie.java
@@ -1,80 +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