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
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-test/src/main/java/org/springframework/test/context/support/AbstractContextLoader.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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. @@ -35,11 +35,12 @@ * implementations of the ...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-test/src/main/java/org/springframework/test/context/support/AbstractGenericContextLoader.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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. @@ -29,7 +29,7 @@ /** * Abstract, generic ex...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-test/src/main/java/org/springframework/test/context/support/AnnotationConfigContextLoader.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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. @@ -35,7 +35,7 @@ * Concrete implementation o...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-tx/src/main/java/org/springframework/jca/work/jboss/JBossWorkManagerUtils.java
@@ -53,7 +53,7 @@ public static WorkManager getWorkManager() { /** * Obtain the default JBoss JCA WorkManager through a JMX lookup * for the JBossWorkManagerMBean. - * @param workManagerObjectName the JMX object name to use + * @param mbeanName the JMX object name to use * @see org.jboss.resource.work.JBos...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-tx/src/main/java/org/springframework/transaction/annotation/EnableTransactionManagement.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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. @@ -157,7 +157,7 @@ /** * Indicate how t...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionProxyFactoryBean.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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. @@ -156,7 +156,6 @@ public void setTransactionA...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-tx/src/main/java/org/springframework/transaction/support/DelegatingTransactionDefinition.java
@@ -37,7 +37,7 @@ public abstract class DelegatingTransactionDefinition implements TransactionDefi /** * Create a DelegatingTransactionAttribute for the given target attribute. - * @param targetAttribute the target TransactionAttribute to delegate to + * @param targetDefinition the target TransactionAttribute ...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-web/src/main/java/org/springframework/http/client/ClientHttpRequestInterceptor.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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. @@ -22,7 +22,7 @@ /** * Intercepts client-...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-web/src/main/java/org/springframework/http/converter/HttpMessageNotWritableException.java
@@ -18,7 +18,8 @@ /** * Thrown by {@link org.springframework.http.converter.HttpMessageConverter} implementations when the - * {@link org.springframework.http.converter.HttpMessageConverter#write(Object, org.springframework.http.HttpOutputMessage) write} method fails. + * {@link org.springframework.http.converter....
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-web/src/main/java/org/springframework/web/bind/annotation/CookieValue.java
@@ -35,7 +35,8 @@ * @see RequestParam * @see RequestHeader * @see org.springframework.web.bind.annotation.RequestMapping - * @see org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMethodAdapter + * @see org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter + *...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-web/src/main/java/org/springframework/web/bind/annotation/PathVariable.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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. @@ -29,7 +29,8 @@ * * @author Arjen Poutsma...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-web/src/main/java/org/springframework/web/bind/annotation/RequestBody.java
@@ -25,17 +25,18 @@ import org.springframework.http.converter.HttpMessageConverter; /** - * Annotation indicating a method parameter should be bound to the body of the web request. - * The body of the request is passed through an {@link HttpMessageConverter} to resolve the - * method argument depending on the con...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-web/src/main/java/org/springframework/web/bind/annotation/RequestHeader.java
@@ -31,7 +31,7 @@ * @see RequestMapping * @see RequestParam * @see CookieValue - * @see org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMethodAdapter + * @see org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter * @see org.springframework.web.portlet.mvc....
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-web/src/main/java/org/springframework/web/bind/annotation/RequestMapping.java
@@ -57,7 +57,7 @@ * As a consequence, such an argument will never be <code>null</code>. * <i>Note that session access may not be thread-safe, in particular in a * Servlet environment: Consider switching the - * {@link org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMethodAdapter#setSync...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-web/src/main/java/org/springframework/web/bind/annotation/RequestParam.java
@@ -26,14 +26,15 @@ * Annotation which indicates that a method parameter should be bound to a web * request parameter. Supported for annotated handler methods in Servlet and * Portlet environments. - * + * * @author Arjen Poutsma * @author Juergen Hoeller * @since 2.5 * @see RequestMapping * @see Reque...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-web/src/main/java/org/springframework/web/bind/support/ConfigurableWebBindingInitializer.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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. @@ -62,7 +62,7 @@ public class ConfigurableWebB...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-web/src/main/java/org/springframework/web/context/ContextLoader.java
@@ -202,7 +202,7 @@ public class ContextLoader { * ContextLoaderListener} subclass as a {@code <listener>} within {@code web.xml}, as * a no-arg constructor is required. * <p>The created application context will be registered into the ServletContext under - * the attribute name {@link WebApplicationContext.RO...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-web/src/main/java/org/springframework/web/context/ContextLoaderListener.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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. @@ -52,7 +52,7 @@ public class ContextLoaderLis...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-web/src/main/java/org/springframework/web/context/support/AnnotationConfigWebApplicationContext.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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. @@ -137,7 +137,7 @@ public void setConfigLocati...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/DispatcherPortlet.java
@@ -963,7 +963,6 @@ protected ActionRequest checkMultipart(ActionRequest request) throws MultipartEx * Return the HandlerExecutionChain for this request. * Try all handler mappings in order. * @param request current portlet request - * @param cache whether to cache the HandlerExecutionChain in a request attri...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/context/AbstractRefreshablePortletApplicationContext.java
@@ -91,7 +91,7 @@ public AbstractRefreshablePortletApplicationContext() { * {@inheritDoc} * <p>The parent {@linkplain #getEnvironment() environment} is * delegated to this (child) context if the parent is a - * {@link ConfigurableApplicationContext} implementation. + * {@link org.springframework.context.Conf...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/context/PortletContextScope.java
@@ -54,7 +54,7 @@ public class PortletContextScope implements Scope, DisposableBean { /** * Create a new Scope wrapper for the given PortletContext. - * @param PortletContext the PortletContext to wrap + * @param portletContext the PortletContext to wrap */ public PortletContextScope(PortletContext portle...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/context/StaticPortletApplicationContext.java
@@ -88,7 +88,7 @@ protected void initPropertySources() { * {@inheritDoc} * <p>The parent {@linkplain #getEnvironment() environment} is * delegated to this (child) context if the parent is a - * {@link ConfigurableApplicationContext} implementation. + * {@link org.springframework.context.ConfigurableApplicati...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/handler/PortletRequestMethodNotSupportedException.java
@@ -55,7 +55,6 @@ public PortletRequestMethodNotSupportedException(String method, String[] support /** * Create a new PortletRequestMethodNotSupportedException. - * @param method the unsupported HTTP request method * @param supportedMethods the actually supported HTTP methods */ public PortletRequestMet...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-webmvc/src/main/java/org/springframework/web/servlet/FrameworkServlet.java
@@ -330,7 +330,7 @@ public String getNamespace() { * Specify the set of fully-qualified {@link ApplicationContextInitializer} class * names, per the optional "contextInitializerClasses" servlet init-param. * @see #configureAndRefreshWebApplicationContext(ConfigurableWebApplicationContext) - * @see #applyIniti...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-webmvc/src/main/java/org/springframework/web/servlet/handler/DispatcherServletWebRequest.java
@@ -47,7 +47,7 @@ public DispatcherServletWebRequest(HttpServletRequest request) { /** * Create a new DispatcherServletWebRequest instance for the given request and response. * @param request current HTTP request - * @param request current HTTP response + * @param response current HTTP response */ public...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/annotation/AnnotationMethodHandlerAdapter.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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. @@ -443,7 +443,7 @@ protected ModelAndView invo...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/condition/RequestCondition.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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. @@ -22,48 +22,48 @@ /** * The contract for...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/RequestMappingInfoHandlerMapping.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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. @@ -54,10 +54,10 @@ protected Set<String> getMa...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMapping.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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. @@ -32,8 +32,8 @@ import org.springframework.w...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ServletModelAttributeMethodProcessor.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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. @@ -37,8 +37,8 @@ /** * A Servlet-specific...
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-webmvc/src/main/java/org/springframework/web/servlet/resource/DefaultServletHttpRequestHandler.java
@@ -30,7 +30,8 @@ /** * An {@link HttpRequestHandler} for serving static files using the Servlet container's "default" Servlet. * - * <p>This handler is intended to be used with a "/*" mapping when the {@link DispatcherServlet} + * <p>This handler is intended to be used with a "/*" mapping when the + * {@link org....
true
Other
spring-projects
spring-framework
effb762558f152ed60f5bd6aedb4c7b5ea65db4a.json
Fix javadoc warnings Before this change there were numerous javadoc warnings being reported while building Spring framework API. This commit resolves most of the javadoc warnings, reducing the total number from 265 to 103. Issue: SPR-9113
spring-webmvc/src/main/java/org/springframework/web/servlet/support/RequestContext.java
@@ -50,16 +50,16 @@ /** * Context holder for request-specific state, like current web application context, current locale, current theme, and * potential binding errors. Provides easy access to localized messages and Errors instances. - * + * * <p>Suitable for exposition to views, and usage within JSP's "useBea...
true
Other
spring-projects
spring-framework
7ee821d3d153c7d528cc29b2ebf295c3877a5dff.json
Add ability to handle a timeout to DeferredResult When a controller returns a DeferredResult, the underlying async request will eventually time out. Until now the default behavior was to send a 503 (SERVICE_UNAVAILABLE). However, this is not desirable in all cases. For example if waiting on an event, a timeout simply ...
spring-web/src/main/java/org/springframework/web/context/request/async/AsyncExecutionChain.java
@@ -143,7 +143,7 @@ private void startAsync() { } private Callable<Object> buildChain() { - Assert.state(this.callable != null, "The callable field is required to complete the chain"); + Assert.state(this.callable != null, "The last callable is required to build the async chain"); this.delegatingCallables.ad...
true
Other
spring-projects
spring-framework
7ee821d3d153c7d528cc29b2ebf295c3877a5dff.json
Add ability to handle a timeout to DeferredResult When a controller returns a DeferredResult, the underlying async request will eventually time out. Until now the default behavior was to send a 503 (SERVICE_UNAVAILABLE). However, this is not desirable in all cases. For example if waiting on an event, a timeout simply ...
spring-web/src/main/java/org/springframework/web/context/request/async/AsyncExecutionChainRunnable.java
@@ -49,7 +49,6 @@ public class AsyncExecutionChainRunnable implements Runnable { public AsyncExecutionChainRunnable(AsyncWebRequest asyncWebRequest, Callable<?> callable) { Assert.notNull(asyncWebRequest, "An AsyncWebRequest is required"); Assert.notNull(callable, "A Callable is required"); - Assert.state(asyn...
true
Other
spring-projects
spring-framework
7ee821d3d153c7d528cc29b2ebf295c3877a5dff.json
Add ability to handle a timeout to DeferredResult When a controller returns a DeferredResult, the underlying async request will eventually time out. Until now the default behavior was to send a 503 (SERVICE_UNAVAILABLE). However, this is not desirable in all cases. For example if waiting on an event, a timeout simply ...
spring-web/src/main/java/org/springframework/web/context/request/async/AsyncWebRequest.java
@@ -35,6 +35,12 @@ public interface AsyncWebRequest extends NativeWebRequest { */ void setTimeout(Long timeout); + /** + * Invoked on a timeout to complete the response instead of the default + * behavior that sets the status to 503 (SERVICE_UNAVAILABLE). + */ + void setTimeoutHandler(Runnable runnable); + ...
true
Other
spring-projects
spring-framework
7ee821d3d153c7d528cc29b2ebf295c3877a5dff.json
Add ability to handle a timeout to DeferredResult When a controller returns a DeferredResult, the underlying async request will eventually time out. Until now the default behavior was to send a 503 (SERVICE_UNAVAILABLE). However, this is not desirable in all cases. For example if waiting on an event, a timeout simply ...
spring-web/src/main/java/org/springframework/web/context/request/async/DeferredResult.java
@@ -16,72 +16,135 @@ package org.springframework.web.context.request.async; -import java.util.concurrent.ArrayBlockingQueue; -import java.util.concurrent.BlockingQueue; -import java.util.concurrent.atomic.AtomicReference; +import java.util.concurrent.CountDownLatch; +import java.util.concurrent.TimeUnit; +import j...
true
Other
spring-projects
spring-framework
7ee821d3d153c7d528cc29b2ebf295c3877a5dff.json
Add ability to handle a timeout to DeferredResult When a controller returns a DeferredResult, the underlying async request will eventually time out. Until now the default behavior was to send a 503 (SERVICE_UNAVAILABLE). However, this is not desirable in all cases. For example if waiting on an event, a timeout simply ...
spring-web/src/main/java/org/springframework/web/context/request/async/NoOpAsyncWebRequest.java
@@ -39,6 +39,9 @@ public NoOpAsyncWebRequest(HttpServletRequest request, HttpServletResponse respo public void setTimeout(Long timeout) { } + public void setTimeoutHandler(Runnable runnable) { + } + public boolean isAsyncStarted() { return false; }
true
Other
spring-projects
spring-framework
7ee821d3d153c7d528cc29b2ebf295c3877a5dff.json
Add ability to handle a timeout to DeferredResult When a controller returns a DeferredResult, the underlying async request will eventually time out. Until now the default behavior was to send a 503 (SERVICE_UNAVAILABLE). However, this is not desirable in all cases. For example if waiting on an event, a timeout simply ...
spring-web/src/main/java/org/springframework/web/context/request/async/StandardServletAsyncWebRequest.java
@@ -48,6 +48,8 @@ public class StandardServletAsyncWebRequest extends ServletWebRequest implements private AtomicBoolean asyncCompleted = new AtomicBoolean(false); + private Runnable timeoutHandler; + public StandardServletAsyncWebRequest(HttpServletRequest request, HttpServletResponse response) { super(requ...
true
Other
spring-projects
spring-framework
7ee821d3d153c7d528cc29b2ebf295c3877a5dff.json
Add ability to handle a timeout to DeferredResult When a controller returns a DeferredResult, the underlying async request will eventually time out. Until now the default behavior was to send a 503 (SERVICE_UNAVAILABLE). However, this is not desirable in all cases. For example if waiting on an event, a timeout simply ...
spring-web/src/test/java/org/springframework/web/context/request/async/AsyncExecutionChainTests.java
@@ -123,7 +123,7 @@ public void startCallableChainProcessing_requiredCallable() { fail("Expected exception"); } catch (IllegalStateException ex) { - assertThat(ex.getMessage(), containsString("The callable field is required")); + assertThat(ex.getMessage(), containsString("last callable is required")); ...
true
Other
spring-projects
spring-framework
7ee821d3d153c7d528cc29b2ebf295c3877a5dff.json
Add ability to handle a timeout to DeferredResult When a controller returns a DeferredResult, the underlying async request will eventually time out. Until now the default behavior was to send a 503 (SERVICE_UNAVAILABLE). However, this is not desirable in all cases. For example if waiting on an event, a timeout simply ...
spring-web/src/test/java/org/springframework/web/context/request/async/DeferredResultTests.java
@@ -0,0 +1,119 @@ +/* + * 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
b51caae0df871c5c1bbf4b2e11174658a3f0cad9.json
Fix broken test Issue: SPR-8517
spring-web/src/test/java/org/springframework/web/context/request/async/AsyncExecutionChainTests.java
@@ -140,38 +140,38 @@ public void startCallableChainProcessing_requiredAsyncWebRequest() { } @Test - public void startDeferredValueProcessing() throws Exception { + public void startDeferredResultProcessing() throws Exception { this.chain.addDelegatingCallable(new IntegerIncrementingCallable()); this.chain....
false
Other
spring-projects
spring-framework
6d5a630c4491f9b2790095cef4d37f6cdd2d7456.json
Fix transitive dependency issue with slf4j-api Before this change, IDE settings generated via import-into-eclipse.sh created a classpath dependency on slf4j-api version 1.6.1 and slf4j-log4j12 version 1.5.10. As a result running tests inside the IDE resulted in a NoSuchMethodException. build.gradle sets the variable ...
build.gradle
@@ -213,9 +213,13 @@ project('spring-context') { compile("org.beanshell:bsh:2.0b4", optional) compile("org.codehaus.groovy:groovy-all:1.6.3", optional) compile("org.jruby:jruby:1.4.0", optional) - compile("org.hibernate:hibernate-validator:4.2.0.Final", optional) + compile("org....
false
Other
spring-projects
spring-framework
57b89e03889a9ec8a797ae16dcebb6ccd014bb82.json
Fix typo in ApplicationContext reference doc
src/reference/docbook/beans.xml
@@ -86,7 +86,7 @@ The footnote should x-ref to first section in that chapter but I can't find the ><classname>FileSystemXmlApplicationContext</classname></ulink>. <!-- MLP: Beverly to review --> While XML has been the traditional format for defining configuration metadata you can instruct the conta...
false
Other
spring-projects
spring-framework
0ab9e9a0c64a252fb8d8590bc302e82b8c8926c6.json
Upgrade AspectJ from 1.6.8 to 1.6.12 - Spring remains compatible against AJ version 1.6.8, but is now compiling and testing against 1.6.12 - Encountered what appears to be an AJ bug introduced in 1.6.10: an assertion in org.aspectj.weaver.UnresolvedType causes a false negative failure when encountering org...
build.gradle
@@ -18,6 +18,7 @@ configure(allprojects) { targetCompatibility=1.5 ext.slf4jLog4jVersion = '1.5.10' + ext.aspectjVersion = '1.6.12' [compileJava, compileTestJava]*.options*.compilerArgs = ['-Xlint:none'] @@ -133,7 +134,7 @@ project('spring-core') { builtBy project(":spring-asm").jar...
true
Other
spring-projects
spring-framework
0ab9e9a0c64a252fb8d8590bc302e82b8c8926c6.json
Upgrade AspectJ from 1.6.8 to 1.6.12 - Spring remains compatible against AJ version 1.6.8, but is now compiling and testing against 1.6.12 - Encountered what appears to be an AJ bug introduced in 1.6.10: an assertion in org.aspectj.weaver.UnresolvedType causes a false negative failure when encountering org...
src/dist/changelog.txt
@@ -5,6 +5,7 @@ http://www.springsource.org Changes in version 3.2 M1 ------------------------------------- +* upgraded to AspectJ 1.6.12 * better handling on failure to parse invalid 'Content-Type' or 'Accept' headers * handle a controller method's return value based on the actual returned value (vs declared typ...
true
Other
spring-projects
spring-framework
f6003b5102b81a83fa5995104dda8983b65f24ae.json
Fix typo in reference documentation Issue: SPR-9321
src/reference/docbook/beans.xml
@@ -356,7 +356,7 @@ The footnote should x-ref to first section in that chapter but I can't find the <para>The <interfacename>ApplicationContext</interfacename> is the interface for an advanced factory capable of maintaining a registry of different beans and their dependencies. Using the method ...
false
Other
spring-projects
spring-framework
cfe2af76906039e42b12dc24cf4fca7b91c9b910.json
Use the type of the actual return value in @MVC The new @MVC support classes select a HandlerMethodArgumentResolver and a HandlerMethodReturnValueHandler statically, i.e. based on the signature of the method, which means that a controller method can't declare a more general return type like Object but actually return ...
spring-web/src/main/java/org/springframework/web/method/HandlerMethod.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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. @@ -29,13 +29,13 @@ import org.springframework...
true
Other
spring-projects
spring-framework
cfe2af76906039e42b12dc24cf4fca7b91c9b910.json
Use the type of the actual return value in @MVC The new @MVC support classes select a HandlerMethodArgumentResolver and a HandlerMethodReturnValueHandler statically, i.e. based on the signature of the method, which means that a controller method can't declare a more general return type like Object but actually return ...
spring-web/src/main/java/org/springframework/web/method/support/HandlerMethodReturnValueHandlerComposite.java
@@ -19,8 +19,6 @@ import java.util.ArrayList; import java.util.Collections; import java.util.List; -import java.util.Map; -import java.util.concurrent.ConcurrentHashMap; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; @@ -42,9 +40,6 @@ public class HandlerMethodReturnValueHan...
true
Other
spring-projects
spring-framework
cfe2af76906039e42b12dc24cf4fca7b91c9b910.json
Use the type of the actual return value in @MVC The new @MVC support classes select a HandlerMethodArgumentResolver and a HandlerMethodReturnValueHandler statically, i.e. based on the signature of the method, which means that a controller method can't declare a more general return type like Object but actually return ...
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ExceptionHandlerExceptionResolver.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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.
true
Other
spring-projects
spring-framework
cfe2af76906039e42b12dc24cf4fca7b91c9b910.json
Use the type of the actual return value in @MVC The new @MVC support classes select a HandlerMethodArgumentResolver and a HandlerMethodReturnValueHandler statically, i.e. based on the signature of the method, which means that a controller method can't declare a more general return type like Object but actually return ...
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ServletInvocableHandlerMethod.java
@@ -107,7 +107,7 @@ public final void invokeAndHandle( mavContainer.setRequestHandled(false); try { - returnValueHandlers.handleReturnValue(returnValue, getReturnType(), mavContainer, request); + returnValueHandlers.handleReturnValue(returnValue, getReturnValueType(returnValue), mavContainer, request); }...
true
Other
spring-projects
spring-framework
cfe2af76906039e42b12dc24cf4fca7b91c9b910.json
Use the type of the actual return value in @MVC The new @MVC support classes select a HandlerMethodArgumentResolver and a HandlerMethodReturnValueHandler statically, i.e. based on the signature of the method, which means that a controller method can't declare a more general return type like Object but actually return ...
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ServletInvocableHandlerMethodTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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. @@ -15,9 +15,10 @@ */ package org.springfr...
true
Other
spring-projects
spring-framework
cfe2af76906039e42b12dc24cf4fca7b91c9b910.json
Use the type of the actual return value in @MVC The new @MVC support classes select a HandlerMethodArgumentResolver and a HandlerMethodReturnValueHandler statically, i.e. based on the signature of the method, which means that a controller method can't declare a more general return type like Object but actually return ...
src/dist/changelog.txt
@@ -5,8 +5,11 @@ http://www.springsource.org Changes in version 3.2 M1 ------------------------------------- -* fix issue with parsing invalid Content-Type or Accept headers - +* better handling on failure to parse invalid 'Content-Type' or 'Accept' headers +* handle a controller method's return value based on the ...
true
Other
spring-projects
spring-framework
ca8b98e94724cd9a2008deb4fe1280aaace6ca8b.json
Fix issue with parsing media types Invalid Content-Type or Accept header values previously resulted in the IllegalArgumentException getting propagated. After this change such errors are detected and generally treated as a "no match", which may for example result in a 406 in the case of the Accept header. Issue: SPR-9...
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/condition/AbstractMediaTypeExpression.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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. @@ -18,19 +18,23 @@ import javax.servlet.htt...
true
Other
spring-projects
spring-framework
ca8b98e94724cd9a2008deb4fe1280aaace6ca8b.json
Fix issue with parsing media types Invalid Content-Type or Accept header values previously resulted in the IllegalArgumentException getting propagated. After this change such errors are detected and generally treated as a "no match", which may for example result in a 406 in the case of the Accept header. Issue: SPR-9...
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/AbstractMessageConverterMethodProcessor.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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. @@ -41,7 +41,7 @@ import org.springframework.w...
true
Other
spring-projects
spring-framework
ca8b98e94724cd9a2008deb4fe1280aaace6ca8b.json
Fix issue with parsing media types Invalid Content-Type or Accept header values previously resulted in the IllegalArgumentException getting propagated. After this change such errors are detected and generally treated as a "no match", which may for example result in a 406 in the case of the Accept header. Issue: SPR-9...
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/condition/ConsumesRequestConditionTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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. @@ -44,7 +44,7 @@ public void consumesMatch() {...
true
Other
spring-projects
spring-framework
ca8b98e94724cd9a2008deb4fe1280aaace6ca8b.json
Fix issue with parsing media types Invalid Content-Type or Accept header values previously resulted in the IllegalArgumentException getting propagated. After this change such errors are detected and generally treated as a "no match", which may for example result in a 406 in the case of the Accept header. Issue: SPR-9...
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/condition/ProducesRequestConditionTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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. @@ -34,7 +34,7 @@ * @author Rossen Stoyanchev...
true
Other
spring-projects
spring-framework
ca8b98e94724cd9a2008deb4fe1280aaace6ca8b.json
Fix issue with parsing media types Invalid Content-Type or Accept header values previously resulted in the IllegalArgumentException getting propagated. After this change such errors are detected and generally treated as a "no match", which may for example result in a 406 in the case of the Accept header. Issue: SPR-9...
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/HttpEntityMethodProcessorTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * 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. @@ -56,7 +56,7 @@ /** * Test fixture with ...
true
Other
spring-projects
spring-framework
ca8b98e94724cd9a2008deb4fe1280aaace6ca8b.json
Fix issue with parsing media types Invalid Content-Type or Accept header values previously resulted in the IllegalArgumentException getting propagated. After this change such errors are detected and generally treated as a "no match", which may for example result in a 406 in the case of the Accept header. Issue: SPR-9...
src/dist/changelog.txt
@@ -2,6 +2,11 @@ SPRING FRAMEWORK CHANGELOG ========================== http://www.springsource.org +Changes in version 3.2 M1 +------------------------------------- + +* fix issue with parsing invalid Content-Type or Accept headers + Changes in version 3.1.1 (2012-02-16) -------------------------------------
true
Other
spring-projects
spring-framework
0b0293393876934e24a5215bdb7bc2e1bf75c233.json
Fix race condition in AnntationMethodHER Issues: SPR-9138
spring-webmvc-portlet/src/main/java/org/springframework/web/portlet/mvc/annotation/AnnotationMethodHandlerExceptionResolver.java
@@ -75,8 +75,7 @@ public class AnnotationMethodHandlerExceptionResolver extends AbstractHandlerExceptionResolver { // dummy method placeholder - private static final Method NO_METHOD_FOUND = ClassUtils - .getMethodIfAvailable(System.class, "currentTimeMillis", null); + private static final Method NO_METHOD_FOUND...
true
Other
spring-projects
spring-framework
0b0293393876934e24a5215bdb7bc2e1bf75c233.json
Fix race condition in AnntationMethodHER Issues: SPR-9138
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/annotation/AnnotationMethodHandlerExceptionResolver.java
@@ -84,10 +84,10 @@ public class AnnotationMethodHandlerExceptionResolver extends AbstractHandlerExceptionResolver { // dummy method placeholder - private static final Method NO_METHOD_FOUND = ClassUtils.getMethodIfAvailable(System.class, "currentTimeMillis", null); - - private final Map<Class<?>, Map<Class<? ext...
true
Other
spring-projects
spring-framework
64ee5e579adcec97122fc0ee1414031da3be0c6e.json
Fix bug with custom RequestCondition A custom RequestCondition which can be provided by overriding methods in RequestMappingHandlerMapping worked only for conditions that match and did not return null (as it should have) for conditions that don't match. Issues: SPR-9134
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/condition/RequestConditionHolder.java
@@ -25,22 +25,22 @@ /** * A holder for a {@link RequestCondition} useful when the type of the held * request condition is not known ahead of time - e.g. custom condition. - * - * <p>An implementation of {@code RequestCondition} itself, a - * {@code RequestConditionHolder} decorates the held request condition all...
true
Other
spring-projects
spring-framework
64ee5e579adcec97122fc0ee1414031da3be0c6e.json
Fix bug with custom RequestCondition A custom RequestCondition which can be provided by overriding methods in RequestMappingHandlerMapping worked only for conditions that match and did not return null (as it should have) for conditions that don't match. Issues: SPR-9134
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/condition/RequestConditionHolderTests.java
@@ -17,22 +17,19 @@ package org.springframework.web.servlet.mvc.condition; import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNull; import static org.junit.Assert.assertSame; import javax.servlet.http.HttpServletRequest; import org.junit.Test; import org.springframework.mock....
true
Other
spring-projects
spring-framework
180c5b2ef6c16f66145a4250b597a093e566d922.json
Introduce 3.2 versions of Spring XML namespaces Copy spring-*-3.1.xsd => spring-*-3.2.xsd; this commit introduces no substantive changes, but rather prepares for them by creating a clean baseline. All internal references to 3.1 schemas (e.g. spring-tool) have also been updated.
spring-aop/src/main/resources/org/springframework/aop/config/spring-aop-3.2.xsd
@@ -0,0 +1,410 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> + +<xsd:schema xmlns="http://www.springframework.org/schema/aop" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:beans="http://www.springframework.org/schema/beans" + xmlns:tool="http://www.springframework.org/schema/tool" + targetName...
true
Other
spring-projects
spring-framework
180c5b2ef6c16f66145a4250b597a093e566d922.json
Introduce 3.2 versions of Spring XML namespaces Copy spring-*-3.1.xsd => spring-*-3.2.xsd; this commit introduces no substantive changes, but rather prepares for them by creating a clean baseline. All internal references to 3.1 schemas (e.g. spring-tool) have also been updated.
spring-beans/src/main/resources/org/springframework/beans/factory/xml/spring-beans-3.2.xsd
@@ -0,0 +1,1180 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> + +<xsd:schema xmlns="http://www.springframework.org/schema/beans" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.springframework.org/schema/beans"> + + <xsd:import namespace="http://www.w3.org/XML/1998/namespace"...
true
Other
spring-projects
spring-framework
180c5b2ef6c16f66145a4250b597a093e566d922.json
Introduce 3.2 versions of Spring XML namespaces Copy spring-*-3.1.xsd => spring-*-3.2.xsd; this commit introduces no substantive changes, but rather prepares for them by creating a clean baseline. All internal references to 3.1 schemas (e.g. spring-tool) have also been updated.
spring-beans/src/main/resources/org/springframework/beans/factory/xml/spring-tool-3.2.xsd
@@ -0,0 +1,115 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> + +<xsd:schema xmlns="http://www.springframework.org/schema/tool" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.springframework.org/schema/tool" + elementFormDefault="qualified"> + + <xsd:import namespace="http:/...
true
Other
spring-projects
spring-framework
180c5b2ef6c16f66145a4250b597a093e566d922.json
Introduce 3.2 versions of Spring XML namespaces Copy spring-*-3.1.xsd => spring-*-3.2.xsd; this commit introduces no substantive changes, but rather prepares for them by creating a clean baseline. All internal references to 3.1 schemas (e.g. spring-tool) have also been updated.
spring-beans/src/main/resources/org/springframework/beans/factory/xml/spring-util-3.2.xsd
@@ -0,0 +1,212 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> + +<xsd:schema xmlns="http://www.springframework.org/schema/util" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:beans="http://www.springframework.org/schema/beans" + xmlns:tool="http://www.springframework.org/schema/tool" + targetNam...
true
Other
spring-projects
spring-framework
180c5b2ef6c16f66145a4250b597a093e566d922.json
Introduce 3.2 versions of Spring XML namespaces Copy spring-*-3.1.xsd => spring-*-3.2.xsd; this commit introduces no substantive changes, but rather prepares for them by creating a clean baseline. All internal references to 3.1 schemas (e.g. spring-tool) have also been updated.
spring-context/src/main/resources/org/springframework/cache/config/spring-cache-3.2.xsd
@@ -0,0 +1,235 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> + +<xsd:schema xmlns="http://www.springframework.org/schema/cache" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:beans="http://www.springframework.org/schema/beans" + xmlns:tool="http://www.springframework.org/schema/tool" + targetNa...
true
Other
spring-projects
spring-framework
180c5b2ef6c16f66145a4250b597a093e566d922.json
Introduce 3.2 versions of Spring XML namespaces Copy spring-*-3.1.xsd => spring-*-3.2.xsd; this commit introduces no substantive changes, but rather prepares for them by creating a clean baseline. All internal references to 3.1 schemas (e.g. spring-tool) have also been updated.
spring-context/src/main/resources/org/springframework/context/config/spring-context-3.2.xsd
@@ -0,0 +1,533 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<xsd:schema xmlns="http://www.springframework.org/schema/context" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:beans="http://www.springframework.org/schema/beans" + xmlns:tool="http://www.springframework.org/schema/tool" + targetNamespace="http://www....
true
Other
spring-projects
spring-framework
180c5b2ef6c16f66145a4250b597a093e566d922.json
Introduce 3.2 versions of Spring XML namespaces Copy spring-*-3.1.xsd => spring-*-3.2.xsd; this commit introduces no substantive changes, but rather prepares for them by creating a clean baseline. All internal references to 3.1 schemas (e.g. spring-tool) have also been updated.
spring-context/src/main/resources/org/springframework/ejb/config/spring-jee-3.2.xsd
@@ -0,0 +1,267 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> + +<xsd:schema xmlns="http://www.springframework.org/schema/jee" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:beans="http://www.springframework.org/schema/beans" + xmlns:tool="http://www.springframework.org/schema/tool" + targetName...
true
Other
spring-projects
spring-framework
180c5b2ef6c16f66145a4250b597a093e566d922.json
Introduce 3.2 versions of Spring XML namespaces Copy spring-*-3.1.xsd => spring-*-3.2.xsd; this commit introduces no substantive changes, but rather prepares for them by creating a clean baseline. All internal references to 3.1 schemas (e.g. spring-tool) have also been updated.
spring-context/src/main/resources/org/springframework/scheduling/config/spring-task-3.2.xsd
@@ -0,0 +1,250 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> + +<xsd:schema xmlns="http://www.springframework.org/schema/task" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:beans="http://www.springframework.org/schema/beans" + xmlns:tool="http://www.springframework.org/schema/tool" + targetNam...
true
Other
spring-projects
spring-framework
180c5b2ef6c16f66145a4250b597a093e566d922.json
Introduce 3.2 versions of Spring XML namespaces Copy spring-*-3.1.xsd => spring-*-3.2.xsd; this commit introduces no substantive changes, but rather prepares for them by creating a clean baseline. All internal references to 3.1 schemas (e.g. spring-tool) have also been updated.
spring-context/src/main/resources/org/springframework/scripting/config/spring-lang-3.2.xsd
@@ -0,0 +1,233 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> + +<xsd:schema xmlns="http://www.springframework.org/schema/lang" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:beans="http://www.springframework.org/schema/beans" + xmlns:tool="http://www.springframework.org/schema/tool" + targetNam...
true
Other
spring-projects
spring-framework
180c5b2ef6c16f66145a4250b597a093e566d922.json
Introduce 3.2 versions of Spring XML namespaces Copy spring-*-3.1.xsd => spring-*-3.2.xsd; this commit introduces no substantive changes, but rather prepares for them by creating a clean baseline. All internal references to 3.1 schemas (e.g. spring-tool) have also been updated.
spring-jdbc/src/main/resources/org/springframework/jdbc/config/spring-jdbc-3.2.xsd
@@ -0,0 +1,181 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<xsd:schema xmlns="http://www.springframework.org/schema/jdbc" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:beans="http://www.springframework.org/schema/beans" + xmlns:tool="http://www.springframework.org/schema/tool" + targetNamespace="http://www.spri...
true
Other
spring-projects
spring-framework
180c5b2ef6c16f66145a4250b597a093e566d922.json
Introduce 3.2 versions of Spring XML namespaces Copy spring-*-3.1.xsd => spring-*-3.2.xsd; this commit introduces no substantive changes, but rather prepares for them by creating a clean baseline. All internal references to 3.1 schemas (e.g. spring-tool) have also been updated.
spring-jms/src/main/resources/org/springframework/jms/config/spring-jms-3.2.xsd
@@ -0,0 +1,480 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<xsd:schema xmlns="http://www.springframework.org/schema/jms" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:tool="http://www.springframework.org/schema/tool" + targetNamespace="http://www.sp...
true
Other
spring-projects
spring-framework
180c5b2ef6c16f66145a4250b597a093e566d922.json
Introduce 3.2 versions of Spring XML namespaces Copy spring-*-3.1.xsd => spring-*-3.2.xsd; this commit introduces no substantive changes, but rather prepares for them by creating a clean baseline. All internal references to 3.1 schemas (e.g. spring-tool) have also been updated.
spring-oxm/src/main/resources/org/springframework/oxm/config/spring-oxm-3.2.xsd
@@ -0,0 +1,158 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<xsd:schema xmlns="http://www.springframework.org/schema/oxm" xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:beans="http://www.springframework.org/schema/beans" + xmlns:tool="http://www.springframework.org/schema/tool" + targetNamesp...
true
Other
spring-projects
spring-framework
180c5b2ef6c16f66145a4250b597a093e566d922.json
Introduce 3.2 versions of Spring XML namespaces Copy spring-*-3.1.xsd => spring-*-3.2.xsd; this commit introduces no substantive changes, but rather prepares for them by creating a clean baseline. All internal references to 3.1 schemas (e.g. spring-tool) have also been updated.
spring-tx/src/main/resources/org/springframework/transaction/config/spring-tx-3.2.xsd
@@ -0,0 +1,247 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> + +<xsd:schema xmlns="http://www.springframework.org/schema/tx" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:beans="http://www.springframework.org/schema/beans" + xmlns:tool="http://www.springframework.org/schema/tool" + targetNames...
true
Other
spring-projects
spring-framework
180c5b2ef6c16f66145a4250b597a093e566d922.json
Introduce 3.2 versions of Spring XML namespaces Copy spring-*-3.1.xsd => spring-*-3.2.xsd; this commit introduces no substantive changes, but rather prepares for them by creating a clean baseline. All internal references to 3.1 schemas (e.g. spring-tool) have also been updated.
spring-webmvc/src/main/resources/org/springframework/web/servlet/config/spring-mvc-3.2.xsd
@@ -0,0 +1,326 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<xsd:schema xmlns="http://www.springframework.org/schema/mvc" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:beans="http://www.springframework.org/schema/beans" + xmlns:tool="http://www.springframework.org/schema/tool" + targetNamespace="http://www.spr...
true
Other
spring-projects
spring-framework
e3f544904c3cce5b6e9947c6429708a4b3bc4ef8.json
Fix warnings in LocalSessionFactoryBean
spring-orm/src/main/java/org/springframework/orm/hibernate3/LocalSessionFactoryBean.java
@@ -26,14 +26,14 @@ import java.util.Enumeration; import java.util.Map; import java.util.Properties; + import javax.sql.DataSource; import javax.transaction.TransactionManager; import org.hibernate.HibernateException; import org.hibernate.Interceptor; import org.hibernate.Session; import org.hibernate.Sessio...
false
Other
spring-projects
spring-framework
352ed517c5fd74f3549a36050c325b8a3fc00f28.json
Fix typo in @ComponentScan Javadoc With thanks to @abdull for pull request #55
spring-context/src/main/java/org/springframework/context/annotation/ComponentScan.java
@@ -132,7 +132,7 @@ /** * Declares the type filter to be used as an {@linkplain ComponentScan#includeFilters() - * include filter} or {@linkplain ComponentScan#includeFilters() exclude filter}. + * include filter} or {@linkplain ComponentScan#excludeFilters() exclude filter}. */ @Retention(RetentionPolicy...
false
Other
spring-projects
spring-framework
f3ff98d86275e19e6828f9c3a0c432de0587bbbe.json
Allow nulls with multiple embedded value resolvers Allow an embedded value resolver added to an AbstractBeanFactory to return null without adversely effecting any subsequent resolvers. Issue: SPR-8565
spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanFactory.java
@@ -746,7 +746,7 @@ public void addEmbeddedValueResolver(StringValueResolver valueResolver) { public String resolveEmbeddedValue(String value) { String result = value; for (StringValueResolver resolver : this.embeddedValueResolvers) { - result = resolver.resolveStringValue(result); + result = (result == nul...
true
Other
spring-projects
spring-framework
f3ff98d86275e19e6828f9c3a0c432de0587bbbe.json
Allow nulls with multiple embedded value resolvers Allow an embedded value resolver added to an AbstractBeanFactory to return null without adversely effecting any subsequent resolvers. Issue: SPR-8565
spring-beans/src/test/java/org/springframework/beans/factory/DefaultListableBeanFactoryTests.java
@@ -28,6 +28,11 @@ import static org.junit.Assert.assertThat; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; +import static org.mockito.BDDMockito.given; +import static org.mockito.Matchers.isNull; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.never; +im...
true
Other
spring-projects
spring-framework
e4f1f682e2a7eb8e7589f1281d96132453d01523.json
Update distribution README regarding paths - Corrected path to 'docs/spring-framework-reference' - Minor formatting changes
src/dist/readme.txt
@@ -1,12 +1,11 @@ Spring Framework version ${version} -=============================================================================== +================================================================================ -To find out what has changed since any earlier releases, see -'docs/changelog.txt'. +To find out wh...
false
Other
spring-projects
spring-framework
3b8aba9ccd0ca0a437a9425471644b1d01a99795.json
Fix typo in ContextLifecycleScheduledTaskRegistrar
spring-context/src/main/java/org/springframework/scheduling/config/ContextLifecycleScheduledTaskRegistrar.java
@@ -22,9 +22,9 @@ import org.springframework.context.event.ContextRefreshedEvent; /** - * {@link ScheduledTaskRegistrar} subclass that redirect the actual scheduling + * {@link ScheduledTaskRegistrar} subclass that redirects the actual scheduling * of tasks to the {@link ContextRefreshedEvent} callback. Falls bac...
false
Other
spring-projects
spring-framework
7e74fd2b7fb30e6206d40bb7235d82433682386a.json
Consider primary attribute with getBean(Class) Update DefaultListableBeanFactory.getBean(Class<?> beanClass) to consider the 'primary' attribute of bean definitions. This makes getBean() behave in the same way as autowiring. Issue: SPR-7854
spring-beans/src/main/java/org/springframework/beans/factory/support/DefaultListableBeanFactory.java
@@ -90,6 +90,7 @@ * @author Sam Brannen * @author Costin Leau * @author Chris Beams + * @author Phillip Webb * @since 16 April 2001 * @see StaticListableBeanFactory * @see PropertiesBeanDefinitionReader @@ -272,6 +273,20 @@ public <T> T getBean(Class<T> requiredType) throws BeansException { return getBe...
true
Other
spring-projects
spring-framework
7e74fd2b7fb30e6206d40bb7235d82433682386a.json
Consider primary attribute with getBean(Class) Update DefaultListableBeanFactory.getBean(Class<?> beanClass) to consider the 'primary' attribute of bean definitions. This makes getBean() behave in the same way as autowiring. Issue: SPR-7854
spring-beans/src/test/java/org/springframework/beans/factory/DefaultListableBeanFactoryTests.java
@@ -17,6 +17,8 @@ package org.springframework.beans.factory; import static org.hamcrest.CoreMatchers.is; +import static org.hamcrest.Matchers.containsString; +import static org.hamcrest.Matchers.equalTo; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.ju...
true
Other
spring-projects
spring-framework
3c09b07652ed3c7a2e4cee1295a450aee387f99b.json
Raise exception on missing request parameters Issue: SPR-10193
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/RequestMappingInfoHandlerMapping.java
@@ -28,15 +28,19 @@ import javax.servlet.http.HttpServletRequest; import org.springframework.http.MediaType; +import org.springframework.util.CollectionUtils; import org.springframework.util.MultiValueMap; import org.springframework.util.StringUtils; import org.springframework.web.HttpMediaTypeNotAcceptableExcep...
true
Other
spring-projects
spring-framework
3c09b07652ed3c7a2e4cee1295a450aee387f99b.json
Raise exception on missing request parameters Issue: SPR-10193
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/RequestMappingInfoHandlerMappingTests.java
@@ -42,6 +42,7 @@ import org.springframework.web.HttpMediaTypeNotAcceptableException; import org.springframework.web.HttpMediaTypeNotSupportedException; import org.springframework.web.HttpRequestMethodNotSupportedException; +import org.springframework.web.bind.UnsatisfiedServletRequestParameterException; import org...
true
Other
spring-projects
spring-framework
692ced8046f40facaa15fe9ad5a8d2cf56852794.json
Fix typo in reference docs Issue: SPR-10204
src/reference/docbook/mvc.xml
@@ -5110,7 +5110,7 @@ public class WebConfig extends WebMvcConfigurerAdapter { @Override public void configureContentNegotiation(ContentNegotiationConfigurer configurer) { - configurer.setFavorPathExtension(false).setFavorParameter(true); + configurer.favorPathExtension(false).favorParameter(true); } ...
false
Other
spring-projects
spring-framework
d3f4528905b2c6277d1b169f8570591418c57350.json
Remove additional xsd versions from reference docs A few versioned xsd references still existed in xsd-configuration.xml; this commit removes them, completing the work for SPR-10010 Issue: SPR-10010
src/reference/docbook/xsd-configuration.xml
@@ -679,7 +679,7 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schem covered in the chapter entitled <xref linkend="transaction"/>.</para> <tip> <para>You are strongly encouraged to look at the - <filename>'spring-tx-3.0.xsd'</fil...
false
Other
spring-projects
spring-framework
3cdb866bda078a24d3fccb36b08a449a970a524f.json
Relax ConfigurableWebEnvironment signatures ConfigurableWebEnvironment was introduced in 3.2.0.M1 with SPR-9439 in order to break a cyclic dependency. At the same time, certain signatures such as AbstractRefreshableWebApplicationContext#getEnviroment and GenericWebApplicationContext#getEnvironment were updated to take...
spring-web/src/main/java/org/springframework/web/context/ConfigurableWebApplicationContext.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -71,11 +71,6 @@ public interface Configurabl...
true
Other
spring-projects
spring-framework
3cdb866bda078a24d3fccb36b08a449a970a524f.json
Relax ConfigurableWebEnvironment signatures ConfigurableWebEnvironment was introduced in 3.2.0.M1 with SPR-9439 in order to break a cyclic dependency. At the same time, certain signatures such as AbstractRefreshableWebApplicationContext#getEnviroment and GenericWebApplicationContext#getEnvironment were updated to take...
spring-web/src/main/java/org/springframework/web/context/ContextLoader.java
@@ -38,6 +38,7 @@ import org.springframework.context.access.ContextSingletonBeanFactoryLocator; import org.springframework.core.GenericTypeResolver; import org.springframework.core.annotation.AnnotationAwareOrderComparator; +import org.springframework.core.env.ConfigurableEnvironment; import org.springframework.cor...
true
Other
spring-projects
spring-framework
3cdb866bda078a24d3fccb36b08a449a970a524f.json
Relax ConfigurableWebEnvironment signatures ConfigurableWebEnvironment was introduced in 3.2.0.M1 with SPR-9439 in order to break a cyclic dependency. At the same time, certain signatures such as AbstractRefreshableWebApplicationContext#getEnviroment and GenericWebApplicationContext#getEnvironment were updated to take...
spring-web/src/main/java/org/springframework/web/context/support/AbstractRefreshableWebApplicationContext.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,7 +27,6 @@ import org.springframework.u...
true
Other
spring-projects
spring-framework
3cdb866bda078a24d3fccb36b08a449a970a524f.json
Relax ConfigurableWebEnvironment signatures ConfigurableWebEnvironment was introduced in 3.2.0.M1 with SPR-9439 in order to break a cyclic dependency. At the same time, certain signatures such as AbstractRefreshableWebApplicationContext#getEnviroment and GenericWebApplicationContext#getEnvironment were updated to take...
spring-web/src/main/java/org/springframework/web/context/support/GenericWebApplicationContext.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -147,15 +147,6 @@ protected ConfigurableEnvi...
true
Other
spring-projects
spring-framework
3cdb866bda078a24d3fccb36b08a449a970a524f.json
Relax ConfigurableWebEnvironment signatures ConfigurableWebEnvironment was introduced in 3.2.0.M1 with SPR-9439 in order to break a cyclic dependency. At the same time, certain signatures such as AbstractRefreshableWebApplicationContext#getEnviroment and GenericWebApplicationContext#getEnvironment were updated to take...
spring-web/src/main/java/org/springframework/web/context/support/StaticWebApplicationContext.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,9 +27,7 @@ import org.springframework.u...
true
Other
spring-projects
spring-framework
3cdb866bda078a24d3fccb36b08a449a970a524f.json
Relax ConfigurableWebEnvironment signatures ConfigurableWebEnvironment was introduced in 3.2.0.M1 with SPR-9439 in order to break a cyclic dependency. At the same time, certain signatures such as AbstractRefreshableWebApplicationContext#getEnviroment and GenericWebApplicationContext#getEnvironment were updated to take...
spring-webmvc/src/main/java/org/springframework/web/servlet/FrameworkServlet.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -39,11 +39,13 @@ import org.springframework...
true
Other
spring-projects
spring-framework
3cdb866bda078a24d3fccb36b08a449a970a524f.json
Relax ConfigurableWebEnvironment signatures ConfigurableWebEnvironment was introduced in 3.2.0.M1 with SPR-9439 in order to break a cyclic dependency. At the same time, certain signatures such as AbstractRefreshableWebApplicationContext#getEnviroment and GenericWebApplicationContext#getEnvironment were updated to take...
spring-webmvc/src/main/java/org/springframework/web/servlet/HttpServletBean.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,24 +27,23 @@ import org.apache.common...
true
Other
spring-projects
spring-framework
3cdb866bda078a24d3fccb36b08a449a970a524f.json
Relax ConfigurableWebEnvironment signatures ConfigurableWebEnvironment was introduced in 3.2.0.M1 with SPR-9439 in order to break a cyclic dependency. At the same time, certain signatures such as AbstractRefreshableWebApplicationContext#getEnviroment and GenericWebApplicationContext#getEnvironment were updated to take...
spring-webmvc/src/test/java/org/springframework/web/servlet/DispatcherServletTests.java
@@ -833,7 +833,7 @@ public void testDispatcherServletContextRefresh() throws ServletException { public void testEnvironmentOperations() { DispatcherServlet servlet = new DispatcherServlet(); - ConfigurableWebEnvironment defaultEnv = servlet.getEnvironment(); + ConfigurableEnvironment defaultEnv = servlet.getEn...
true
Other
spring-projects
spring-framework
e4fcad9f936ba492f28ec5f0421eea4b3f76f8aa.json
Fix exception message about producible media types Issue: SPR-10175
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/AbstractMessageConverterMethodProcessor.java
@@ -123,7 +123,7 @@ protected <T> void writeWithMessageConverters(T returnValue, } } if (compatibleMediaTypes.isEmpty()) { - throw new HttpMediaTypeNotAcceptableException(allSupportedMediaTypes); + throw new HttpMediaTypeNotAcceptableException(producibleMediaTypes); } List<MediaType> mediaTypes = ...
false
Other
spring-projects
spring-framework
8e1685caefae49ccd796ef9a8f707bc94d54680a.json
Fix ClassCastException in TilesConfigurer Issue: SPR-10195
build.gradle
@@ -613,6 +613,9 @@ project("spring-webmvc-tiles3") { optional("org.apache.tiles:tiles-jsp:3.0.1") { exclude group: "org.slf4j", module: "jcl-over-slf4j" } + optional("org.apache.tiles:tiles-extras:3.0.1") { + exclude group: "org.slf4j", module: "jcl-over-slf4j" + } optional("org.apache.tiles:tiles-el:...
true
Other
spring-projects
spring-framework
8e1685caefae49ccd796ef9a8f707bc94d54680a.json
Fix ClassCastException in TilesConfigurer Issue: SPR-10195
spring-webmvc-tiles3/src/main/java/org/springframework/web/servlet/view/tiles3/TilesConfigurer.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,19 +32,21 @@ import org.apache.commons....
true