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 | 9c8c967caa4062670ac0660db97feee43bf54500.json | Add async options to MVC namespace and Java config
The MVC Java config method to implement is
WebMvcConfigurer.configureAsyncSupport(AsyncSupportConfigurer)
The MVC namespace element is:
<mvc:annotation-driven>
<mvc:async-support default-timeout="2500" task-executor="myExecutor" />
</mvc:annotation-driven>
Issue: ... | spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfigurationTests.java | @@ -21,6 +21,7 @@
import static org.easymock.EasyMock.replay;
import static org.easymock.EasyMock.verify;
import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertTrue;
@@ -54,14 +55,14 @@
*/
pub... | true |
Other | spring-projects | spring-framework | 9c8c967caa4062670ac0660db97feee43bf54500.json | Add async options to MVC namespace and Java config
The MVC Java config method to implement is
WebMvcConfigurer.configureAsyncSupport(AsyncSupportConfigurer)
The MVC namespace element is:
<mvc:annotation-driven>
<mvc:async-support default-timeout="2500" task-executor="myExecutor" />
</mvc:annotation-driven>
Issue: ... | spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupportExtensionTests.java | @@ -0,0 +1,294 @@
+/*
+ * 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 | 9c8c967caa4062670ac0660db97feee43bf54500.json | Add async options to MVC namespace and Java config
The MVC Java config method to implement is
WebMvcConfigurer.configureAsyncSupport(AsyncSupportConfigurer)
The MVC namespace element is:
<mvc:annotation-driven>
<mvc:async-support default-timeout="2500" task-executor="myExecutor" />
</mvc:annotation-driven>
Issue: ... | spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupportTests.java | @@ -21,64 +21,44 @@
import static org.junit.Assert.assertTrue;
import java.util.ArrayList;
-import java.util.Arrays;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.junit.Before;
import org.junit.Test;
-import org.springframework.beans.DirectFieldAccessor;
-import org.springf... | true |
Other | spring-projects | spring-framework | 9c8c967caa4062670ac0660db97feee43bf54500.json | Add async options to MVC namespace and Java config
The MVC Java config method to implement is
WebMvcConfigurer.configureAsyncSupport(AsyncSupportConfigurer)
The MVC namespace element is:
<mvc:annotation-driven>
<mvc:async-support default-timeout="2500" task-executor="myExecutor" />
</mvc:annotation-driven>
Issue: ... | spring-webmvc/src/test/resources/org/springframework/web/servlet/config/mvc-config-async-support.xml | @@ -0,0 +1,13 @@
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:mvc="http://www.springframework.org/schema/mvc"
+ 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.xsd
+... | true |
Other | spring-projects | spring-framework | 35bf5dc592a3f3c7909ca19b12f7e7d78e3b8246.json | Fix typo in Eclipse import instructions | import-into-eclipse.sh | @@ -114,7 +114,7 @@ STEP 5: Enable Git support for all projects
- Check "Use or create repository in parent folder of project"
- Click Finish
-When complete, you'll hvae have Git support enabled for all projects.
+When complete, you'll have Git support enabled for all projects.
You're ready to code! Goodbye!
EO... | false |
Other | spring-projects | spring-framework | 924c869b8adeaf8fe3da047d0bbf0137ffa9ddce.json | Remove note on singleton-scoped proxy raising BCE
Before this change bean scopes chapter in Spring reference documentation
had a note which mentioned that creating a scoped proxy for singleton-
or prototype-scoped beans will throw BeanCreationException.
This is no longer the case and this change removes the mentioned... | src/reference/docbook/beans-scopes.xml | @@ -385,9 +385,7 @@
<para>You <emphasis>do not</emphasis> need to use the
<literal><aop:scoped-proxy/></literal> in conjunction with beans
that are scoped as <literal>singletons</literal> or
- <literal>prototypes</literal>. If you try to create a scoped proxy for
- ... | false |
Other | spring-projects | spring-framework | 6c602d7bbc2f5a897ed1dc4ffa04b1155d9947d4.json | Fix typo in ApplicationContext reference doc
- Add missing '=' sign in sample code for section 4.2.3
Issue: SPR-8856 | src/reference/docbook/beans.xml | @@ -370,7 +370,7 @@ ApplicationContext context =
PetStoreServiceImpl service = context.getBean("petStore", PetStoreServiceImpl.class);
// use configured instance
-List userList service.getUsernameList();
+List userList = service.getUsernameList();
</programlisting>
<para>You use <methodname>getBean()</met... | false |
Other | spring-projects | spring-framework | 0690b58878f0e6c57a443720244049b16ba3cfd5.json | Predict specific object type in EhCacheFactoryBean
Prior to this change, before a bean is created by EhCacheFactoryBean,
its #getObjectType would return only an Ehcache interface. This caused
unwanted wiring issues as described in the related JIRA issue.
This fix makes use of EhCacheFactoryBean's configuration to det... | spring-context/src/main/java/org/springframework/cache/ehcache/EhCacheFactoryBean.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.
@@ -31,6 +31,7 @@
import net.sf.ehcache.constr... | true |
Other | spring-projects | spring-framework | 0690b58878f0e6c57a443720244049b16ba3cfd5.json | Predict specific object type in EhCacheFactoryBean
Prior to this change, before a bean is created by EhCacheFactoryBean,
its #getObjectType would return only an Ehcache interface. This caused
unwanted wiring issues as described in the related JIRA issue.
This fix makes use of EhCacheFactoryBean's configuration to det... | spring-context/src/test/java/org/springframework/cache/ehcache/EhCacheSupportTests.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.
@@ -17,6 +17,7 @@
package org.springframework.... | true |
Other | spring-projects | spring-framework | 80dd32e95ccb6e7c4836a751b1414f4be741a1fe.json | Disallow empty @PropertySource(value = {})
Previously, a user could specify an empty array of resource locations
to the @PropertySource annotation, which amounts to a meaningless no-op.
ConfigurationClassParser now throws IllegalArgumentException upon
encountering any such misconfiguration. | org.springframework.context/src/main/java/org/springframework/context/annotation/ConfigurationClassParser.java | @@ -181,6 +181,9 @@ protected AnnotationMetadata doProcessConfigurationClass(
String name = propertySource.getString("name");
String[] locations = propertySource.getStringArray("value");
int nLocations = locations.length;
+ if (nLocations == 0) {
+ throw new IllegalArgumentException("At least one @Prop... | true |
Other | spring-projects | spring-framework | 80dd32e95ccb6e7c4836a751b1414f4be741a1fe.json | Disallow empty @PropertySource(value = {})
Previously, a user could specify an empty array of resource locations
to the @PropertySource annotation, which amounts to a meaningless no-op.
ConfigurationClassParser now throws IllegalArgumentException upon
encountering any such misconfiguration. | org.springframework.context/src/test/java/org/springframework/context/annotation/PropertySourceAnnotationTests.java | @@ -130,15 +130,11 @@ public void withNameAndMultipleResourceLocations() {
assertThat(ctx.getEnvironment().containsProperty("from.p2"), is(true));
}
-
- @Configuration
- @PropertySource(
- name = "psName",
- value = {
- "classpath:org/springframework/context/annotation/p1.properties",
- "classpath:or... | true |
Other | spring-projects | spring-framework | 41ade68b50b39485b3cf02b9c6fb8eb74962146b.json | Fix @PropertySource bug with multiple values
Prior to this commit, specifying a named @PropertySource with multiple
values would not work as expected. e.g.:
@PropertySource(
name = "ps",
value = { "classpath:a.properties", "classpath:b.properties" })
In this scenario, the implementation would register ... | org.springframework.context/src/main/java/org/springframework/context/annotation/ConfigurationClassParser.java | @@ -38,6 +38,7 @@
import org.springframework.beans.factory.support.BeanDefinitionRegistry;
import org.springframework.beans.factory.support.BeanNameGenerator;
import org.springframework.core.annotation.AnnotationAttributes;
+import org.springframework.core.env.CompositePropertySource;
import org.springframework.cor... | true |
Other | spring-projects | spring-framework | 41ade68b50b39485b3cf02b9c6fb8eb74962146b.json | Fix @PropertySource bug with multiple values
Prior to this commit, specifying a named @PropertySource with multiple
values would not work as expected. e.g.:
@PropertySource(
name = "ps",
value = { "classpath:a.properties", "classpath:b.properties" })
In this scenario, the implementation would register ... | org.springframework.context/src/test/java/org/springframework/context/annotation/PropertySourceAnnotationTests.java | @@ -118,6 +118,29 @@ public void withResolvablePlaceholder() {
System.clearProperty("path.to.properties");
}
+ /**
+ * Corner bug reported in SPR-9127.
+ */
+ @Test
+ public void withNameAndMultipleResourceLocations() {
+ AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext();
+ ct... | true |
Other | spring-projects | spring-framework | 41ade68b50b39485b3cf02b9c6fb8eb74962146b.json | Fix @PropertySource bug with multiple values
Prior to this commit, specifying a named @PropertySource with multiple
values would not work as expected. e.g.:
@PropertySource(
name = "ps",
value = { "classpath:a.properties", "classpath:b.properties" })
In this scenario, the implementation would register ... | org.springframework.context/src/test/java/org/springframework/context/annotation/p1.properties | @@ -1 +1,2 @@
-testbean.name=p1TestBean
\ No newline at end of file
+testbean.name=p1TestBean
+from.p1=p1Value
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 41ade68b50b39485b3cf02b9c6fb8eb74962146b.json | Fix @PropertySource bug with multiple values
Prior to this commit, specifying a named @PropertySource with multiple
values would not work as expected. e.g.:
@PropertySource(
name = "ps",
value = { "classpath:a.properties", "classpath:b.properties" })
In this scenario, the implementation would register ... | org.springframework.context/src/test/java/org/springframework/context/annotation/p2.properties | @@ -1 +1,2 @@
-testbean.name=p2TestBean
\ No newline at end of file
+testbean.name=p2TestBean
+from.p2=p2Value
\ No newline at end of file | true |
Other | spring-projects | spring-framework | 41ade68b50b39485b3cf02b9c6fb8eb74962146b.json | Fix @PropertySource bug with multiple values
Prior to this commit, specifying a named @PropertySource with multiple
values would not work as expected. e.g.:
@PropertySource(
name = "ps",
value = { "classpath:a.properties", "classpath:b.properties" })
In this scenario, the implementation would register ... | org.springframework.core/src/main/java/org/springframework/core/env/CompositePropertySource.java | @@ -0,0 +1,65 @@
+/*
+ * 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 | 624ba720d5c8fabe4159a27396c7d32a9f38f187.json | Add link to contributor guidelines in readme | README.md | @@ -35,7 +35,6 @@ you've found a bug? Please consider submitting a reproduction project via the
[readme](https://github.com/SpringSource/spring-framework-issues#readme) provides simple
step-by-step instructions. <a name="building_from_source"/>
-
## Building from source
The Spring Framework uses a [Gradle](http:... | false |
Other | spring-projects | spring-framework | 58e270f7da55256e1eedeccab4c10424cfff4d51.json | Prune dead code from JmsTransactionManager#doBegin | org.springframework.jms/src/main/java/org/springframework/jms/connection/JmsTransactionManager.java | @@ -87,6 +87,7 @@
* @see TransactionAwareConnectionFactoryProxy
* @see org.springframework.jms.core.JmsTemplate
*/
+@SuppressWarnings("serial")
public class JmsTransactionManager extends AbstractPlatformTransactionManager
implements ResourceTransactionManager, InitializingBean {
@@ -191,14 +192,6 @@ protect... | false |
Other | spring-projects | spring-framework | 1d9d3e6ff79ce9f0eca03b02cd1df705925575da.json | Fix false negative test failure in ResourceTests
Prior to changes in commit 57851de88e84006afc104c4f22eb2fbaf2e0d3d1,
AbstractResource#getFilename threw IllegalStateException unless
overridden by a subclass. Following that change, this method now throws
null instead, but ResourceTests#testAbstractResourceExceptions ha... | org.springframework.core/src/test/java/org/springframework/core/io/ResourceTests.java | @@ -16,6 +16,7 @@
package org.springframework.core.io;
+import static org.hamcrest.CoreMatchers.nullValue;
import static org.junit.Assert.*;
import java.io.ByteArrayInputStream;
@@ -215,13 +216,8 @@ public InputStream getInputStream() {
catch (FileNotFoundException ex) {
assertTrue(ex.getMessage().index... | false |
Other | spring-projects | spring-framework | 66bc214a79da1bcae850fc80fae7af2b1b912822.json | Replace spaces with tabs | org.springframework.web/src/main/java/org/springframework/http/server/ServletServerHttpRequest.java | @@ -111,9 +111,9 @@ public HttpHeaders getHeaders() {
this.servletRequest.getCharacterEncoding() != null) {
MediaType oldContentType = this.headers.getContentType();
Charset charSet = Charset.forName(this.servletRequest.getCharacterEncoding());
- Map<String, String> params = new HashMap<S... | false |
Other | spring-projects | spring-framework | 41737e827cf47c933f664b1256af67dd278e1620.json | Remove warning suppression in mocks
This commit removes the suppression of warnings in Servlet and Portlet
mocks since such suppression is no longer necessary with the upgrade to
version 3.0 of the Servlet specification. | spring-test/src/main/java/org/springframework/mock/web/MockPageContext.java | @@ -253,7 +253,6 @@ public Enumeration<String> getAttributeNames() {
return Collections.enumeration(new LinkedHashSet<String>(this.attributes.keySet()));
}
- @SuppressWarnings("unchecked")
public Enumeration<String> getAttributeNamesInScope(int scope) {
switch (scope) {
case PAGE_SCOPE: | true |
Other | spring-projects | spring-framework | 41737e827cf47c933f664b1256af67dd278e1620.json | Remove warning suppression in mocks
This commit removes the suppression of warnings in Servlet and Portlet
mocks since such suppression is no longer necessary with the upgrade to
version 3.0 of the Servlet specification. | spring-test/src/main/java/org/springframework/mock/web/portlet/ServletWrappingPortletContext.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.
@@ -91,7 +91,6 @@ public String getRealPath(Str... | true |
Other | spring-projects | spring-framework | dc9fee0b5c24eefc6496baa25dc609b967589239.json | Update copyright year in reference documentation | src/reference/docbook/index.xml | @@ -160,7 +160,7 @@
</authorgroup>
<copyright>
- <year>2004-2012</year>
+ <year>2004-2013</year>
</copyright>
<legalnotice> | false |
Other | spring-projects | spring-framework | 8b293e1be40b949b8de5d6ff7411c11416fe3d5a.json | Release version 3.2.2.RELEASE | gradle.properties | @@ -1 +1 @@
-version=3.2.2.BUILD-SNAPSHOT
+version=3.2.2.RELEASE | false |
Other | spring-projects | spring-framework | d9540ff34233bb36794da5490a21c7eaa632f1dd.json | Remove Tiles 3 configuration method
Issue: SPR-10361 | spring-webmvc-tiles3/src/main/java/org/springframework/web/servlet/view/tiles3/TilesConfigurer.java | @@ -373,12 +373,6 @@ protected AbstractTilesContainerFactory createContainerFactory(ApplicationContex
private class SpringCompleteAutoloadTilesContainerFactory extends CompleteAutoloadTilesContainerFactory {
- @Override
- protected AttributeEvaluatorFactory createAttributeEvaluatorFactory(
- ApplicationConte... | false |
Other | spring-projects | spring-framework | 801f196de05a2d8424c30a66bede6f9a5bfa713d.json | Compare Kind references before checking log levels
Assuming reference comparisons are much quicker than checking
likely-nested logger levels, perform the former first.
Also, since the reference can match only one of the instances,
use "else if" to short-circuit the search. | spring-aop/src/main/java/org/springframework/aop/aspectj/AspectJWeaverMessageHandler.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.
@@ -51,36 +51,32 @@ public class AspectJWeaverM... | false |
Other | spring-projects | spring-framework | ff44c9132c23b35789dbb61ea09534797c18b231.json | Upgrade Hibernate from 4.0.0.CR7=>4.1.0.Final
spring-orm now successfully builds against Hibernate 4.1.0.Final
Issue: SPR-9082 | org.springframework.orm/.classpath | @@ -36,7 +36,7 @@
<classpathentry kind="var" path="IVY_CACHE/org.hibernate/com.springsource.org.hibernate.ejb/3.4.0.GA/com.springsource.org.hibernate.ejb-3.4.0.GA.jar"/>
<classpathentry kind="var" path="IVY_CACHE/org.hibernate/com.springsource.org.hibernate.annotations/3.4.0.GA/com.springsource.org.hibernate.annota... | true |
Other | spring-projects | spring-framework | ff44c9132c23b35789dbb61ea09534797c18b231.json | Upgrade Hibernate from 4.0.0.CR7=>4.1.0.Final
spring-orm now successfully builds against Hibernate 4.1.0.Final
Issue: SPR-9082 | org.springframework.orm/ivy.xml | @@ -43,7 +43,7 @@
<dependency org="org.hibernate" name="com.springsource.org.hibernate" rev="3.3.1.GA" conf="optional, hibernate->compile"/>
<dependency org="org.hibernate" name="com.springsource.org.hibernate.annotations" rev="3.4.0.GA" conf="optional, hibernate-jpa->compile"/>
<dependency org="org.hibernate"... | true |
Other | spring-projects | spring-framework | ff44c9132c23b35789dbb61ea09534797c18b231.json | Upgrade Hibernate from 4.0.0.CR7=>4.1.0.Final
spring-orm now successfully builds against Hibernate 4.1.0.Final
Issue: SPR-9082 | org.springframework.orm/orm.iml | @@ -221,11 +221,11 @@
<orderEntry type="module-library">
<library>
<CLASSES>
- <root url="jar://$IVY_CACHE$/org.hibernate/com.springsource.org.hibernate.core/4.0.0.CR7/com.springsource.org.hibernate.core-4.0.0.CR7.jar!/" />
+ <root url="jar://$IVY_CACHE$/org.hibernate/com.springso... | true |
Other | spring-projects | spring-framework | 3eff36452908c06774eb4e40e4943cb794674c05.json | Upgrade Hibernate from 4.0.0.CR7=>4.1.0.Final
spring-orm now successfully builds against hibernate-core and
hibernate-entitymanager 4.1.0.Final
Issue: SPR-9082 | build.gradle | @@ -337,10 +337,10 @@ project('spring-orm') {
// compiling against both hibernate 3 and 4 here in order to support
// our respective orm.hibernate3 and orm.hibernate4 packages
compile("org.hibernate:com.springsource.org.hibernate:3.3.1.GA", optional)
- compile("org.hibernate:hibernate-... | false |
Other | spring-projects | spring-framework | 27b8c5d71a9967a5d4fce7c1f84b0057397bb1e2.json | Resolve build script plugins via http vs https
The build script should work against http anyway; use of https here was
an oversight. Changing it now is in response to the following build
failure experienced by a user on his initial attempt to build from
source (with --info output):
09:02:09.437 [ERROR] [org.gradle.... | build.gradle | @@ -1,6 +1,6 @@
buildscript {
repositories {
- maven { url 'https://repo.springsource.org/plugins-snapshot' }
+ maven { url 'http://repo.springsource.org/plugins-snapshot' }
}
dependencies {
classpath 'org.springframework.build.gradle:docbook-reference-plugin:0.1.2-SNAPSHOT' | false |
Other | spring-projects | spring-framework | f3f73f0e32dc54c463831668d4700f022bc8461f.json | Check original beanClass in #isFactoryBean calls
This issue originates from a need in Spring Data JPA, wherein a custom
InstantiationAwareBeanPostProcessor may alter the predicted type of
FactoryBean objects, effectively preventing retrieval of those beans via
calls to #getBeansOfType(FactoryBean.class).
The reason f... | org.springframework.beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanFactory.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.
@@ -1328,8 +1328,9 @@ protected Class<?> predic... | true |
Other | spring-projects | spring-framework | f3f73f0e32dc54c463831668d4700f022bc8461f.json | Check original beanClass in #isFactoryBean calls
This issue originates from a need in Spring Data JPA, wherein a custom
InstantiationAwareBeanPostProcessor may alter the predicted type of
FactoryBean objects, effectively preventing retrieval of those beans via
calls to #getBeansOfType(FactoryBean.class).
The reason f... | org.springframework.beans/src/test/java/org/springframework/beans/factory/support/Spr8954Tests.java | @@ -0,0 +1,96 @@
+/*
+ * 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 | 56026863e8dc0cb40d68846b3cbbd0e8c43381a0.json | Remove javabuilder from spring-aspects .project
Previously, the build script was configured to add ajbuilder to the set
of Eclipse/STS build commands, meaning that both javabuilder and
ajbuilder would be present for spring-aspects. This causes unpredictable
behavior, as these two builders compete with each other. As a... | build.gradle | @@ -445,7 +445,8 @@ project('spring-aspects') {
}
eclipse.project {
natures += 'org.eclipse.ajdt.ui.ajnature'
- buildCommand 'org.eclipse.ajdt.core.ajbuilder'
+ buildCommands = [new org.gradle.plugins.ide.eclipse.model.
+ BuildCommand('org.eclipse.ajdt.core.ajbuilder')]
... | true |
Other | spring-projects | spring-framework | 56026863e8dc0cb40d68846b3cbbd0e8c43381a0.json | Remove javabuilder from spring-aspects .project
Previously, the build script was configured to add ajbuilder to the set
of Eclipse/STS build commands, meaning that both javabuilder and
ajbuilder would be present for spring-aspects. This causes unpredictable
behavior, as these two builders compete with each other. As a... | import-into-eclipse.sh | @@ -116,9 +116,5 @@ STEP 5: Enable Git support for all projects
When complete, you'll hvae have Git support enabled for all projects.
-Note: if any projects have errors after adding Git support
-(e.g. spring-aspects), simply go to Project > Clean... and clean that
-project. This should remove any errors.
-
You're... | true |
Other | spring-projects | spring-framework | 90bed9718f17bfd8f3d9dbe6cd2b3cf7ed2e6573.json | Allow customization of SpEL method resolution
This change introduces a protected ReflectiveMethodResolver#getMethods,
allowing subclasses to specify additional static methods not
declared directly on the type being evaluated. These methods then become
candidates for filtering by any registered MethodFilters and ultima... | org.springframework.expression/src/main/java/org/springframework/expression/spel/support/ReflectiveMethodResolver.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2010 the original author or authors.
+ * Copyright 2002-2011 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.
@@ -90,7 +90,7 @@ public MethodExecutor resolve... | true |
Other | spring-projects | spring-framework | 90bed9718f17bfd8f3d9dbe6cd2b3cf7ed2e6573.json | Allow customization of SpEL method resolution
This change introduces a protected ReflectiveMethodResolver#getMethods,
allowing subclasses to specify additional static methods not
declared directly on the type being evaluated. These methods then become
candidates for filtering by any registered MethodFilters and ultima... | org.springframework.expression/src/test/java/org/springframework/expression/spel/SpringEL300Tests.java | @@ -17,8 +17,10 @@
package org.springframework.expression.spel;
import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.fail;
import java.lang.reflect.Field;
+import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
@@ -38,6 +4... | true |
Other | spring-projects | spring-framework | aad21830bb27ad6e5a27bb81c4c0401370113bd6.json | Remove global 'clean' from import-into-eclipse.sh
User may already have run `gradle build` successfully. This change
ensures that we do not unnecessarily remove these output directories
in order to avoid forcing the user to rebuild. | import-into-eclipse.sh | @@ -27,7 +27,7 @@ read
# - generates metadata for all subprojects
# - skips metadata gen for the root project (-x :eclipse) to work
# around Eclipse's inability to import hierarchical project structures
-COMMAND="./gradlew clean cleanEclipse :spring-oxm:compileTestJava eclipse -x :eclipse"
+COMMAND="./gradlew clea... | false |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.aop/pom.xml | @@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xsi:... | true |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.asm/pom.xml | @@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xsi:... | true |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.aspects/pom.xml | @@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xsi:... | true |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.beans/pom.xml | @@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xsi:... | true |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.context.support/pom.xml | @@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xsi:... | true |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.context/pom.xml | @@ -1,274 +1,280 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.s... | true |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.core/pom.xml | @@ -1,77 +1,83 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.spr... | true |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.expression/pom.xml | @@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xsi:... | true |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.instrument.tomcat/pom.xml | @@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xsi:... | true |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.instrument/pom.xml | @@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xsi:... | true |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.integration-tests/pom.xml | @@ -1,16 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xs... | true |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.jdbc/pom.xml | @@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xsi:... | true |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.jms/pom.xml | @@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xsi:... | true |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.orm/pom.xml | @@ -1,237 +1,244 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.s... | true |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.oxm/pom.xml | @@ -1,102 +1,108 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.s... | true |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.spring-library/pom.xml | @@ -1,15 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-
- <!--
-
- This POM cannot be used to buil... | true |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.spring-parent/pom.xml | @@ -1,14 +1,6 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <!--
-
- This POM cannot be used to build Spring; it is a work in progress a... | true |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.test/pom.xml | @@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xsi:... | true |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.transaction/pom.xml | @@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xsi:... | true |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.web.portlet/pom.xml | @@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xsi:... | true |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.web.servlet/pom.xml | @@ -1,313 +1,318 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.s... | true |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.web.struts/pom.xml | @@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ xsi:schemaLocation="http://maven.apache.org/POM... | true |
Other | spring-projects | spring-framework | 87a021d5c9b25d2e7785bbecbd4e668b2091d4c3.json | Add <license> section to 3.1.x Maven poms
Issue: SPR-8927 | org.springframework.web/pom.xml | @@ -1,192 +1,198 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.spr... | true |
Other | spring-projects | spring-framework | f8800557d3fa2cdf7c715f48c703d6424516c4ad.json | Update README and add IDE import helper scripts
- Update building from source section with Gradle instructions
- Add import-into-eclipse.sh interactive helper script
- Add import-into-idea.md with steps and known issues
Note that use of STS Gradle tooling was attempted, but several issues
remain before it can hand... | README.md | @@ -31,14 +31,31 @@ Check out the [Spring forums](http://forum.springsource.org) and the
## Issue Tracking
Spring's JIRA issue tracker can be found [here](http://jira.springsource.org/browse/SPR). Think
you've found a bug? Please consider submitting a reproduction project via the
-[spring-framework-issues](https://g... | true |
Other | spring-projects | spring-framework | f8800557d3fa2cdf7c715f48c703d6424516c4ad.json | Update README and add IDE import helper scripts
- Update building from source section with Gradle instructions
- Add import-into-eclipse.sh interactive helper script
- Add import-into-idea.md with steps and known issues
Note that use of STS Gradle tooling was attempted, but several issues
remain before it can hand... | import-into-eclipse.sh | @@ -0,0 +1,124 @@
+STS_TEST_VERSION='2.8.1.RELEASE'
+
+cd `dirname $0`
+clear
+cat <<EOM
+
+-----------------------------------------------------------------------
+Spring Framework Eclipse/STS project import guide
+
+This script will guide you through the process of importing the
+Spring Framework sources into Eclipse... | true |
Other | spring-projects | spring-framework | f8800557d3fa2cdf7c715f48c703d6424516c4ad.json | Update README and add IDE import helper scripts
- Update building from source section with Gradle instructions
- Add import-into-eclipse.sh interactive helper script
- Add import-into-idea.md with steps and known issues
Note that use of STS Gradle tooling was attempted, but several issues
remain before it can hand... | import-into-idea.md | @@ -0,0 +1,32 @@
+The following has been tested against Intellij IDEA 11.0.1
+
+## Steps
+
+_Within your locally cloned spring-framework working directory:_
+
+1. Generate IDEA metadata with `./gradlew cleanIdea idea`
+2. Import into IDEA as usual
+3. Set the Project JDK as appropriate
+4. Add git support
+5. Code away... | true |
Other | spring-projects | spring-framework | 6235a341a756f6b8629d82bf707f246d57c2d071.json | Remove bundlor support | build.gradle | @@ -4,7 +4,6 @@ buildscript {
}
dependencies {
classpath 'org.springframework.build.gradle:docbook-reference-plugin:0.1.2-SNAPSHOT'
- classpath 'org.springframework.build.gradle:bundlor-plugin:0.1.2-SNAPSHOT'
}
}
@@ -29,7 +28,6 @@ configure(allprojects) {
repositories {
m... | true |
Other | spring-projects | spring-framework | 6235a341a756f6b8629d82bf707f246d57c2d071.json | Remove bundlor support | spring-aop/template.mf | @@ -1,20 +0,0 @@
-Bundle-SymbolicName: org.springframework.aop
-Bundle-Name: Spring AOP
-Bundle-Vendor: SpringSource
-Bundle-ManifestVersion: 2
-Import-Template:
- com.jamonapi.*;version="[2.4.0, 3.0.0)";resolution:=optional,
- net.sf.cglib.*;version="[2.1.3, 3.0.0)";resolution:=optional,
- org.aopalliance.*;version="... | true |
Other | spring-projects | spring-framework | 6235a341a756f6b8629d82bf707f246d57c2d071.json | Remove bundlor support | spring-asm/template.mf | @@ -1,6 +0,0 @@
-Bundle-SymbolicName: org.springframework.asm
-Bundle-Name: Spring ASM
-Bundle-Vendor: SpringSource
-Bundle-ManifestVersion: 2
-Ignored-Existing-Headers:
- Import-Package | true |
Other | spring-projects | spring-framework | 6235a341a756f6b8629d82bf707f246d57c2d071.json | Remove bundlor support | spring-aspects/template.mf | @@ -1,20 +0,0 @@
-Bundle-SymbolicName: org.springframework.aspects
-Bundle-Name: Spring Aspects
-Bundle-Vendor: SpringSource
-Bundle-ManifestVersion: 2
-Import-Template:
- javax.persistence;version="[1.0.0,3.0.0)";resolution:=optional,
- org.apache.commons.logging.*;version="[1.1.1, 2.0.0)",
- org.aspectj.*;version=${... | true |
Other | spring-projects | spring-framework | 6235a341a756f6b8629d82bf707f246d57c2d071.json | Remove bundlor support | spring-beans/template.mf | @@ -1,19 +0,0 @@
-Bundle-SymbolicName: org.springframework.beans
-Bundle-Name: Spring Beans
-Bundle-Vendor: SpringSource
-Bundle-ManifestVersion: 2
-Import-Template:
- javax.el.*;version="[1.0.0, 3.0.0)";resolution:=optional,
- javax.inject.*;version="[1.0.0, 2.0.0)";resolution:=optional,
- javax.xml.*;version="0";res... | true |
Other | spring-projects | spring-framework | 6235a341a756f6b8629d82bf707f246d57c2d071.json | Remove bundlor support | spring-context-support/template.mf | @@ -1,33 +0,0 @@
-Bundle-SymbolicName: org.springframework.context.support
-Bundle-Name: Spring Context Support
-Bundle-Vendor: SpringSource
-Bundle-ManifestVersion: 2
-Import-Template:
- commonj.*;version="[1.1.0, 2.0.0)";resolution:=optional,
- freemarker.*;version="[2.3.14, 3.0.0)";resolution:=optional,
- javax.act... | true |
Other | spring-projects | spring-framework | 6235a341a756f6b8629d82bf707f246d57c2d071.json | Remove bundlor support | spring-context/template.mf | @@ -1,47 +0,0 @@
-Bundle-SymbolicName: org.springframework.context
-Bundle-Name: Spring Context
-Bundle-Vendor: SpringSource
-Bundle-ManifestVersion: 2
-Import-Package:
- javax.persistence;version="[1.0.0, 3.0.0)";resolution:=optional,
- org.springframework.orm.jpa.support;version=${spring.osgi.range};resolution:=opti... | true |
Other | spring-projects | spring-framework | 6235a341a756f6b8629d82bf707f246d57c2d071.json | Remove bundlor support | spring-core/template.mf | @@ -1,22 +0,0 @@
-Bundle-SymbolicName: org.springframework.core
-Bundle-Name: Spring Core
-Bundle-Vendor: SpringSource
-Bundle-ManifestVersion: 2
-Import-Package:
- org.eclipse.core.runtime;version="0";common="split";resolution:=optional,
- org.jboss.virtual;version="[2.1.0.GA, 3.0.0)";resolution:=optional,
- org.jbos... | true |
Other | spring-projects | spring-framework | 6235a341a756f6b8629d82bf707f246d57c2d071.json | Remove bundlor support | spring-expression/template.mf | @@ -1,8 +0,0 @@
-Bundle-SymbolicName: org.springframework.expression
-Bundle-Name: Spring Expression Language
-Bundle-Vendor: SpringSource
-Bundle-ManifestVersion: 2
-Import-Template:
- org.apache.commons.logging;version="[1.1.1, 2.0.0)",
- org.springframework.core.*;version=${spring.osgi.range},
- org.springframework... | true |
Other | spring-projects | spring-framework | 6235a341a756f6b8629d82bf707f246d57c2d071.json | Remove bundlor support | spring-instrument-tomcat/template.mf | @@ -1,6 +0,0 @@
-Bundle-SymbolicName: org.springframework.instrument.tomcat
-Bundle-Name: Spring Instrument Tomcat Weaver
-Bundle-Vendor: SpringSource
-Bundle-ManifestVersion: 2
-Import-Template:
- org.apache.catalina.*;version="[6.0.16, 7.0.0)" | true |
Other | spring-projects | spring-framework | 6235a341a756f6b8629d82bf707f246d57c2d071.json | Remove bundlor support | spring-instrument/template.mf | @@ -1,5 +0,0 @@
-Bundle-SymbolicName: org.springframework.instrument
-Bundle-Name: Spring Instrument
-Bundle-Vendor: SpringSource
-Bundle-ManifestVersion: 2
-Premain-Class: org.springframework.instrument.InstrumentationSavingAgent | true |
Other | spring-projects | spring-framework | 6235a341a756f6b8629d82bf707f246d57c2d071.json | Remove bundlor support | spring-jdbc/template.mf | @@ -1,37 +0,0 @@
-Bundle-SymbolicName: org.springframework.jdbc
-Bundle-Name: Spring JDBC
-Bundle-Vendor: SpringSource
-Bundle-ManifestVersion: 2
-Import-Package:
- com.ibm.websphere.rsadapter;version="0";resolution:=optional,
- com.ibm.ws.rsadapter.jdbc;version="0";resolution:=optional,
- oracle.jdbc;version="0";reso... | true |
Other | spring-projects | spring-framework | 6235a341a756f6b8629d82bf707f246d57c2d071.json | Remove bundlor support | spring-jms/template.mf | @@ -1,31 +0,0 @@
-Bundle-SymbolicName: org.springframework.jms
-Bundle-Name: Spring JMS
-Bundle-Vendor: SpringSource
-Bundle-ManifestVersion: 2
-Import-Template:
- javax.jms.*;version="[1.1.0, 2.0.0)",
- javax.naming.*;version="0";resolution:=optional,
- javax.resource.*;version="[1.5.0, 2.0.0)";resolution:=optional,
... | true |
Other | spring-projects | spring-framework | 6235a341a756f6b8629d82bf707f246d57c2d071.json | Remove bundlor support | spring-orm/template.mf | @@ -1,44 +0,0 @@
-Bundle-SymbolicName: org.springframework.orm
-Bundle-Name: Spring ORM
-Bundle-Vendor: SpringSource
-Bundle-ManifestVersion: 2
-Import-Package:
- com.ibatis.sqlmap.engine.transaction.external;version="[2.3.0, 3.0.0)";resolution:=optional,
- javax.persistence.criteria;version="[1.0.0, 3.0.0)";resolutio... | true |
Other | spring-projects | spring-framework | 6235a341a756f6b8629d82bf707f246d57c2d071.json | Remove bundlor support | spring-oxm/template.mf | @@ -1,25 +0,0 @@
-Bundle-SymbolicName: org.springframework.oxm
-Bundle-Name: Spring Object/XML Mapping
-Bundle-Vendor: SpringSource
-Bundle-ManifestVersion: 2
-Import-Template:
- javax.activation.*;version="0";resolution:=optional,
- javax.xml.*;version="0",
- javax.xml.bind.*;version="0";resolution:=optional,
- com.t... | true |
Other | spring-projects | spring-framework | 6235a341a756f6b8629d82bf707f246d57c2d071.json | Remove bundlor support | spring-struts/template.mf | @@ -1,26 +0,0 @@
-Bundle-SymbolicName: org.springframework.web.struts
-Bundle-Name: Spring Web Struts
-Bundle-Vendor: SpringSource
-Bundle-ManifestVersion: 2
-Import-Template:
- antlr.*;version="[2.7.6, 3.0.0)";resolution:=optional,
- javax.servlet.*;version="[2.4.0, 3.0.0)",
- javax.sql.*;version="0",
- org.apache.co... | true |
Other | spring-projects | spring-framework | 6235a341a756f6b8629d82bf707f246d57c2d071.json | Remove bundlor support | spring-test/template.mf | @@ -1,28 +0,0 @@
-Bundle-SymbolicName: org.springframework.test
-Bundle-Name: Spring Test
-Bundle-Vendor: SpringSource
-Bundle-ManifestVersion: 2
-Import-Template:
- javax.activation.*;version="0";resolution:=optional,
- javax.el.*;version="[1.0.0, 3.0.0)";resolution:=optional,
- javax.naming.*;version="0";resolution:... | true |
Other | spring-projects | spring-framework | 6235a341a756f6b8629d82bf707f246d57c2d071.json | Remove bundlor support | spring-tx/template.mf | @@ -1,32 +0,0 @@
-Bundle-SymbolicName: org.springframework.transaction
-Bundle-Name: Spring Transaction
-Bundle-Vendor: SpringSource
-Bundle-ManifestVersion: 2
-Import-Package:
- com.ibm.websphere.uow;version="0";resolution:=optional,
- com.ibm.wsspi.uow;version="0";resolution:=optional,
- oracle.j2ee.transaction;vers... | true |
Other | spring-projects | spring-framework | 6235a341a756f6b8629d82bf707f246d57c2d071.json | Remove bundlor support | spring-web/template.mf | @@ -1,43 +0,0 @@
-Bundle-SymbolicName: org.springframework.web
-Bundle-Name: Spring Web
-Bundle-Vendor: SpringSource
-Bundle-ManifestVersion: 2
-Import-Template:
- com.caucho.*;version="[3.2.0, 5.0.0)";resolution:=optional,
- com.sun.syndication.*;version="[1.0.0, 2.0.0)";resolution:=optional,
- org.codehaus.jackson.*... | true |
Other | spring-projects | spring-framework | 6235a341a756f6b8629d82bf707f246d57c2d071.json | Remove bundlor support | spring-webmvc-portlet/template.mf | @@ -1,26 +0,0 @@
-Bundle-SymbolicName: org.springframework.web.portlet
-Bundle-Name: Spring Web Portlet
-Bundle-Vendor: SpringSource
-Bundle-ManifestVersion: 2
-Import-Template:
- javax.portlet.*;version="[2.0.0, 3.0.0)",
- javax.servlet.*;version="[2.4.0, 4.0.0)",
- javax.xml.*;version="0";resolution:=optional,
- org... | true |
Other | spring-projects | spring-framework | 6235a341a756f6b8629d82bf707f246d57c2d071.json | Remove bundlor support | spring-webmvc/template.mf | @@ -1,45 +0,0 @@
-Bundle-SymbolicName: org.springframework.web.servlet
-Bundle-Name: Spring Web Servlet
-Bundle-Vendor: SpringSource
-Bundle-ManifestVersion: 2
-Import-Template:
- com.sun.syndication.*;version="[1.0.0, 2.0.0)";resolution:=optional,
- com.lowagie.text.*;version="[2.0.0, 3.0.0)";resolution:=optional,
- ... | true |
Other | spring-projects | spring-framework | 69dd6f217058cb051fd46130f4c684ce7bfb20fb.json | Remove EBR dependencies where possible
Only a select few EBR dependencies now remain, because these
dependencies cannot be found elsewhere e.g. atinject-tck, or in the case
of Hibernate 3.3.1.GA, to avoid Gradle classpath confusion with
Hibernate 4.0.x (because they have different artifactIds).
Future efforts will be... | build.gradle | @@ -25,14 +25,13 @@ configure(allprojects) {
test.systemProperty("java.awt.headless", "true")
repositories {
- maven {
- url "http://repo.springsource.org/libs-release"
- url "http://repo.springsource.org/plugins-release"
- }
+ maven { url "http://repo.springsource... | false |
Other | spring-projects | spring-framework | 0fb4b747c2f634ebcbbc2f4e37726234100e8367.json | Fix issue with restoring included attributes
Before this change the DispatcherServlet restored modified and also
removed added attributes but did not restore removed attributes.
Issue: SPR-10360 | spring-webmvc/src/main/java/org/springframework/web/servlet/DispatcherServlet.java | @@ -1268,6 +1268,7 @@ private void triggerAfterCompletionWithError(HttpServletRequest request, HttpSer
* @param request current HTTP request
* @param attributesSnapshot the snapshot of the request attributes before the include
*/
+ @SuppressWarnings("unchecked")
private void restoreAttributesAfterInclude(Htt... | false |
Other | spring-projects | spring-framework | 6914aff825bfbf58291fa39a131471f312eafe04.json | Add additional test for daylight savings glitch
The problem was that clocks go forward *at* 2am, so
2am doesn't exist once a year. Users might be surprised
that their cron trigger doesn't go off one night, but that
is arguably correct (and what happens now). The test can be
modified if we decide to change the trigger ... | spring-context/src/test/java/org/springframework/scheduling/support/CronTriggerTests.java | @@ -56,7 +56,7 @@ public CronTriggerTests(Date date, TimeZone timeZone) {
@Parameters
public static List<Object[]> getParameters() {
List<Object[]> list = new ArrayList<Object[]>();
- list.add(new Object[] { new Date(), TimeZone.getDefault() });
+ list.add(new Object[] { new Date(), TimeZone.getTimeZone("PST")... | false |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java | @@ -20,6 +20,7 @@
import java.lang.reflect.AnnotatedElement;
import java.lang.reflect.Method;
+import java.util.List;
import java.util.Map;
import java.util.WeakHashMap;
@@ -240,14 +241,58 @@ public static <A extends Annotation> A findAnnotation(Class<?> clazz, Class<A> a
* if not found
* @see Class#isAnn... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-core/src/test/java/org/springframework/core/annotation/AnnotationUtilsTests.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.
@@ -16,21 +16,26 @@
package org.springframew... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/.springBeans | @@ -10,6 +10,7 @@
<config>src/test/java/org/springframework/test/context/junit4/profile/xml/DefaultProfileXmlConfigTests-context.xml</config>
<config>src/test/java/org/springframework/test/context/junit4/aci/xml/MultipleInitializersXmlConfigTests-context.xml</config>
<config>src/test/resources/org/springframew... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/main/java/org/springframework/mock/jndi/SimpleNamingContextBuilder.java | @@ -40,9 +40,9 @@
*
* <p>There are various choices for DataSource implementations:
* <ul>
- * <li>SingleConnectionDataSource (using the same Connection for all getConnection calls);
- * <li>DriverManagerDataSource (creating a new Connection on each getConnection call);
- * <li>Apache's Jakarta Commons DBCP offers... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/main/java/org/springframework/mock/web/MockServletContext.java | @@ -163,6 +163,7 @@ public MockServletContext(ResourceLoader resourceLoader) {
* @param resourceLoader the ResourceLoader to use (or null for the default)
* @see #registerNamedDispatcher
*/
+ @SuppressWarnings("javadoc")
public MockServletContext(String resourceBasePath, ResourceLoader resourceLoader) {
t... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/main/java/org/springframework/test/AbstractDependencyInjectionSpringContextTests.java | @@ -197,6 +197,7 @@ protected void prepareTestInstance() throws Exception {
* test instance has not been configured
* @see #populateProtectedVariables()
*/
+ @SuppressWarnings("javadoc")
protected void injectDependencies() throws Exception {
Assert.state(getApplicationContext() != null,
"injectDepend... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/main/java/org/springframework/test/annotation/DirtiesContext.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.
@@ -36,13 +36,13 @@
* mode set to {@link Clas... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/main/java/org/springframework/test/context/CacheAwareContextLoaderDelegate.java | @@ -0,0 +1,112 @@
+/*
+ * 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 | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/main/java/org/springframework/test/context/ContextCache.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.
@@ -16,52 +16,72 @@
package org.springframew... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/main/java/org/springframework/test/context/ContextConfiguration.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.
@@ -66,11 +66,12 @@
*
* @author Sam Brannen... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/main/java/org/springframework/test/context/ContextConfigurationAttributes.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.
@@ -16,6 +16,8 @@
package org.springframewor... | true |
Other | spring-projects | spring-framework | 98074e776262292a9d6fa8d164e6718c5876ed6f.json | Provide support for context hierarchies in the TCF
Prior to this commit the Spring TestContext Framework supported creating
only flat, non-hierarchical contexts. There was no easy way to create
contexts with parent-child relationships.
This commit addresses this issue by introducing a new @ContextHierarchy
annotation... | spring-test/src/main/java/org/springframework/test/context/ContextHierarchy.java | @@ -0,0 +1,54 @@
+/*
+ * 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.