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
1e62ad8665bb0f4138e140974108d693a20ee287.json
Add beforeConcurrentHandling support Previously CallableProcessingInterceptor and DeferredResultProcessingInterceptor did not have support for capturing the state of the original Thread just prior to processing. This made it difficult to transfer the state of one Thread (i.e. ThreadLocal) to the Thread used to process...
spring-web/src/main/java/org/springframework/web/context/request/async/DeferredResultProcessingInterceptorAdapter.java
@@ -22,10 +22,17 @@ * interface for simplified implementation of individual methods. * * @author Rossen Stoyanchev + * @author Rob Winch * @since 3.2 */ public abstract class DeferredResultProcessingInterceptorAdapter implements DeferredResultProcessingInterceptor { + /** + * This implementation is empty....
true
Other
spring-projects
spring-framework
1e62ad8665bb0f4138e140974108d693a20ee287.json
Add beforeConcurrentHandling support Previously CallableProcessingInterceptor and DeferredResultProcessingInterceptor did not have support for capturing the state of the original Thread just prior to processing. This made it difficult to transfer the state of one Thread (i.e. ThreadLocal) to the Thread used to process...
spring-web/src/main/java/org/springframework/web/context/request/async/WebAsyncManager.java
@@ -249,12 +249,13 @@ public void clearConcurrentResult() { * @param callable a unit of work to be executed asynchronously * @param processingContext additional context to save that can be accessed * via {@link #getConcurrentResultContext()} + * @throws Exception If concurrent processing failed to start * ...
true
Other
spring-projects
spring-framework
1e62ad8665bb0f4138e140974108d693a20ee287.json
Add beforeConcurrentHandling support Previously CallableProcessingInterceptor and DeferredResultProcessingInterceptor did not have support for capturing the state of the original Thread just prior to processing. This made it difficult to transfer the state of one Thread (i.e. ThreadLocal) to the Thread used to process...
spring-web/src/test/java/org/springframework/web/context/request/async/WebAsyncManagerTests.java
@@ -66,7 +66,7 @@ public void setUp() { } @Test - public void startAsyncProcessingWithoutAsyncWebRequest() { + public void startAsyncProcessingWithoutAsyncWebRequest() throws Exception { WebAsyncManager manager = WebAsyncUtils.getAsyncManager(new MockHttpServletRequest()); try { @@ -118,6 +118,7 @@ public...
true
Other
spring-projects
spring-framework
1e62ad8665bb0f4138e140974108d693a20ee287.json
Add beforeConcurrentHandling support Previously CallableProcessingInterceptor and DeferredResultProcessingInterceptor did not have support for capturing the state of the original Thread just prior to processing. This made it difficult to transfer the state of one Thread (i.e. ThreadLocal) to the Thread used to process...
spring-web/src/test/java/org/springframework/web/context/request/async/WebAsyncManagerTimeoutTests.java
@@ -80,6 +80,7 @@ public void startCallableProcessingTimeoutAndComplete() throws Exception { StubCallable callable = new StubCallable(); CallableProcessingInterceptor interceptor = createStrictMock(CallableProcessingInterceptor.class); + interceptor.beforeConcurrentHandling(this.asyncWebRequest, callable); ...
true
Other
spring-projects
spring-framework
0d73d199ec645f6d332d3283b72a531b26575cf6.json
Reset MBean Servers after JRuby and JMX tests Refactor MBean Server reset code from MBeanServerFactoryBeanTests and reuse in AdvisedJRubyScriptFactoryTests and AbstractMBeanServerTests. Issue: SPR-9288
spring-context/src/test/java/org/springframework/jmx/AbstractMBeanServerTests.java
@@ -25,17 +25,18 @@ import org.springframework.beans.factory.xml.XmlBeanDefinitionReader; import org.springframework.context.ConfigurableApplicationContext; import org.springframework.context.support.GenericApplicationContext; +import org.springframework.util.MBeanTestUtils; /** * <strong>Note:</strong> the JMX...
true
Other
spring-projects
spring-framework
0d73d199ec645f6d332d3283b72a531b26575cf6.json
Reset MBean Servers after JRuby and JMX tests Refactor MBean Server reset code from MBeanServerFactoryBeanTests and reuse in AdvisedJRubyScriptFactoryTests and AbstractMBeanServerTests. Issue: SPR-9288
spring-context/src/test/java/org/springframework/jmx/support/MBeanServerFactoryBeanTests.java
@@ -17,14 +17,15 @@ package org.springframework.jmx.support; import java.lang.management.ManagementFactory; -import java.lang.reflect.Field; import java.util.List; import javax.management.MBeanServer; import javax.management.MBeanServerFactory; import junit.framework.TestCase; +import org.springframework....
true
Other
spring-projects
spring-framework
0d73d199ec645f6d332d3283b72a531b26575cf6.json
Reset MBean Servers after JRuby and JMX tests Refactor MBean Server reset code from MBeanServerFactoryBeanTests and reuse in AdvisedJRubyScriptFactoryTests and AbstractMBeanServerTests. Issue: SPR-9288
spring-context/src/test/java/org/springframework/scripting/jruby/AdvisedJRubyScriptFactoryTests.java
@@ -16,13 +16,16 @@ package org.springframework.scripting.jruby; -import static org.junit.Assert.*; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; +import org.junit.After; import org.junit.Test; import org.springframework.aop.framework.Advised; import org.springframe...
true
Other
spring-projects
spring-framework
0d73d199ec645f6d332d3283b72a531b26575cf6.json
Reset MBean Servers after JRuby and JMX tests Refactor MBean Server reset code from MBeanServerFactoryBeanTests and reuse in AdvisedJRubyScriptFactoryTests and AbstractMBeanServerTests. Issue: SPR-9288
spring-context/src/test/java/org/springframework/util/MBeanTestUtils.java
@@ -0,0 +1,46 @@ +/* + * 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
dfdb31715fb4e972391dc477a0cf0ba3d440e8f7.json
Fix -XX:MaxHeapSize setting for Windows
build.gradle
@@ -852,7 +852,7 @@ configure(rootProject) { doLast() { def gradleOpts = "-XX:MaxPermSize=1024m -Xmx1024m" - def gradleBatOpts = "$gradleOpts -XX:MaxHeapSize=256" + def gradleBatOpts = "$gradleOpts -XX:MaxHeapSize=256m" File wrapperFile = file('gradlew') ...
false
Other
spring-projects
spring-framework
5cbc5b19019b1b78312d34a58ec7e170b28cc944.json
Release version 3.2.0.RC2
gradle.properties
@@ -1,2 +1,2 @@ -version=3.2.0.BUILD-SNAPSHOT previousVersion=3.2.0.RC1 +version=3.2.0.RC2
false
Other
spring-projects
spring-framework
b43bc8659aa9d0da6598b3e2385af1a2496cb55e.json
Remove unused imports
spring-aop/src/main/java/org/springframework/aop/support/AbstractRegexpMethodPointcut.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2009 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. @@ -16,8 +16,6 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
b43bc8659aa9d0da6598b3e2385af1a2496cb55e.json
Remove unused imports
spring-aop/src/main/java/org/springframework/aop/support/AopUtils.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2010 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. @@ -23,8 +23,6 @@ import java.util.LinkedList;...
true
Other
spring-projects
spring-framework
79edf627dbfc4eff06ac3283d5c010885912feab.json
Fix failing test from last commit Issue: SPR-9917
spring-test-mvc/src/main/java/org/springframework/test/web/client/RequestMatcherClientHttpRequest.java
@@ -73,7 +73,7 @@ public ClientHttpResponse executeInternal() throws IOException { setResponse(this.responseCreator.createResponse(this)); - return super.execute(); + return super.executeInternal(); } }
false
Other
spring-projects
spring-framework
b1040af22e215eb3157dfe7513e13c713574c2aa.json
Update maximum width of reference HTML This change upgrade the framework to consume the newly-published docbook-reference-plugin version 0.2.1 containing a maximum width for the HTML reference guide.
build.gradle
@@ -3,7 +3,7 @@ buildscript { maven { url 'http://repo.springsource.org/plugins-release' } } dependencies { - classpath 'org.springframework.build.gradle:docbook-reference-plugin:0.2.0' + classpath 'org.springframework.build.gradle:docbook-reference-plugin:0.2.1' } }
false
Other
spring-projects
spring-framework
2b6d724faeb493da2d818c91edde66c141efd26c.json
Remove xsd versions from reference samples Remove all xsd versions from the reference manual samples in favor of "versionless" XSDs. For example, spring-beans-3.0.xsd becomes spring-beans.xsd Issue: SPR-10010
src/reference/docbook/aop.xml
@@ -2152,8 +2152,8 @@ public class SimpleProfiler { xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xsi:schemaLocation=" -http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd -http://...
true
Other
spring-projects
spring-framework
2b6d724faeb493da2d818c91edde66c141efd26c.json
Remove xsd versions from reference samples Remove all xsd versions from the reference manual samples in favor of "versionless" XSDs. For example, spring-beans-3.0.xsd becomes spring-beans.xsd Issue: SPR-10010
src/reference/docbook/beans-annotation-config.xml
@@ -68,9 +68,9 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <lineannotation>xmlns:context="http://www.springframework.org/schema/context"</lineannotation> xsi:schemaLocation="http://www.springframework.org/schema/beans - http://www.springframework.org/schema/beans/spring-beans-3.0....
true
Other
spring-projects
spring-framework
2b6d724faeb493da2d818c91edde66c141efd26c.json
Remove xsd versions from reference samples Remove all xsd versions from the reference manual samples in favor of "versionless" XSDs. For example, spring-beans-3.0.xsd becomes spring-beans.xsd Issue: SPR-10010
src/reference/docbook/beans-classpath-scanning.xml
@@ -113,9 +113,9 @@ public class JpaMovieFinder implements MovieFinder { xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/beans - http://www.springframework.org/schema/b...
true
Other
spring-projects
spring-framework
2b6d724faeb493da2d818c91edde66c141efd26c.json
Remove xsd versions from reference samples Remove all xsd versions from the reference manual samples in favor of "versionless" XSDs. For example, spring-beans-3.0.xsd becomes spring-beans.xsd Issue: SPR-10010
src/reference/docbook/beans-dependencies.xml
@@ -537,7 +537,7 @@ public class ExampleBean { xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xsi:schemaLocation="http://www.springframework.org/schema/beans - http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"&gt; + http:...
true
Other
spring-projects
spring-framework
2b6d724faeb493da2d818c91edde66c141efd26c.json
Remove xsd versions from reference samples Remove all xsd versions from the reference manual samples in favor of "versionless" XSDs. For example, spring-beans-3.0.xsd becomes spring-beans.xsd Issue: SPR-10010
src/reference/docbook/beans-extension-points.xml
@@ -180,9 +180,9 @@ public class InstantiationTracingBeanPostProcessor implements BeanPostProcessor xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:lang="http://www.springframework.org/schema/lang" xsi:schemaLocation="http://www.springframework.org/schema/beans - http://www.springf...
true
Other
spring-projects
spring-framework
2b6d724faeb493da2d818c91edde66c141efd26c.json
Remove xsd versions from reference samples Remove all xsd versions from the reference manual samples in favor of "versionless" XSDs. For example, spring-beans-3.0.xsd becomes spring-beans.xsd Issue: SPR-10010
src/reference/docbook/beans-scopes.xml
@@ -393,9 +393,9 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xsi:schemaLocation="http://www.springframework.org/schema/beans - http://www.springframework.org/schema/beans/spring-beans-3.0.xsd + http://www.springframewor...
true
Other
spring-projects
spring-framework
2b6d724faeb493da2d818c91edde66c141efd26c.json
Remove xsd versions from reference samples Remove all xsd versions from the reference manual samples in favor of "versionless" XSDs. For example, spring-beans-3.0.xsd becomes spring-beans.xsd Issue: SPR-10010
src/reference/docbook/beans.xml
@@ -187,7 +187,7 @@ The footnote should x-ref to first section in that chapter but I can't find the &lt;beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans - http://www....
true
Other
spring-projects
spring-framework
2b6d724faeb493da2d818c91edde66c141efd26c.json
Remove xsd versions from reference samples Remove all xsd versions from the reference manual samples in favor of "versionless" XSDs. For example, spring-beans-3.0.xsd becomes spring-beans.xsd Issue: SPR-10010
src/reference/docbook/dynamic-languages.xml
@@ -130,8 +130,8 @@ class GroovyMessenger implements Messenger { <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:lang="http://www.springframework.org/schema/lang" xsi:schemaLocation=" -http://www.springframework.org/schema/beans htt...
true
Other
spring-projects
spring-framework
2b6d724faeb493da2d818c91edde66c141efd26c.json
Remove xsd versions from reference samples Remove all xsd versions from the reference manual samples in favor of "versionless" XSDs. For example, spring-beans-3.0.xsd becomes spring-beans.xsd Issue: SPR-10010
src/reference/docbook/jdbc.xml
@@ -463,9 +463,9 @@ private static final class ActorMapper implements RowMapper&lt;Actor&gt; { xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation=" http://www.springframework.org/schema/beans - http://www.springframework.org/schema/beans/spring-beans-3.0.xsd + ...
true
Other
spring-projects
spring-framework
2b6d724faeb493da2d818c91edde66c141efd26c.json
Remove xsd versions from reference samples Remove all xsd versions from the reference manual samples in favor of "versionless" XSDs. For example, spring-beans-3.0.xsd becomes spring-beans.xsd Issue: SPR-10010
src/reference/docbook/jms.xml
@@ -922,8 +922,8 @@ public interface SessionAwareMessageListener { xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <emphasis role="bold">xmlns:jms="http://www.springframework.org/schema/jms"</emphasis> xsi:schemaLocation=" -http://www.springframework.org/schema/beans http://www.springframe...
true
Other
spring-projects
spring-framework
2b6d724faeb493da2d818c91edde66c141efd26c.json
Remove xsd versions from reference samples Remove all xsd versions from the reference manual samples in favor of "versionless" XSDs. For example, spring-beans-3.0.xsd becomes spring-beans.xsd Issue: SPR-10010
src/reference/docbook/mail.xml
@@ -376,7 +376,7 @@ public class SimpleRegistrationService implements RegistrationService { <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans - http://www.springframework.org/schema/...
true
Other
spring-projects
spring-framework
2b6d724faeb493da2d818c91edde66c141efd26c.json
Remove xsd versions from reference samples Remove all xsd versions from the reference manual samples in favor of "versionless" XSDs. For example, spring-beans-3.0.xsd becomes spring-beans.xsd Issue: SPR-10010
src/reference/docbook/mvc.xml
@@ -749,9 +749,9 @@ public class HelloWorldController { xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation=" http://www.springframework.org/schema/beans - http://www.springframework.org/schema/beans/spring-beans-3.0.xsd + http://www.springframework.org/sche...
true
Other
spring-projects
spring-framework
2b6d724faeb493da2d818c91edde66c141efd26c.json
Remove xsd versions from reference samples Remove all xsd versions from the reference manual samples in favor of "versionless" XSDs. For example, spring-beans-3.0.xsd becomes spring-beans.xsd Issue: SPR-10010
src/reference/docbook/orm.xml
@@ -419,11 +419,11 @@ TR: REVISED, PLS REVIEW.-->This declarative transaction capability allows you xmlns:tx="http://www.springframework.org/schema/tx" xsi:schemaLocation=" http://www.springframework.org/schema/beans - http://www.springframework.org/schema/beans/spring-beans-3.0.xsd + ...
true
Other
spring-projects
spring-framework
2b6d724faeb493da2d818c91edde66c141efd26c.json
Remove xsd versions from reference samples Remove all xsd versions from the reference manual samples in favor of "versionless" XSDs. For example, spring-beans-3.0.xsd becomes spring-beans.xsd Issue: SPR-10010
src/reference/docbook/oxm.xml
@@ -319,9 +319,9 @@ public class Application { xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ]]><emphasis role="bold"><![CDATA[xmlns:oxm="http://www.springframework.org/schema/oxm"]]></emphasis> <![CDATA[xsi:schemaLocation="http://www.springframework.org/schema/beans - ]]><![CDATA[http://www.s...
true
Other
spring-projects
spring-framework
2b6d724faeb493da2d818c91edde66c141efd26c.json
Remove xsd versions from reference samples Remove all xsd versions from the reference manual samples in favor of "versionless" XSDs. For example, spring-beans-3.0.xsd becomes spring-beans.xsd Issue: SPR-10010
src/reference/docbook/portlet.xml
@@ -1298,7 +1298,7 @@ public class FileUploadBean { &lt;beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans - http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"&gt...
true
Other
spring-projects
spring-framework
2b6d724faeb493da2d818c91edde66c141efd26c.json
Remove xsd versions from reference samples Remove all xsd versions from the reference manual samples in favor of "versionless" XSDs. For example, spring-beans-3.0.xsd becomes spring-beans.xsd Issue: SPR-10010
src/reference/docbook/remoting.xml
@@ -1042,7 +1042,7 @@ public class SimpleCheckingAccountService implements CheckingAccountService { &lt;beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans - http://www.sprin...
true
Other
spring-projects
spring-framework
2b6d724faeb493da2d818c91edde66c141efd26c.json
Remove xsd versions from reference samples Remove all xsd versions from the reference manual samples in favor of "versionless" XSDs. For example, spring-beans-3.0.xsd becomes spring-beans.xsd Issue: SPR-10010
src/reference/docbook/testing.xml
@@ -2009,7 +2009,7 @@ public class HibernateTitleRepositoryTests { &lt;beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans - http://www.springframework.org/schema/beans/...
true
Other
spring-projects
spring-framework
2b6d724faeb493da2d818c91edde66c141efd26c.json
Remove xsd versions from reference samples Remove all xsd versions from the reference manual samples in favor of "versionless" XSDs. For example, spring-beans-3.0.xsd becomes spring-beans.xsd Issue: SPR-10010
src/reference/docbook/transaction.xml
@@ -380,9 +380,9 @@ TR:REVISED, PLS REVIEW--> xmlns:jee="http://www.springframework.org/schema/jee" xsi:schemaLocation=" http://www.springframework.org/schema/beans - http://www.springframework.org/schema/beans/spring-beans-3.0.xsd + http://www.springframework.org/schema/beans/spring-beans.xsd...
true
Other
spring-projects
spring-framework
2b6d724faeb493da2d818c91edde66c141efd26c.json
Remove xsd versions from reference samples Remove all xsd versions from the reference manual samples in favor of "versionless" XSDs. For example, spring-beans-3.0.xsd becomes spring-beans.xsd Issue: SPR-10010
src/reference/docbook/validation.xml
@@ -1438,9 +1438,9 @@ public interface FormatterRegistrar { xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans - http://www.springframework.org/schema/beans/spring-beans-3.0.xsd + http://www.springframework.org/schema/b...
true
Other
spring-projects
spring-framework
2b6d724faeb493da2d818c91edde66c141efd26c.json
Remove xsd versions from reference samples Remove all xsd versions from the reference manual samples in favor of "versionless" XSDs. For example, spring-beans-3.0.xsd becomes spring-beans.xsd Issue: SPR-10010
src/reference/docbook/web-integration.xml
@@ -662,8 +662,8 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <emphasis role="bold">xmlns:jee="http://www.springframework.org/schema/jee"</emphasis> xsi:schemaLocation=" -http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd -<em...
true
Other
spring-projects
spring-framework
2b6d724faeb493da2d818c91edde66c141efd26c.json
Remove xsd versions from reference samples Remove all xsd versions from the reference manual samples in favor of "versionless" XSDs. For example, spring-beans-3.0.xsd becomes spring-beans.xsd Issue: SPR-10010
src/reference/docbook/xml-custom.xml
@@ -270,7 +270,7 @@ public class SimpleDateFormatBeanDefinitionParser extends AbstractSingleBeanDefi xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:myns="http://www.mycompany.com/schema/myns" xsi:schemaLocation=" -http://www.springframework.org/schema/beans http://www.springframework.o...
true
Other
spring-projects
spring-framework
2b6d724faeb493da2d818c91edde66c141efd26c.json
Remove xsd versions from reference samples Remove all xsd versions from the reference manual samples in favor of "versionless" XSDs. For example, spring-beans-3.0.xsd becomes spring-beans.xsd Issue: SPR-10010
src/reference/docbook/xsd-configuration.xml
@@ -72,7 +72,7 @@ <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" -http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> +http://www.springframework.org/schema/...
true
Other
spring-projects
spring-framework
3749313d2ff16446632cbf7201b937d323308214.json
Drop Appendix E. spring-beans-2.0.dtd from docs Issue: SPR-10011
src/reference/docbook/dtd.xml
@@ -1,688 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<appendix xml:id="springbeansdtd" - xmlns="http://docbook.org/ns/docbook" version="5.0" - xmlns:xl="http://www.w3.org/1999/xlink" - xmlns:xi="http://www.w3.org/2001/XInclude" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLoc...
true
Other
spring-projects
spring-framework
3749313d2ff16446632cbf7201b937d323308214.json
Drop Appendix E. spring-beans-2.0.dtd from docs Issue: SPR-10011
src/reference/docbook/index.xml
@@ -547,8 +547,6 @@ <xi:include href="xml-custom.xml" xmlns:xi="http://www.w3.org/2001/XInclude" /> - <xi:include href="dtd.xml" xmlns:xi="http://www.w3.org/2001/XInclude" /> - <xi:include href="spring.tld.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
true
Other
spring-projects
spring-framework
e0b1c0e614b561aaa1788c0656ce5bdf1de9133b.json
Remove duplicate imagedata from reference guide Prior to this commit many imagedata elements were duplicated in order to configure PDF sizes. Since HTML generation is configured to ignore image scaling altogether this was unnecessary duplication. Issue: SPR-10033
src/reference/docbook/aop.xml
@@ -2657,16 +2657,10 @@ public @interface Idempotent { be seen below.</para> <para><mediaobject> - <imageobject role="fo"> + <imageobject> <imagedata align="center" fileref="images/aop-proxy-plain-pojo-call.png" - format="PNG" ...
true
Other
spring-projects
spring-framework
e0b1c0e614b561aaa1788c0656ce5bdf1de9133b.json
Remove duplicate imagedata from reference guide Prior to this commit many imagedata elements were duplicated in order to configure PDF sizes. Since HTML generation is configured to ignore image scaling altogether this was unnecessary duplication. Issue: SPR-10033
src/reference/docbook/beans-scopes.xml
@@ -121,13 +121,8 @@ bean return the cached object.</para> <para><mediaobject> - <imageobject role="fo"> - <imagedata align="center" fileref="images/singleton.png" format="PNG" - width="400"/> - </imageobject> - - <imageobject role="html"> - <imagedata align="center...
true
Other
spring-projects
spring-framework
e0b1c0e614b561aaa1788c0656ce5bdf1de9133b.json
Remove duplicate imagedata from reference guide Prior to this commit many imagedata elements were duplicated in order to configure PDF sizes. Since HTML generation is configured to ignore image scaling altogether this was unnecessary duplication. Issue: SPR-10033
src/reference/docbook/beans.xml
@@ -112,8 +112,7 @@ The footnote should x-ref to first section in that chapter but I can't find the <para><mediaobject> <imageobject> - <imagedata align="center" fileref="images/container-magic.png" - format="PNG" width="400" /> + <imagedata align="center" fileref="images/container-...
true
Other
spring-projects
spring-framework
e0b1c0e614b561aaa1788c0656ce5bdf1de9133b.json
Remove duplicate imagedata from reference guide Prior to this commit many imagedata elements were duplicated in order to configure PDF sizes. Since HTML generation is configured to ignore image scaling altogether this was unnecessary duplication. Issue: SPR-10033
src/reference/docbook/dao.xml
@@ -63,14 +63,8 @@ hierarchy.)</para> <mediaobject> - <imageobject role="fo"> - <imagedata align="center" fileref="images/DataAccessException.gif" - format="PNG" width="400"/> - </imageobject> - - <imageobject role="html"> - <imagedata align="center" fileref="images/D...
true
Other
spring-projects
spring-framework
e0b1c0e614b561aaa1788c0656ce5bdf1de9133b.json
Remove duplicate imagedata from reference guide Prior to this commit many imagedata elements were duplicated in order to configure PDF sizes. Since HTML generation is configured to ignore image scaling altogether this was unnecessary duplication. Issue: SPR-10033
src/reference/docbook/mvc.xml
@@ -235,13 +235,8 @@ Spring Web MVC shares with many other leading web frameworks).</para> <para><mediaobject> - <imageobject role="fo"> - <imagedata align="center" fileref="images/mvc.png" format="PNG" - width="400" /> - </imageobject> - - <imageobject role="html"...
true
Other
spring-projects
spring-framework
e0b1c0e614b561aaa1788c0656ce5bdf1de9133b.json
Remove duplicate imagedata from reference guide Prior to this commit many imagedata elements were duplicated in order to configure PDF sizes. Since HTML generation is configured to ignore image scaling altogether this was unnecessary duplication. Issue: SPR-10033
src/reference/docbook/overview.xml
@@ -99,14 +99,8 @@ TR: This section doesn't read well and I think we should try to rewrite it.-->Nu Instrumentation, and Test, as shown in the following diagram.</para> <para><mediaobject> - <imageobject role="fo"> - <imagedata align="left" fileref="images/spring-overview.png" - ...
true
Other
spring-projects
spring-framework
e0b1c0e614b561aaa1788c0656ce5bdf1de9133b.json
Remove duplicate imagedata from reference guide Prior to this commit many imagedata elements were duplicated in order to configure PDF sizes. Since HTML generation is configured to ignore image scaling altogether this was unnecessary duplication. Issue: SPR-10033
src/reference/docbook/oxm.xml
@@ -189,26 +189,11 @@ public interface Unmarshaller { <para> The O/X Mapping exception hierarchy is shown in the following figure: <mediaobject> - <imageobject role="fo"> + <imageobject> <imagedata align="center"...
true
Other
spring-projects
spring-framework
e0b1c0e614b561aaa1788c0656ce5bdf1de9133b.json
Remove duplicate imagedata from reference guide Prior to this commit many imagedata elements were duplicated in order to configure PDF sizes. Since HTML generation is configured to ignore image scaling altogether this was unnecessary duplication. Issue: SPR-10033
src/reference/docbook/transaction.xml
@@ -721,14 +721,10 @@ would be rolled back, not necessarily following the EJB rules--> TR: OK AS IS. images don't show up in the editor, but they do show up in the generated docs--> <para><mediaobject> - <imageobject role="fo"> + <imageobject> <imagedata align="center" fileref="...
true
Other
spring-projects
spring-framework
085176673876afc9282af0a8f4f94ee6a36e9e4e.json
Accept non-generic type match as a fallback DefaultListableBeanFactory performs a fallback check for autowire candidates now, which GenericTypeAwareAutowireCandidateResolver implements to accept raw type matches if the target class has unresolvable type variables. Full generic matches are still preferred; the BeanFact...
spring-beans/src/main/java/org/springframework/beans/factory/config/DependencyDescriptor.java
@@ -212,6 +212,29 @@ public ResolvableType getResolvableType() { ResolvableType.forMethodParameter(this.methodParameter)); } + /** + * Return whether a fallback match is allowed. + * <p>This is {@code false} by default but may be overridden to return {@code true} in order + * to suggest to a {@link org.spri...
true
Other
spring-projects
spring-framework
085176673876afc9282af0a8f4f94ee6a36e9e4e.json
Accept non-generic type match as a fallback DefaultListableBeanFactory performs a fallback check for autowire candidates now, which GenericTypeAwareAutowireCandidateResolver implements to accept raw type matches if the target class has unresolvable type variables. Full generic matches are still preferred; the BeanFact...
spring-beans/src/main/java/org/springframework/beans/factory/support/DefaultListableBeanFactory.java
@@ -979,6 +979,14 @@ protected Map<String, Object> findAutowireCandidates( result.put(candidateName, getBean(candidateName)); } } + if (result.isEmpty()) { + DependencyDescriptor fallbackDescriptor = descriptor.forFallbackMatch(); + for (String candidateName : candidateNames) { + if (!candidateName....
true
Other
spring-projects
spring-framework
085176673876afc9282af0a8f4f94ee6a36e9e4e.json
Accept non-generic type match as a fallback DefaultListableBeanFactory performs a fallback check for autowire candidates now, which GenericTypeAwareAutowireCandidateResolver implements to accept raw type matches if the target class has unresolvable type variables. Full generic matches are still preferred; the BeanFact...
spring-beans/src/main/java/org/springframework/beans/factory/support/GenericTypeAwareAutowireCandidateResolver.java
@@ -57,24 +57,28 @@ public boolean isAutowireCandidate(BeanDefinitionHolder bdHolder, DependencyDesc // if explicitly false, do not proceed with any other checks return false; } - return (descriptor == null || checkGenericTypeMatch(bdHolder, descriptor.getResolvableType())); + return (descriptor == null ||...
true
Other
spring-projects
spring-framework
085176673876afc9282af0a8f4f94ee6a36e9e4e.json
Accept non-generic type match as a fallback DefaultListableBeanFactory performs a fallback check for autowire candidates now, which GenericTypeAwareAutowireCandidateResolver implements to accept raw type matches if the target class has unresolvable type variables. Full generic matches are still preferred; the BeanFact...
spring-beans/src/test/java/org/springframework/beans/factory/annotation/AutowiredAnnotationBeanPostProcessorTests.java
@@ -1305,6 +1305,130 @@ public void testGenericsBasedConstructorInjection() { assertSame(ir, bean.integerRepositoryMap.get("integerRepo")); } + @Test + public void testGenericsBasedConstructorInjectionWithNonTypedTarget() { + DefaultListableBeanFactory bf = new DefaultListableBeanFactory(); + bf.setAutowireCan...
true
Other
spring-projects
spring-framework
085176673876afc9282af0a8f4f94ee6a36e9e4e.json
Accept non-generic type match as a fallback DefaultListableBeanFactory performs a fallback check for autowire candidates now, which GenericTypeAwareAutowireCandidateResolver implements to accept raw type matches if the target class has unresolvable type variables. Full generic matches are still preferred; the BeanFact...
spring-core/src/main/java/org/springframework/core/GenericTypeResolver.java
@@ -251,27 +251,13 @@ public static Class[] resolveTypeArguments(Class<?> clazz, Class<?> genericIfc) /** * Resolve the specified generic type against the given TypeVariable map. * @param genericType the generic type to resolve - * @param typeVariableMap the TypeVariable Map to resolved against + * @param map...
true
Other
spring-projects
spring-framework
085176673876afc9282af0a8f4f94ee6a36e9e4e.json
Accept non-generic type match as a fallback DefaultListableBeanFactory performs a fallback check for autowire candidates now, which GenericTypeAwareAutowireCandidateResolver implements to accept raw type matches if the target class has unresolvable type variables. Full generic matches are still preferred; the BeanFact...
spring-core/src/main/java/org/springframework/core/MethodParameter.java
@@ -265,7 +265,8 @@ public Class<?> getNestedParameterType() { Type type = getGenericParameterType(); if (type instanceof ParameterizedType) { Integer index = getTypeIndexForCurrentLevel(); - Type arg = ((ParameterizedType) type).getActualTypeArguments()[index != null ? index : 0]; + Type[] args = ((...
true
Other
spring-projects
spring-framework
085176673876afc9282af0a8f4f94ee6a36e9e4e.json
Accept non-generic type match as a fallback DefaultListableBeanFactory performs a fallback check for autowire candidates now, which GenericTypeAwareAutowireCandidateResolver implements to accept raw type matches if the target class has unresolvable type variables. Full generic matches are still preferred; the BeanFact...
spring-core/src/main/java/org/springframework/core/ResolvableType.java
@@ -105,8 +105,7 @@ public final class ResolvableType implements Serializable { private boolean isResolved = false; /** - * Late binding stored copy of the resolved value (valid when {@link #isResolved} is - * true). + * Late binding stored copy of the resolved value (valid when {@link #isResolved} is true). ...
true
Other
spring-projects
spring-framework
085176673876afc9282af0a8f4f94ee6a36e9e4e.json
Accept non-generic type match as a fallback DefaultListableBeanFactory performs a fallback check for autowire candidates now, which GenericTypeAwareAutowireCandidateResolver implements to accept raw type matches if the target class has unresolvable type variables. Full generic matches are still preferred; the BeanFact...
spring-core/src/test/java/org/springframework/core/ResolvableTypeTests.java
@@ -48,24 +48,21 @@ import org.mockito.ArgumentCaptor; import org.mockito.Captor; import org.mockito.runners.MockitoJUnitRunner; + import org.springframework.core.ResolvableType.VariableResolver; import org.springframework.util.MultiValueMap; -import static org.mockito.BDDMockito.*; -import static org.mockito.Mo...
true
Other
spring-projects
spring-framework
bfa6645c7d8e401ae2d1ea2587dbdd0eaa943265.json
Make changes for timing related test failures
spring-messaging/src/main/java/org/springframework/messaging/simp/BrokerAvailabilityEvent.java
@@ -45,4 +45,10 @@ public BrokerAvailabilityEvent(boolean brokerAvailable, Object source) { public boolean isBrokerAvailable() { return this.brokerAvailable; } + + @Override + public String toString() { + return "BrokerAvailabilityEvent=" + this.brokerAvailable; + } + }
true
Other
spring-projects
spring-framework
bfa6645c7d8e401ae2d1ea2587dbdd0eaa943265.json
Make changes for timing related test failures
spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandlerIntegrationTests.java
@@ -68,33 +68,32 @@ public class StompBrokerRelayMessageHandlerIntegrationTests { private int port; + @Before public void setUp() throws Exception { this.port = SocketUtils.findAvailableTcpPort(61613); - createAndStartBroker(); - this.responseChannel = new ExecutorSubscribableChannel(); this.res...
true
Other
spring-projects
spring-framework
6b0a62569bfb5c8e20746eead6723a3ea23e443f.json
Fix broken test in MvcNamespaceTests The testDefaultConfig() method in MvcNamespaceTests creates a new Date() in its test fixture but then performs an assertion against a hard coded data string of "2013-10-21". This test therefore only passed yesterday, on October 21, 2013. This commit addresses this by changing the ...
spring-webmvc/src/test/java/org/springframework/web/servlet/config/MvcNamespaceTests.java
@@ -19,6 +19,8 @@ import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.reflect.Method; +import java.text.DateFormat; +import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Date; import java.util.List; @@ -161,8 +163,8 @@ public void testDefaul...
false
Other
spring-projects
spring-framework
e95bd9e25086bf1dad37f8d08293c948621faf6b.json
Add @PropertySources and ignoreResourceNotFound Support repeatable @PropertySource annotations in Java 8 and add @PropertySources container annotation for Java 6/7. Also add an ignoreResourceNotFound attribute to @PropertySource allowing missing property resources to be silently ignored. This commit also introduces s...
spring-context/src/main/java/org/springframework/context/annotation/AnnotationConfigUtils.java
@@ -16,7 +16,9 @@ package org.springframework.context.annotation; +import java.util.Collections; import java.util.LinkedHashSet; +import java.util.Map; import java.util.Set; import org.springframework.beans.factory.annotation.AnnotatedBeanDefinition; @@ -32,6 +34,7 @@ import org.springframework.core.annotati...
true
Other
spring-projects
spring-framework
e95bd9e25086bf1dad37f8d08293c948621faf6b.json
Add @PropertySources and ignoreResourceNotFound Support repeatable @PropertySource annotations in Java 8 and add @PropertySources container annotation for Java 6/7. Also add an ignoreResourceNotFound attribute to @PropertySource allowing missing property resources to be silently ignored. This commit also introduces s...
spring-context/src/main/java/org/springframework/context/annotation/ConfigurationClassParser.java
@@ -16,6 +16,7 @@ package org.springframework.context.annotation; +import java.io.FileNotFoundException; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; @@ -55,6 +56,7 @@ import org.springframework.core.env.CompositePropertySource; import org.springframework.core.env.Envir...
true
Other
spring-projects
spring-framework
e95bd9e25086bf1dad37f8d08293c948621faf6b.json
Add @PropertySources and ignoreResourceNotFound Support repeatable @PropertySource annotations in Java 8 and add @PropertySources container annotation for Java 6/7. Also add an ignoreResourceNotFound attribute to @PropertySource allowing missing property resources to be silently ignored. This commit also introduces s...
spring-context/src/main/java/org/springframework/context/annotation/ConfigurationClassPostProcessor.java
@@ -21,13 +21,12 @@ import java.util.HashSet; import java.util.LinkedHashMap; import java.util.LinkedHashSet; +import java.util.List; import java.util.Map; import java.util.Set; -import java.util.Stack; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; - import org.springfra...
true
Other
spring-projects
spring-framework
e95bd9e25086bf1dad37f8d08293c948621faf6b.json
Add @PropertySources and ignoreResourceNotFound Support repeatable @PropertySource annotations in Java 8 and add @PropertySources container annotation for Java 6/7. Also add an ignoreResourceNotFound attribute to @PropertySource allowing missing property resources to be silently ignored. This commit also introduces s...
spring-context/src/main/java/org/springframework/context/annotation/PropertySource.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 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. @@ -18,6 +18,7 @@ import java.lang.annotatio...
true
Other
spring-projects
spring-framework
e95bd9e25086bf1dad37f8d08293c948621faf6b.json
Add @PropertySources and ignoreResourceNotFound Support repeatable @PropertySource annotations in Java 8 and add @PropertySources container annotation for Java 6/7. Also add an ignoreResourceNotFound attribute to @PropertySource allowing missing property resources to be silently ignored. This commit also introduces s...
spring-context/src/main/java/org/springframework/context/annotation/PropertySources.java
@@ -0,0 +1,44 @@ +/* + * 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
e95bd9e25086bf1dad37f8d08293c948621faf6b.json
Add @PropertySources and ignoreResourceNotFound Support repeatable @PropertySource annotations in Java 8 and add @PropertySources container annotation for Java 6/7. Also add an ignoreResourceNotFound attribute to @PropertySource allowing missing property resources to be silently ignored. This commit also introduces s...
spring-context/src/main/java/org/springframework/scheduling/annotation/Scheduled.java
@@ -42,6 +42,7 @@ * @since 3.0 * @see EnableScheduling * @see ScheduledAnnotationBeanPostProcessor + * @see Schedules */ @Target({ElementType.METHOD, ElementType.ANNOTATION_TYPE}) @Retention(RetentionPolicy.RUNTIME)
true
Other
spring-projects
spring-framework
e95bd9e25086bf1dad37f8d08293c948621faf6b.json
Add @PropertySources and ignoreResourceNotFound Support repeatable @PropertySource annotations in Java 8 and add @PropertySources container annotation for Java 6/7. Also add an ignoreResourceNotFound attribute to @PropertySource allowing missing property resources to be silently ignored. This commit also introduces s...
spring-context/src/main/java/org/springframework/scheduling/annotation/ScheduledAnnotationBeanPostProcessor.java
@@ -117,17 +117,8 @@ public Object postProcessAfterInitialization(final Object bean, String beanName) ReflectionUtils.doWithMethods(targetClass, new MethodCallback() { @Override public void doWith(Method method) throws IllegalArgumentException, IllegalAccessException { - Schedules schedules = AnnotationUt...
true
Other
spring-projects
spring-framework
e95bd9e25086bf1dad37f8d08293c948621faf6b.json
Add @PropertySources and ignoreResourceNotFound Support repeatable @PropertySource annotations in Java 8 and add @PropertySources container annotation for Java 6/7. Also add an ignoreResourceNotFound attribute to @PropertySource allowing missing property resources to be silently ignored. This commit also introduces s...
spring-context/src/test/java/org/springframework/context/annotation/PropertySourceAnnotationTests.java
@@ -16,29 +16,35 @@ package org.springframework.context.annotation; -import static org.hamcrest.CoreMatchers.equalTo; -import static org.hamcrest.CoreMatchers.is; -import static org.junit.Assert.assertThat; -import static org.junit.Assert.assertTrue; - +import java.io.FileNotFoundException; import java.util.Itera...
true
Other
spring-projects
spring-framework
e95bd9e25086bf1dad37f8d08293c948621faf6b.json
Add @PropertySources and ignoreResourceNotFound Support repeatable @PropertySource annotations in Java 8 and add @PropertySources container annotation for Java 6/7. Also add an ignoreResourceNotFound attribute to @PropertySource allowing missing property resources to be silently ignored. This commit also introduces s...
spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java
@@ -19,12 +19,18 @@ import java.lang.annotation.Annotation; import java.lang.reflect.AnnotatedElement; import java.lang.reflect.Method; +import java.util.Arrays; +import java.util.Collections; +import java.util.HashSet; +import java.util.LinkedHashSet; import java.util.List; import java.util.Map; +import java.util...
true
Other
spring-projects
spring-framework
e95bd9e25086bf1dad37f8d08293c948621faf6b.json
Add @PropertySources and ignoreResourceNotFound Support repeatable @PropertySource annotations in Java 8 and add @PropertySources container annotation for Java 6/7. Also add an ignoreResourceNotFound attribute to @PropertySource allowing missing property resources to be silently ignored. This commit also introduces s...
spring-core/src/test/java/org/springframework/core/annotation/AnnotationUtilsTests.java
@@ -18,17 +18,21 @@ import java.lang.annotation.Annotation; import java.lang.annotation.Inherited; +import java.lang.annotation.Repeatable; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.reflect.Method; import java.util.Arrays; +import java.util.HashSet; im...
true
Other
spring-projects
spring-framework
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
build.gradle
@@ -689,6 +689,7 @@ project("spring-webmvc") { testCompile("commons-io:commons-io:1.3") testCompile("org.hibernate:hibernate-validator:4.3.0.Final") testCompile("org.apache.httpcomponents:httpclient:4.3-beta2") + testCompile("joda-time:joda-time:2.2") } // pick up DispatcherServlet.properties in src/mai...
true
Other
spring-projects
spring-framework
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-core/src/main/java/org/springframework/core/AnnotationAttribute.java
@@ -1,125 +0,0 @@ -/* - * Copyright 2012-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
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-core/src/main/java/org/springframework/core/MethodParameters.java
@@ -1,170 +0,0 @@ -/* - * Copyright 2012-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
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-core/src/test/java/org/springframework/core/AnnotationAttributeUnitTests.java
@@ -1,72 +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
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-core/src/test/java/org/springframework/core/MethodParametersUnitTests.java
@@ -1,58 +0,0 @@ -/* - * Copyright 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
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-web/src/main/java/org/springframework/web/method/annotation/RequestParamMethodArgumentResolver.java
@@ -29,6 +29,8 @@ import org.springframework.beans.factory.config.ConfigurableBeanFactory; import org.springframework.core.GenericCollectionTypeResolver; import org.springframework.core.MethodParameter; +import org.springframework.core.convert.ConversionService; +import org.springframework.core.convert.TypeDescripto...
true
Other
spring-projects
spring-framework
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-web/src/main/java/org/springframework/web/method/support/UriComponentsContributor.java
@@ -0,0 +1,56 @@ +/* + * Copyright 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
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-web/src/main/java/org/springframework/web/util/UriComponentsBuilder.java
@@ -248,7 +248,7 @@ public static UriComponentsBuilder fromHttpUrl(String httpUrl) { throw new IllegalArgumentException("[" + httpUrl + "] is not a valid HTTP URL"); } } - + // build methods @@ -362,6 +362,43 @@ public UriComponentsBuilder scheme(String scheme) { return this; } + /** + * Initial...
true
Other
spring-projects
spring-framework
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/main/java/org/springframework/web/servlet/config/AnnotationDrivenBeanDefinitionParser.java
@@ -207,6 +207,13 @@ public BeanDefinition parse(Element element, ParserContext parserContext) { handlerAdapterDef.getPropertyValues().add("deferredResultInterceptors", deferredResultInterceptors); String handlerAdapterName = parserContext.getReaderContext().registerWithGeneratedName(handlerAdapterDef); + Stri...
true
Other
spring-projects
spring-framework
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/main/java/org/springframework/web/servlet/config/DefaultMvcUrlsFactoryBean.java
@@ -0,0 +1,89 @@ +/* + * 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
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupport.java
@@ -78,6 +78,8 @@ import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter; import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping; import org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver; +import org.springframework.web.s...
true
Other
spring-projects
spring-framework
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/main/java/org/springframework/web/servlet/hypermedia/AnnotatedParametersParameterAccessor.java
@@ -1,160 +0,0 @@ -/* - * Copyright 2012-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
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/main/java/org/springframework/web/servlet/hypermedia/AnnotationMappingDiscoverer.java
@@ -1,121 +0,0 @@ -/* - * Copyright 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
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/main/java/org/springframework/web/servlet/hypermedia/MvcUriComponentsBuilder.java
@@ -1,328 +0,0 @@ -/* - * Copyright 2012-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/LICENS...
true
Other
spring-projects
spring-framework
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/main/java/org/springframework/web/servlet/hypermedia/MvcUriComponentsBuilderFactory.java
@@ -1,55 +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
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/main/java/org/springframework/web/servlet/hypermedia/MvcUris.java
@@ -1,36 +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
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/main/java/org/springframework/web/servlet/hypermedia/RecordedInvocationUtils.java
@@ -1,240 +0,0 @@ -/* - * Copyright 2012-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
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/main/java/org/springframework/web/servlet/hypermedia/UriComponentsContributor.java
@@ -1,51 +0,0 @@ -/* - * Copyright 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
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/PathVariableMethodArgumentResolver.java
@@ -21,6 +21,8 @@ import java.util.Map; import org.springframework.core.MethodParameter; +import org.springframework.core.convert.ConversionService; +import org.springframework.core.convert.TypeDescriptor; import org.springframework.core.convert.converter.Converter; import org.springframework.util.StringUtils; i...
true
Other
spring-projects
spring-framework
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapter.java
@@ -26,6 +26,7 @@ import java.util.Set; import java.util.concurrent.Callable; import java.util.concurrent.ConcurrentHashMap; + import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; @@ -219,7 +220,7 @@ public void setArgumentResolvers(Li...
true
Other
spring-projects
spring-framework
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/support/DefaultMvcUrls.java
@@ -0,0 +1,181 @@ +/* + * 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
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/support/MvcUrlUtils.java
@@ -0,0 +1,207 @@ +/* + * Copyright 2012-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
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/support/MvcUrls.java
@@ -0,0 +1,121 @@ +/* + * 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
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/main/java/org/springframework/web/servlet/support/ServletUriComponentsBuilder.java
@@ -100,16 +100,18 @@ public static ServletUriComponentsBuilder fromRequest(HttpServletRequest request int port = request.getServerPort(); String host = request.getServerName(); - String xForwardedHostHeader = request.getHeader("X-Forwarded-Host"); + String header = request.getHeader("X-Forwarded-Host"); - ...
true
Other
spring-projects
spring-framework
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/test/java/org/springframework/web/servlet/config/MvcNamespaceTests.java
@@ -56,6 +56,8 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.context.request.NativeWebRequest; +import org.springframework.web.context.request.RequestContextHolder; +import org.springframework.web.context....
true
Other
spring-projects
spring-framework
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupportTests.java
@@ -16,28 +16,33 @@ package org.springframework.web.servlet.config.annotation; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertTrue; - -import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequ...
true
Other
spring-projects
spring-framework
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/test/java/org/springframework/web/servlet/hypermedia/AnnotationMappingDiscovererUnitTests.java
@@ -1,112 +0,0 @@ -/* - * Copyright 2012-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
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/test/java/org/springframework/web/servlet/hypermedia/MvcUriComponentsBuilderFactoryUnitTests.java
@@ -1,131 +0,0 @@ -/* - * Copyright 2012-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
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/test/java/org/springframework/web/servlet/hypermedia/MvcUriComponentsBuilderUnitTests.java
@@ -1,250 +0,0 @@ -/* - * Copyright 2012-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
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/test/java/org/springframework/web/servlet/hypermedia/RecordedInvocationUtilsUnitTests.java
@@ -1,47 +0,0 @@ -/* - * Copyright 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
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/test/java/org/springframework/web/servlet/hypermedia/TestUtils.java
@@ -1,49 +0,0 @@ -/* - * Copyright 2012-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
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/support/DefaultMvcUrlsTests.java
@@ -0,0 +1,290 @@ +/* + * Copyright 2012-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
bafc73f1477330ef1bdb292608deea6e06ef2bed.json
Integrate suggested support for creating MVC URLs The key contract is MvcUrls. An instance is automatically created with the Spring MVC namespace and the MVC Java config but can also be easily created in any configuration. Some example tests can be found in DefaultMvcUrlsTests. Issue: SPR-10665, SPR-8826
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/support/MvcUrlUtilsTests.java
@@ -0,0 +1,122 @@ +/* + * Copyright 2012-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