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 | 9f5fd3afcf7196dcae1ba5813f78561f9ee0f0a1.json | Normalize indentation of Apache license URL
In accordance with recommendations at
http://www.apache.org/licenses/LICENSE-2.0.html.
A number of classes had strayed from this format, now all
are the same. | org.springframework.context/src/test/java/test/beans/CustomScope.java | @@ -5,7 +5,7 @@
* 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
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* dist... | true |
Other | spring-projects | spring-framework | 9f5fd3afcf7196dcae1ba5813f78561f9ee0f0a1.json | Normalize indentation of Apache license URL
In accordance with recommendations at
http://www.apache.org/licenses/LICENSE-2.0.html.
A number of classes had strayed from this format, now all
are the same. | org.springframework.core/src/main/java/org/springframework/core/env/AbstractEnvironment.java | @@ -5,7 +5,7 @@
* 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
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribu... | true |
Other | spring-projects | spring-framework | 9f5fd3afcf7196dcae1ba5813f78561f9ee0f0a1.json | Normalize indentation of Apache license URL
In accordance with recommendations at
http://www.apache.org/licenses/LICENSE-2.0.html.
A number of classes had strayed from this format, now all
are the same. | org.springframework.core/src/test/java/org/springframework/core/env/DefaultEnvironmentTests.java | @@ -5,7 +5,7 @@
* 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
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribu... | true |
Other | spring-projects | spring-framework | 9f5fd3afcf7196dcae1ba5813f78561f9ee0f0a1.json | Normalize indentation of Apache license URL
In accordance with recommendations at
http://www.apache.org/licenses/LICENSE-2.0.html.
A number of classes had strayed from this format, now all
are the same. | org.springframework.expression/src/main/java/org/springframework/expression/common/TemplateAwareExpressionParser.java | @@ -1 +1 @@
-/*
* Copyright 2002-2009 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
*
* Unless r... | true |
Other | spring-projects | spring-framework | 9f5fd3afcf7196dcae1ba5813f78561f9ee0f0a1.json | Normalize indentation of Apache license URL
In accordance with recommendations at
http://www.apache.org/licenses/LICENSE-2.0.html.
A number of classes had strayed from this format, now all
are the same. | org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandler.java | @@ -5,7 +5,7 @@
* 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
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribu... | true |
Other | spring-projects | spring-framework | 9f5fd3afcf7196dcae1ba5813f78561f9ee0f0a1.json | Normalize indentation of Apache license URL
In accordance with recommendations at
http://www.apache.org/licenses/LICENSE-2.0.html.
A number of classes had strayed from this format, now all
are the same. | org.springframework.web/src/main/java/org/springframework/http/converter/FormHttpMessageConverter.java | @@ -5,7 +5,7 @@
* 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
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribu... | true |
Other | spring-projects | spring-framework | 9f5fd3afcf7196dcae1ba5813f78561f9ee0f0a1.json | Normalize indentation of Apache license URL
In accordance with recommendations at
http://www.apache.org/licenses/LICENSE-2.0.html.
A number of classes had strayed from this format, now all
are the same. | org.springframework.web/src/main/java/org/springframework/web/context/support/AbstractRefreshableWebApplicationContext.java | @@ -5,7 +5,7 @@
* 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
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribu... | true |
Other | spring-projects | spring-framework | 9f5fd3afcf7196dcae1ba5813f78561f9ee0f0a1.json | Normalize indentation of Apache license URL
In accordance with recommendations at
http://www.apache.org/licenses/LICENSE-2.0.html.
A number of classes had strayed from this format, now all
are the same. | org.springframework.web/src/main/java/org/springframework/web/context/support/GenericWebApplicationContext.java | @@ -5,7 +5,7 @@
* 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
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribu... | true |
Other | spring-projects | spring-framework | 9f5fd3afcf7196dcae1ba5813f78561f9ee0f0a1.json | Normalize indentation of Apache license URL
In accordance with recommendations at
http://www.apache.org/licenses/LICENSE-2.0.html.
A number of classes had strayed from this format, now all
are the same. | org.springframework.web/src/main/java/org/springframework/web/context/support/StaticWebApplicationContext.java | @@ -5,7 +5,7 @@
* 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
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribu... | true |
Other | spring-projects | spring-framework | 9f5fd3afcf7196dcae1ba5813f78561f9ee0f0a1.json | Normalize indentation of Apache license URL
In accordance with recommendations at
http://www.apache.org/licenses/LICENSE-2.0.html.
A number of classes had strayed from this format, now all
are the same. | org.springframework.web/src/main/java/org/springframework/web/filter/ShallowEtagHeaderFilter.java | @@ -5,7 +5,7 @@
* 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
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribu... | true |
Other | spring-projects | spring-framework | 9f5fd3afcf7196dcae1ba5813f78561f9ee0f0a1.json | Normalize indentation of Apache license URL
In accordance with recommendations at
http://www.apache.org/licenses/LICENSE-2.0.html.
A number of classes had strayed from this format, now all
are the same. | org.springframework.web/src/test/java/org/springframework/web/filter/DelegatingFilterProxyTests.java | @@ -4,7 +4,7 @@
* 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
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* dist... | true |
Other | spring-projects | spring-framework | 9f5fd3afcf7196dcae1ba5813f78561f9ee0f0a1.json | Normalize indentation of Apache license URL
In accordance with recommendations at
http://www.apache.org/licenses/LICENSE-2.0.html.
A number of classes had strayed from this format, now all
are the same. | org.springframework.web/src/test/java/org/springframework/web/filter/ShallowEtagHeaderFilterTests.java | @@ -5,7 +5,7 @@
* 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
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribu... | true |
Other | spring-projects | spring-framework | f46a455c72370714a7494ff95bf9d4cd927ebac8.json | Eliminate PropertySourceAggregator interface | org.springframework.core/src/main/java/org/springframework/core/env/ConfigurableEnvironment.java | @@ -16,6 +16,10 @@
package org.springframework.core.env;
+import java.util.LinkedList;
+import java.util.Map;
+import java.util.Properties;
+
import org.springframework.core.convert.ConversionService;
/**
@@ -24,19 +28,34 @@
* @author Chris Beams
* @since 3.1
*/
-public interface ConfigurableEnvironment ... | true |
Other | spring-projects | spring-framework | f46a455c72370714a7494ff95bf9d4cd927ebac8.json | Eliminate PropertySourceAggregator interface | org.springframework.core/src/main/java/org/springframework/core/env/PropertySourceAggregator.java | @@ -1,51 +0,0 @@
-/*
- * Copyright 2002-2010 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 | 8770ea96b03106a06ee7ce401dc2fe39f419f816.json | Expose Environment ConfigurationService
AbstractEnvironment delegates to an underlying ConfigurationService when
processing methods such as getProperty(String name, Class<?> targetType)
Accessor methods have been added to the ConfigurableEnvironment
interface that allow this service to be updated or replaced. | org.springframework.core/src/main/java/org/springframework/core/env/AbstractEnvironment.java | @@ -69,7 +69,13 @@ public abstract class AbstractEnvironment implements ConfigurableEnvironment {
new PropertyPlaceholderHelper(PLACEHOLDER_PREFIX, PLACEHOLDER_SUFFIX, VALUE_SEPARATOR, false);
+ public ConversionService getConversionService() {
+ return this.conversionService;
+ }
+ public void setConversionS... | true |
Other | spring-projects | spring-framework | 8770ea96b03106a06ee7ce401dc2fe39f419f816.json | Expose Environment ConfigurationService
AbstractEnvironment delegates to an underlying ConfigurationService when
processing methods such as getProperty(String name, Class<?> targetType)
Accessor methods have been added to the ConfigurableEnvironment
interface that allow this service to be updated or replaced. | org.springframework.core/src/main/java/org/springframework/core/env/ConfigurableEnvironment.java | @@ -16,6 +16,8 @@
package org.springframework.core.env;
+import org.springframework.core.convert.ConversionService;
+
/**
* TODO SPR-7508: document
*
@@ -34,4 +36,7 @@ public interface ConfigurableEnvironment extends Environment, PropertySourceAggr
*/
void setDefaultProfiles(String... profiles);
+ publ... | true |
Other | spring-projects | spring-framework | b3e36a335d98945f8bf04ebb80ebe31664283720.json | Eliminate reserved 'default' profile (SPR-7778)
There is no longer a reserved default profile named 'default'. Rather,
users must explicitly specify a default profile or profiles via
ConfigurableEnvironment.setDefaultProfiles(String...)
- or -
spring.profile.default="pD1,pD2"
Per above, the setDefaul... | org.springframework.beans/src/main/resources/org/springframework/beans/factory/xml/spring-beans-3.1.xsd | @@ -84,13 +84,13 @@
TODO:SPR-7508: Document profile annotation:
* may be comma-delimited
* empty profile means beans will always be registered
- * profile="default" means that beans will be registered unless other profile(s) are active
- * profile="xyz,default" means that beans will be registered if 'xyz' is acti... | true |
Other | spring-projects | spring-framework | b3e36a335d98945f8bf04ebb80ebe31664283720.json | Eliminate reserved 'default' profile (SPR-7778)
There is no longer a reserved default profile named 'default'. Rather,
users must explicitly specify a default profile or profiles via
ConfigurableEnvironment.setDefaultProfiles(String...)
- or -
spring.profile.default="pD1,pD2"
Per above, the setDefaul... | org.springframework.beans/src/test/java/org/springframework/beans/factory/xml/ProfileXmlBeanDefinitionTests.java | @@ -86,21 +86,11 @@ public void testProfilePermutations() {
@Test
public void testDefaultProfile() {
- assertThat(beanFactoryFor(DEFAULT_ELIGIBLE_XML, NONE_ACTIVE), containsTargetBean());
- assertThat(beanFactoryFor(DEFAULT_ELIGIBLE_XML, "other"), not(containsTargetBean()));
-
- assertThat(beanFactoryFor(DEFAU... | true |
Other | spring-projects | spring-framework | b3e36a335d98945f8bf04ebb80ebe31664283720.json | Eliminate reserved 'default' profile (SPR-7778)
There is no longer a reserved default profile named 'default'. Rather,
users must explicitly specify a default profile or profiles via
ConfigurableEnvironment.setDefaultProfiles(String...)
- or -
spring.profile.default="pD1,pD2"
Per above, the setDefaul... | org.springframework.context/src/main/java/org/springframework/context/annotation/Profile.java | @@ -27,12 +27,13 @@
* TODO SPR-7508: document
*
* Components not @Profile-annotated will always be registered
- * @Profile("default") means that beans will be registered unless other profile(s) are active
- * @Profile({"xyz,default"}) means that beans will be registered if 'xyz' is active or if no profile is act... | true |
Other | spring-projects | spring-framework | b3e36a335d98945f8bf04ebb80ebe31664283720.json | Eliminate reserved 'default' profile (SPR-7778)
There is no longer a reserved default profile named 'default'. Rather,
users must explicitly specify a default profile or profiles via
ConfigurableEnvironment.setDefaultProfiles(String...)
- or -
spring.profile.default="pD1,pD2"
Per above, the setDefaul... | org.springframework.context/src/test/java/org/springframework/context/annotation/ClassPathScanningCandidateComponentProviderTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2009 the original author or authors.
+ * Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -29,7 +29,6 @@
import org.aspectj.lang.anno... | true |
Other | spring-projects | spring-framework | b3e36a335d98945f8bf04ebb80ebe31664283720.json | Eliminate reserved 'default' profile (SPR-7778)
There is no longer a reserved default profile named 'default'. Rather,
users must explicitly specify a default profile or profiles via
ConfigurableEnvironment.setDefaultProfiles(String...)
- or -
spring.profile.default="pD1,pD2"
Per above, the setDefaul... | org.springframework.core/src/main/java/org/springframework/core/env/AbstractEnvironment.java | @@ -40,6 +40,7 @@
import org.springframework.core.convert.support.ConversionServiceFactory;
import org.springframework.util.PropertyPlaceholderHelper;
import org.springframework.util.PropertyPlaceholderHelper.PlaceholderResolver;
+import org.springframework.util.StringUtils;
/**
@@ -51,32 +52,23 @@
public abst... | true |
Other | spring-projects | spring-framework | b3e36a335d98945f8bf04ebb80ebe31664283720.json | Eliminate reserved 'default' profile (SPR-7778)
There is no longer a reserved default profile named 'default'. Rather,
users must explicitly specify a default profile or profiles via
ConfigurableEnvironment.setDefaultProfiles(String...)
- or -
spring.profile.default="pD1,pD2"
Per above, the setDefaul... | org.springframework.core/src/main/java/org/springframework/core/env/ConfigurableEnvironment.java | @@ -30,10 +30,8 @@ public interface ConfigurableEnvironment extends Environment, PropertySourceAggr
void setActiveProfiles(String... profiles);
/**
- * Set the default profile name to be used instead of 'default'
- *
- * @param defaultProfile
+ * TODO SPR-7508: document
*/
- void setDefaultProfile(String d... | true |
Other | spring-projects | spring-framework | b3e36a335d98945f8bf04ebb80ebe31664283720.json | Eliminate reserved 'default' profile (SPR-7778)
There is no longer a reserved default profile named 'default'. Rather,
users must explicitly specify a default profile or profiles via
ConfigurableEnvironment.setDefaultProfiles(String...)
- or -
spring.profile.default="pD1,pD2"
Per above, the setDefaul... | org.springframework.core/src/main/java/org/springframework/core/env/Environment.java | @@ -38,7 +38,7 @@ public interface Environment {
/**
* TODO SPR-7508: document
*/
- String getDefaultProfile();
+ Set<String> getDefaultProfiles();
/**
* TODO SPR-7508: document | true |
Other | spring-projects | spring-framework | b3e36a335d98945f8bf04ebb80ebe31664283720.json | Eliminate reserved 'default' profile (SPR-7778)
There is no longer a reserved default profile named 'default'. Rather,
users must explicitly specify a default profile or profiles via
ConfigurableEnvironment.setDefaultProfiles(String...)
- or -
spring.profile.default="pD1,pD2"
Per above, the setDefaul... | org.springframework.core/src/test/java/org/springframework/core/env/DefaultEnvironmentTests.java | @@ -25,12 +25,12 @@
import static org.hamcrest.CoreMatchers.nullValue;
import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertThat;
+import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import static org.junit.matchers.JUnitMatchers.hasItem;
import static org.ju... | true |
Other | spring-projects | spring-framework | cfe1fdb5e596ccf977d8eaef60f2acb1fe700248.json | Add missing Hamcrest dependency | org.springframework.spring-parent/pom.xml | @@ -47,6 +47,12 @@
<version>4.7</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-core</artifactId>
+ <version>1.2</version>
+ <scope>test</scope>
+ </dependency>
<dependency>
<grou... | false |
Other | spring-projects | spring-framework | b73224427f296a1f016e0334bd189eb9e2bf3b2f.json | Add missing ROME dep | org.springframework.web/pom.xml | @@ -21,6 +21,11 @@
<version>3.2.1</version>
<optional>true</optional>
</dependency>
+ <dependency>
+ <groupId>rome</groupId>
+ <artifactId>rome</artifactId>
+ <version>0.9</version>
+ </dependency>
<dependency>
<groupId>javax.el</groupId>
<artifactId>el-api</artifactId> | false |
Other | spring-projects | spring-framework | cecee4d02bb44de6cdeb39270e586c7b9b0a7e92.json | Fix typo in validation chapter | spring-framework-reference/src/validation.xml | @@ -929,10 +929,10 @@ public interface ConverterFactory<S, R> {
}]]></programlisting>
- <para> Parameterize S to be type you are converting from and R to be base
- type defining the <emphasis>range</emphasis> of classes you can convert
- to. Then implement getConverter(Class<T>), where T i... | false |
Other | spring-projects | spring-framework | bda3d81bc9cda4ec8da79da3c45c6b2a5b6713bd.json | implement file resolution for isReadable() as well | org.springframework.core/src/main/java/org/springframework/core/io/AbstractFileResolvingResource.java | @@ -110,6 +110,24 @@ public boolean exists() {
}
}
+ @Override
+ public boolean isReadable() {
+ try {
+ URL url = getURL();
+ if (ResourceUtils.isFileURL(url)) {
+ // Proceed with file system resolution...
+ File file = getFile();
+ return (file.canRead() && !file.isDirectory());
+ }
... | false |
Other | spring-projects | spring-framework | a8133a9917744ed656189dd7f553a7b1acfa1129.json | ignore empty statements (SPR-7363) | org.springframework.jdbc/src/main/java/org/springframework/jdbc/datasource/init/ResourceDatabasePopulator.java | @@ -239,31 +239,32 @@ private boolean containsSqlScriptDelimiters(String script, char delim) {
}
/**
- * Split an SQL script into separate statements delimited with the provided delimiter character. Each individual
- * statement will be added to the provided <code>List</code>.
+ * Split an SQL script into sepa... | false |
Other | spring-projects | spring-framework | 0625990020f232abc8ad9c82da804fa36e11a564.json | Add missing equals sign to code snippet (SPR-7339) | spring-framework-reference/src/orm.xml | @@ -675,7 +675,7 @@ TR: REVISED, PLS REVIEW.-->This declarative transaction capability allows you
<property name="sessionFactory" ref="mySessionFactory2"/>
</bean>
- <bean id"myProductService" class="product.ProductServiceImpl">
+ <bean id="myProductService" class="product.ProductServic... | false |
Other | spring-projects | spring-framework | d97f899bee67eef894dcae15921b2ef3acfa0726.json | Fix typos (SPR-7339) | spring-framework-reference/src/aop.xml | @@ -468,8 +468,8 @@ private void anyOldTransfer() {}<lineannotation>// the pointcut signature</linea
<classname>IllegalArgumentException</classname> being thrown.</para>
<para>The set of pointcut designators supported by Spring AOP may be
- extended in future releases both to support mo... | true |
Other | spring-projects | spring-framework | d97f899bee67eef894dcae15921b2ef3acfa0726.json | Fix typos (SPR-7339) | spring-framework-reference/src/beans.xml | @@ -592,8 +592,8 @@ List userList service.getUsernameList();
always adequate, however. It is sometimes desirable to introduce an
alias for a bean that is defined elsewhere. This is commonly the case
in large systems where configuration is split amongst each subsystem,
- each subsystem ... | true |
Other | spring-projects | spring-framework | d97f899bee67eef894dcae15921b2ef3acfa0726.json | Fix typos (SPR-7339) | spring-framework-reference/src/dynamic-languages.xml | @@ -223,7 +223,7 @@ http://www.springframework.org/schema/lang http://www.springframework.org/schema
</sidebar>
<para>
The final step involves defining dynamic-language-backed bean definitions,
- one for each bean that you want to configure (this is no different to
+ one f... | true |
Other | spring-projects | spring-framework | d97f899bee67eef894dcae15921b2ef3acfa0726.json | Fix typos (SPR-7339) | spring-framework-reference/src/ejb.xml | @@ -279,7 +279,8 @@ public void setMyComponent(MyComponent myComponent) {
</para>
<para>
Consider an example Stateless Session bean which actually delegates
- the implementation to a plain java service object. We have the business interface:
+ the implementation to a plain java serv... | true |
Other | spring-projects | spring-framework | d97f899bee67eef894dcae15921b2ef3acfa0726.json | Fix typos (SPR-7339) | spring-framework-reference/src/jdbc.xml | @@ -829,7 +829,7 @@ public Actor findActor(String specialty, int age) {
</note>
<listitem>
- <para>Any a custom translation implemented by a subclass. Normally
+ <para>Any custom translation implemented by a subclass. Normally
the provided concrete
... | true |
Other | spring-projects | spring-framework | d97f899bee67eef894dcae15921b2ef3acfa0726.json | Fix typos (SPR-7339) | spring-framework-reference/src/jms.xml | @@ -403,14 +403,14 @@ public class JmsQueueSender {
to create a text message from the supplied <classname>Session</classname>
object. The <classname>JmsTemplate</classname> is constructed by passing a
reference to a <classname>ConnectionFactory</classname>. As an alternative,
- a zero argument constru... | true |
Other | spring-projects | spring-framework | d97f899bee67eef894dcae15921b2ef3acfa0726.json | Fix typos (SPR-7339) | spring-framework-reference/src/jmx.xml | @@ -519,7 +519,7 @@ public class AnnotationTestBean implements IJmxTestBean {
<literal>add(int, int)</literal>, when using the
<classname>MetadataMBeanInfoAssembler</classname>.</para>
- <para>The configuration below shouws how you configure the
+ <para>The configuration below shows how you co... | true |
Other | spring-projects | spring-framework | d97f899bee67eef894dcae15921b2ef3acfa0726.json | Fix typos (SPR-7339) | spring-framework-reference/src/mail.xml | @@ -210,7 +210,7 @@ sender.send(message);]]></programlisting>
<section id="mail-javamail-mime-attachments">
<title>Sending attachments and inline resources</title>
<para>Multipart email messages allow for both attachments and inline resources.
- Examples of inline resources would be be images or a styleshe... | true |
Other | spring-projects | spring-framework | d97f899bee67eef894dcae15921b2ef3acfa0726.json | Fix typos (SPR-7339) | spring-framework-reference/src/metadata.xml | @@ -38,7 +38,7 @@ public class PetStoreImpl implements PetStoreFacade, OrderService {</programlist
from program source code, some important enterprise settings - notably
transaction characteristics - arguably belong in program source.</para>
- <para>Spring uses Java 5 annotations thoughout the framework ... | true |
Other | spring-projects | spring-framework | d97f899bee67eef894dcae15921b2ef3acfa0726.json | Fix typos (SPR-7339) | spring-framework-reference/src/mvc.xml | @@ -820,7 +820,7 @@ public String findOwner(<emphasis role="bold">@PathVariable</emphasis> String ow
<!-- MLP: Bev Review -->
<para>The matching of method parameter names to URI Template variable
names can only be done if your code is compiled with debugging
- enabled. If you do have n... | true |
Other | spring-projects | spring-framework | d97f899bee67eef894dcae15921b2ef3acfa0726.json | Fix typos (SPR-7339) | spring-framework-reference/src/orm.xml | @@ -1367,7 +1367,7 @@ TR: REVISED, PLS REVIEW.-->The factory bean uses the JPA
configuration and is appropriate for environments where fine-grained
customization is required. The
<classname>LocalContainerEntityManagerFactoryBean</classname> creates
- a <interfacename>PersistenceUnitInf... | true |
Other | spring-projects | spring-framework | d97f899bee67eef894dcae15921b2ef3acfa0726.json | Fix typos (SPR-7339) | spring-framework-reference/src/oxm.xml | @@ -573,7 +573,7 @@ public class Application {
<para>
The <classname>JibxMarshaller</classname> class implements both the
<interfacename>Marshaller</interfacename> and <interfacename>Unmarshaller</interfacename> interface.
- To operate, it requires the name... | true |
Other | spring-projects | spring-framework | d97f899bee67eef894dcae15921b2ef3acfa0726.json | Fix typos (SPR-7339) | spring-framework-reference/src/remoting.xml | @@ -394,8 +394,8 @@ public class AccountServiceImpl implements AccountService {
<title>Exposing the service object</title>
<para>Setting up the HTTP invoker infrastructure for a service object
- much resembles the way you would do using Hessian or Burlap. Just as
- Hessian support provides the... | true |
Other | spring-projects | spring-framework | d97f899bee67eef894dcae15921b2ef3acfa0726.json | Fix typos (SPR-7339) | spring-framework-reference/src/scheduling.xml | @@ -726,7 +726,7 @@ public class ExampleJob extends QuartzJobBean {
<title>Wiring up jobs using triggers and the <classname>SchedulerFactoryBean</classname></title>
<para>
We've created job details and jobs. We've also reviewed the convenience bean
- that allows to you invoke a method on a specific obje... | true |
Other | spring-projects | spring-framework | d97f899bee67eef894dcae15921b2ef3acfa0726.json | Fix typos (SPR-7339) | spring-framework-reference/src/transaction.xml | @@ -354,10 +354,9 @@ TR:REVISED, PLS REVIEW-->
<property name="password" value="${jdbc.password}" />
</bean></programlisting>
- <para>The related <interfacename>The
- PlatformTransactionManager</interfacename> bean definition will then have
- a reference to the <interfacename>DataSource</inte... | true |
Other | spring-projects | spring-framework | d97f899bee67eef894dcae15921b2ef3acfa0726.json | Fix typos (SPR-7339) | spring-framework-reference/src/view.xml | @@ -29,7 +29,7 @@
<note>
<para>
Setting up your application to use JSTL is a common source of error,
- mainly cause by confusion over the different servlet spec., JSP and JSTL
+ mainly caused by confusion over the different servlet spec., JSP and JSTL
version numbers, what th... | true |
Other | spring-projects | spring-framework | d97f899bee67eef894dcae15921b2ef3acfa0726.json | Fix typos (SPR-7339) | spring-framework-reference/src/web-integration.xml | @@ -627,7 +627,7 @@
and components very simple, and <emphasis
role="bold">delegate</emphasis> as much logic as possible out to
HiveMind [or Spring, or whatever] services. Listener methods should
- ideally do little more than marshall together the correct information
+ ... | true |
Other | spring-projects | spring-framework | 5ce4cada5362f330de847d92a94fb3b001e6b3cd.json | Fix typos in Chapter 27 (SPR-7339)
Note that SPR-7433 has also been created to consider removing this
chapter entirely. | spring-framework-reference/src/metadata.xml | @@ -10,7 +10,7 @@
<para>Java 5 introduced source-level metadata called annotations to
program elements, usually, classes and/or methods</para>
- <para>For example we might add metadata at the class level using the
+ <para>For example we might add metadata at the class level using
Spring's @Transa... | false |
Other | spring-projects | spring-framework | b87b23087dfb291fd44d0fdaf6fabe9bfbc4b029.json | Replace 'recourse' with simpler terms (SPR-7339) | spring-framework-reference/src/mail.xml | @@ -303,9 +303,9 @@ sender.send(message);]]></programlisting>
create your email template(s), you will need to have the Velocity libraries
available on your classpath. You will also need to create one or more Velocity templates
for the email content that your application needs. Find below the Velocity
- ... | true |
Other | spring-projects | spring-framework | b87b23087dfb291fd44d0fdaf6fabe9bfbc4b029.json | Replace 'recourse' with simpler terms (SPR-7339) | spring-framework-reference/src/validation.xml | @@ -108,9 +108,9 @@ public class Person {
<classname>Customer</classname> objects, and so a distinct
<classname>AddressValidator</classname> has been implemented. If you want your
<classname>CustomerValidator</classname> to reuse the logic contained within the
- <classname>AddressValid... | true |
Other | spring-projects | spring-framework | bab902e85b6cb1c67885393abe6b2a7d5ac15f2d.json | Fix typo 'type form'->'type from' (SPR-7339) | spring-framework-reference/src/remoting.xml | @@ -1545,7 +1545,7 @@ String body = response.getBody();</programlisting>
// Return the list of MediaType objects supported by this converter.
List<MediaType> getSupportedMediaTypes();
- // Read an object of the given type form the given input message, and returns it.
+ // Read an object ... | false |
Other | spring-projects | spring-framework | d109879b6c68e38ecd08bd5c6573fe82d43dbbfc.json | Ignore OS X .DS_Store files | .gitignore | @@ -4,3 +4,4 @@ ivy-cache
spring-build
jmx.log
.springBeans
+.DS_Store | false |
Other | spring-projects | spring-framework | 8e5c033446c6435d631107f73d83eeb413998628.json | avoid double ConversionFailedException nesting | org.springframework.core/src/main/java/org/springframework/core/convert/support/ConversionUtils.java | @@ -35,6 +35,9 @@ public static Object invokeConverter(GenericConverter converter, Object source,
try {
return converter.convert(source, sourceType, targetType);
}
+ catch (ConversionFailedException ex) {
+ throw ex;
+ }
catch (Exception ex) {
throw new ConversionFailedException(sourceType, targetT... | true |
Other | spring-projects | spring-framework | 8e5c033446c6435d631107f73d83eeb413998628.json | avoid double ConversionFailedException nesting | org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/config/MvcNamespaceTests.java | @@ -16,24 +16,18 @@
package org.springframework.web.servlet.config;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertNull;
-import static org.junit.Assert.assertSame;
-import static org.ju... | true |
Other | spring-projects | spring-framework | 605ac0e230b314e170a195de077980252a18c6ef.json | Remove redundant @Aspect from CodeStyleAspect.aj
This has been present for quite some time, and compilation at the
command line was never a problem. However, after upgrading to
STS 2.3.3.M2, errors started appearing in the Problems tab about
'duplicate @Aspect annotations'. This message was a bit misleading
given th... | org.springframework.aspects/src/test/java/org/springframework/aop/aspectj/autoproxy/CodeStyleAspect.aj | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2007 the original author or authors.
+ * Copyright 2002-2010 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,12 +16,9 @@
package org.spring... | false |
Other | spring-projects | spring-framework | 022e74ea3dee9c8d443a9ed467ba51f32f9e2438.json | Add .springBeans to .gitignore | .gitignore | @@ -3,3 +3,4 @@ integration-repo
ivy-cache
spring-build
jmx.log
+.springBeans | false |
Other | spring-projects | spring-framework | fecd6edf750b59fa5d91518c9273472551172a83.json | Fix unnecessary casts in Servlet*PropertySource | org.springframework.web/src/main/java/org/springframework/web/context/support/ServletConfigPropertySource.java | @@ -16,8 +16,6 @@
package org.springframework.web.context.support;
-import java.util.Enumeration;
-
import javax.servlet.ServletConfig;
import org.springframework.core.env.EnumerablePropertySource;
@@ -38,10 +36,9 @@ public ServletConfigPropertySource(String name, ServletConfig servletConfig) {
}
@Overri... | true |
Other | spring-projects | spring-framework | fecd6edf750b59fa5d91518c9273472551172a83.json | Fix unnecessary casts in Servlet*PropertySource | org.springframework.web/src/main/java/org/springframework/web/context/support/ServletContextPropertySource.java | @@ -16,8 +16,6 @@
package org.springframework.web.context.support;
-import java.util.Enumeration;
-
import javax.servlet.ServletContext;
import org.springframework.core.env.EnumerablePropertySource;
@@ -38,10 +36,9 @@ public ServletContextPropertySource(String name, ServletContext servletContext)
}
@Over... | true |
Other | spring-projects | spring-framework | 1eb581134794ba7d4926f6d10d4dc8a70de247ec.json | Introduce CommandLinePropertySource and impls
Users may now work with command line arguments as a source of
properties for use with the PropertySource and Environment APIs.
An implementation based on the jopt library and a "simple"
implementation requiring no external libraries are are provided
out-of-the box.
See Ja... | org.springframework.core/.classpath | @@ -13,6 +13,7 @@
<classpathentry kind="var" path="IVY_CACHE/org.custommonkey.xmlunit/com.springsource.org.custommonkey.xmlunit/1.2.0/com.springsource.org.custommonkey.xmlunit-1.2.0.jar" sourcepath="/IVY_CACHE/org.custommonkey.xmlunit/com.springsource.org.custommonkey.xmlunit/1.2.0/com.springsource.org.custommonkey.x... | true |
Other | spring-projects | spring-framework | 1eb581134794ba7d4926f6d10d4dc8a70de247ec.json | Introduce CommandLinePropertySource and impls
Users may now work with command line arguments as a source of
properties for use with the PropertySource and Environment APIs.
An implementation based on the jopt library and a "simple"
implementation requiring no external libraries are are provided
out-of-the box.
See Ja... | org.springframework.core/ivy.xml | @@ -29,6 +29,7 @@
<dependency org="org.apache.log4j" name="com.springsource.org.apache.log4j" rev="1.2.15" conf="optional, log4j->compile"/>
<dependency org="org.aspectj" name="com.springsource.org.aspectj.weaver" rev="${aspectj.version}" conf="optional, aspectj->compile"/>
<dependency org="org.springframework... | true |
Other | spring-projects | spring-framework | 1eb581134794ba7d4926f6d10d4dc8a70de247ec.json | Introduce CommandLinePropertySource and impls
Users may now work with command line arguments as a source of
properties for use with the PropertySource and Environment APIs.
An implementation based on the jopt library and a "simple"
implementation requiring no external libraries are are provided
out-of-the box.
See Ja... | org.springframework.core/src/main/java/org/springframework/core/env/CommandLineArgs.java | @@ -0,0 +1,91 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ ... | true |
Other | spring-projects | spring-framework | 1eb581134794ba7d4926f6d10d4dc8a70de247ec.json | Introduce CommandLinePropertySource and impls
Users may now work with command line arguments as a source of
properties for use with the PropertySource and Environment APIs.
An implementation based on the jopt library and a "simple"
implementation requiring no external libraries are are provided
out-of-the box.
See Ja... | org.springframework.core/src/main/java/org/springframework/core/env/CommandLinePropertySource.java | @@ -0,0 +1,296 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+... | true |
Other | spring-projects | spring-framework | 1eb581134794ba7d4926f6d10d4dc8a70de247ec.json | Introduce CommandLinePropertySource and impls
Users may now work with command line arguments as a source of
properties for use with the PropertySource and Environment APIs.
An implementation based on the jopt library and a "simple"
implementation requiring no external libraries are are provided
out-of-the box.
See Ja... | org.springframework.core/src/main/java/org/springframework/core/env/JOptCommandLinePropertySource.java | @@ -0,0 +1,106 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+... | true |
Other | spring-projects | spring-framework | 1eb581134794ba7d4926f6d10d4dc8a70de247ec.json | Introduce CommandLinePropertySource and impls
Users may now work with command line arguments as a source of
properties for use with the PropertySource and Environment APIs.
An implementation based on the jopt library and a "simple"
implementation requiring no external libraries are are provided
out-of-the box.
See Ja... | org.springframework.core/src/main/java/org/springframework/core/env/SimpleCommandLineArgsParser.java | @@ -0,0 +1,86 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ ... | true |
Other | spring-projects | spring-framework | 1eb581134794ba7d4926f6d10d4dc8a70de247ec.json | Introduce CommandLinePropertySource and impls
Users may now work with command line arguments as a source of
properties for use with the PropertySource and Environment APIs.
An implementation based on the jopt library and a "simple"
implementation requiring no external libraries are are provided
out-of-the box.
See Ja... | org.springframework.core/src/main/java/org/springframework/core/env/SimpleCommandLinePropertySource.java | @@ -0,0 +1,113 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+... | true |
Other | spring-projects | spring-framework | 1eb581134794ba7d4926f6d10d4dc8a70de247ec.json | Introduce CommandLinePropertySource and impls
Users may now work with command line arguments as a source of
properties for use with the PropertySource and Environment APIs.
An implementation based on the jopt library and a "simple"
implementation requiring no external libraries are are provided
out-of-the box.
See Ja... | org.springframework.core/src/test/java/org/springframework/core/env/JOptCommandLinePropertySourceTests.java | @@ -0,0 +1,165 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+... | true |
Other | spring-projects | spring-framework | 1eb581134794ba7d4926f6d10d4dc8a70de247ec.json | Introduce CommandLinePropertySource and impls
Users may now work with command line arguments as a source of
properties for use with the PropertySource and Environment APIs.
An implementation based on the jopt library and a "simple"
implementation requiring no external libraries are are provided
out-of-the box.
See Ja... | org.springframework.core/src/test/java/org/springframework/core/env/SimpleCommandLineParserTests.java | @@ -0,0 +1,114 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+... | true |
Other | spring-projects | spring-framework | 1eb581134794ba7d4926f6d10d4dc8a70de247ec.json | Introduce CommandLinePropertySource and impls
Users may now work with command line arguments as a source of
properties for use with the PropertySource and Environment APIs.
An implementation based on the jopt library and a "simple"
implementation requiring no external libraries are are provided
out-of-the box.
See Ja... | org.springframework.core/src/test/java/org/springframework/core/env/SimpleCommandLinePropertySourceTests.java | @@ -0,0 +1,126 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+... | true |
Other | spring-projects | spring-framework | 1eb581134794ba7d4926f6d10d4dc8a70de247ec.json | Introduce CommandLinePropertySource and impls
Users may now work with command line arguments as a source of
properties for use with the PropertySource and Environment APIs.
An implementation based on the jopt library and a "simple"
implementation requiring no external libraries are are provided
out-of-the box.
See Ja... | org.springframework.core/template.mf | @@ -11,6 +11,7 @@ Import-Template:
org.apache.commons.logging.*;version="[1.1.1, 2.0.0)",
org.springframework.asm.*;version=${spring.osgi.range};resolution:=optional,
org.apache.log4j.*;version="[1.2.15, 2.0.0)";resolution:=optional,
+ joptsimple.*;version="[3.0.0, 4.0.0)";resolution:=optional,
org.aspectj.*;ve... | true |
Other | spring-projects | spring-framework | bd0f68d095ba881621b8499925334de38a6b1051.json | SPR-5749: Add defensive matching using target class loader
* Changes to ASpectJExpressionPointcut plus some tests in Spring AOP
* plus some tests in groovy support | org.springframework.aop/src/main/java/org/springframework/aop/aspectj/AspectJExpressionPointcut.java | @@ -30,6 +30,7 @@
import org.aspectj.weaver.BCException;
import org.aspectj.weaver.patterns.NamePattern;
import org.aspectj.weaver.reflect.ReflectionWorld;
+import org.aspectj.weaver.reflect.ReflectionWorld.ReflectionWorldException;
import org.aspectj.weaver.reflect.ShadowMatchImpl;
import org.aspectj.weaver.tools... | true |
Other | spring-projects | spring-framework | bd0f68d095ba881621b8499925334de38a6b1051.json | SPR-5749: Add defensive matching using target class loader
* Changes to ASpectJExpressionPointcut plus some tests in Spring AOP
* plus some tests in groovy support | org.springframework.aop/src/test/java/org/springframework/aop/aspectj/TrickyAspectJPointcutExpressionTests.java | @@ -0,0 +1,174 @@
+package org.springframework.aop.aspectj;
+
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.fail;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
+import java.lang.annotation.Retention;
... | true |
Other | spring-projects | spring-framework | bd0f68d095ba881621b8499925334de38a6b1051.json | SPR-5749: Add defensive matching using target class loader
* Changes to ASpectJExpressionPointcut plus some tests in Spring AOP
* plus some tests in groovy support | org.springframework.context/src/test/java/org/springframework/scripting/groovy/GroovyAspectIntegrationTests-groovy-dynamic-context.xml | @@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:lang="http://www.springframework.org/schema/lang"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:aop="http://www.springframework.org/schema/aop"
+ xm... | true |
Other | spring-projects | spring-framework | bd0f68d095ba881621b8499925334de38a6b1051.json | SPR-5749: Add defensive matching using target class loader
* Changes to ASpectJExpressionPointcut plus some tests in Spring AOP
* plus some tests in groovy support | org.springframework.context/src/test/java/org/springframework/scripting/groovy/GroovyAspectIntegrationTests-groovy-interface-context.xml | @@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:lang="http://www.springframework.org/schema/lang"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:aop="http://www.springframework.org/schema/aop"
+ xm... | true |
Other | spring-projects | spring-framework | bd0f68d095ba881621b8499925334de38a6b1051.json | SPR-5749: Add defensive matching using target class loader
* Changes to ASpectJExpressionPointcut plus some tests in Spring AOP
* plus some tests in groovy support | org.springframework.context/src/test/java/org/springframework/scripting/groovy/GroovyAspectIntegrationTests-groovy-proxy-target-class-context.xml | @@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:lang="http://www.springframework.org/schema/lang"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:aop="http://www.springframework.org/schema/aop"
+ xm... | true |
Other | spring-projects | spring-framework | bd0f68d095ba881621b8499925334de38a6b1051.json | SPR-5749: Add defensive matching using target class loader
* Changes to ASpectJExpressionPointcut plus some tests in Spring AOP
* plus some tests in groovy support | org.springframework.context/src/test/java/org/springframework/scripting/groovy/GroovyAspectIntegrationTests-java-context.xml | @@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:lang="http://www.springframework.org/schema/lang"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:aop="http://www.springframework.org/schema/aop"
+ xm... | true |
Other | spring-projects | spring-framework | bd0f68d095ba881621b8499925334de38a6b1051.json | SPR-5749: Add defensive matching using target class loader
* Changes to ASpectJExpressionPointcut plus some tests in Spring AOP
* plus some tests in groovy support | org.springframework.context/src/test/java/org/springframework/scripting/groovy/GroovyAspectIntegrationTests.java | @@ -0,0 +1,100 @@
+package org.springframework.scripting.groovy;
+
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.fail;
+
+import org.junit.After;
+import org.junit.Test;
+import org.springframework.context.support.GenericXmlApplicationContext;
+
+/**
+ * @author Dave Syer
+ */... | true |
Other | spring-projects | spring-framework | bd0f68d095ba881621b8499925334de38a6b1051.json | SPR-5749: Add defensive matching using target class loader
* Changes to ASpectJExpressionPointcut plus some tests in Spring AOP
* plus some tests in groovy support | org.springframework.context/src/test/java/org/springframework/scripting/groovy/GroovyAspectTests.java | @@ -0,0 +1,101 @@
+package org.springframework.scripting.groovy;
+
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.fail;
+
+import org.junit.Test;
+import org.springframework.aop.Advisor;
+import org.springframework.aop.aspectj.AspectJExpressionPointcut;
+import org.springframework... | true |
Other | spring-projects | spring-framework | bd0f68d095ba881621b8499925334de38a6b1051.json | SPR-5749: Add defensive matching using target class loader
* Changes to ASpectJExpressionPointcut plus some tests in Spring AOP
* plus some tests in groovy support | org.springframework.context/src/test/java/org/springframework/scripting/groovy/GroovyServiceImpl.grv | @@ -0,0 +1,11 @@
+package org.springframework.scripting.groovy;
+
+@Log
+public class GroovyServiceImpl implements TestService {
+
+ public String sayHello() {
+ throw new TestException("GroovyServiceImpl");
+ }
+
+
+}
\ No newline at end of file | true |
Other | spring-projects | spring-framework | bd0f68d095ba881621b8499925334de38a6b1051.json | SPR-5749: Add defensive matching using target class loader
* Changes to ASpectJExpressionPointcut plus some tests in Spring AOP
* plus some tests in groovy support | org.springframework.context/src/test/java/org/springframework/scripting/groovy/Log.java | @@ -0,0 +1,15 @@
+package org.springframework.scripting.groovy;
+
+import java.lang.annotation.Inherited;
+import java.lang.annotation.Target;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Documented;
... | true |
Other | spring-projects | spring-framework | bd0f68d095ba881621b8499925334de38a6b1051.json | SPR-5749: Add defensive matching using target class loader
* Changes to ASpectJExpressionPointcut plus some tests in Spring AOP
* plus some tests in groovy support | org.springframework.context/src/test/java/org/springframework/scripting/groovy/LogUserAdvice.java | @@ -0,0 +1,41 @@
+package org.springframework.scripting.groovy;
+
+import java.lang.reflect.Method;
+
+import org.springframework.aop.MethodBeforeAdvice;
+import org.springframework.aop.ThrowsAdvice;
+
+public class LogUserAdvice implements MethodBeforeAdvice, ThrowsAdvice {
+
+ private int countBefore = 0;
... | true |
Other | spring-projects | spring-framework | bd0f68d095ba881621b8499925334de38a6b1051.json | SPR-5749: Add defensive matching using target class loader
* Changes to ASpectJExpressionPointcut plus some tests in Spring AOP
* plus some tests in groovy support | org.springframework.context/src/test/java/org/springframework/scripting/groovy/TestException.java | @@ -0,0 +1,29 @@
+/*
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ ... | true |
Other | spring-projects | spring-framework | bd0f68d095ba881621b8499925334de38a6b1051.json | SPR-5749: Add defensive matching using target class loader
* Changes to ASpectJExpressionPointcut plus some tests in Spring AOP
* plus some tests in groovy support | org.springframework.context/src/test/java/org/springframework/scripting/groovy/TestService.java | @@ -0,0 +1,5 @@
+package org.springframework.scripting.groovy;
+
+public interface TestService {
+ public String sayHello();
+}
| true |
Other | spring-projects | spring-framework | bd0f68d095ba881621b8499925334de38a6b1051.json | SPR-5749: Add defensive matching using target class loader
* Changes to ASpectJExpressionPointcut plus some tests in Spring AOP
* plus some tests in groovy support | org.springframework.context/src/test/java/org/springframework/scripting/groovy/TestServiceImpl.java | @@ -0,0 +1,8 @@
+package org.springframework.scripting.groovy;
+
+@Log
+public class TestServiceImpl implements TestService{
+ public String sayHello() {
+ throw new TestException("TestServiceImpl");
+ }
+}
| true |
Other | spring-projects | spring-framework | fd4b9cf6a333a8eb1affe204370ebff6a9f5c114.json | SPR-6881: remove extra dependency | org.springframework.web.portlet/pom.xml | @@ -86,12 +86,6 @@
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-asm</artifactId>
- <version>${project.version}</version>
- <scope>compile</scope>
- </dependency>
<... | false |
Other | spring-projects | spring-framework | 1a351db6e0b62f5b4bc74f7dfc3acb9cba40f4c3.json | Update Central POMs to 3.0.2 | org.springframework.aop/pom.xml | @@ -4,12 +4,12 @@
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<packaging>jar</packaging>
- <version>3.0.1.BUILD-SNAPSHOT</version>
+ <version>3.0.2.BUILD-SNAPSHOT</version>
<parent>
<groupId>org.springframework</groupId>
<artifactId>spring-parent</artifactId>
... | true |
Other | spring-projects | spring-framework | 1a351db6e0b62f5b4bc74f7dfc3acb9cba40f4c3.json | Update Central POMs to 3.0.2 | org.springframework.asm/pom.xml | @@ -4,12 +4,12 @@
<groupId>org.springframework</groupId>
<artifactId>spring-asm</artifactId>
<packaging>jar</packaging>
- <version>3.0.1.BUILD-SNAPSHOT</version>
+ <version>3.0.2.BUILD-SNAPSHOT</version>
<parent>
<groupId>org.springframework</groupId>
<artifactId>spring-parent</artifactId... | true |
Other | spring-projects | spring-framework | 1a351db6e0b62f5b4bc74f7dfc3acb9cba40f4c3.json | Update Central POMs to 3.0.2 | org.springframework.aspects/pom.xml | @@ -4,12 +4,12 @@
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
<packaging>jar</packaging>
- <version>3.0.1.BUILD-SNAPSHOT</version>
+ <version>3.0.2.BUILD-SNAPSHOT</version>
<parent>
<groupId>org.springframework</groupId>
<artifactId>spring-parent</artifa... | true |
Other | spring-projects | spring-framework | 1a351db6e0b62f5b4bc74f7dfc3acb9cba40f4c3.json | Update Central POMs to 3.0.2 | org.springframework.beans/pom.xml | @@ -4,12 +4,12 @@
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<packaging>jar</packaging>
- <version>3.0.1.BUILD-SNAPSHOT</version>
+ <version>3.0.2.BUILD-SNAPSHOT</version>
<parent>
<groupId>org.springframework</groupId>
<artifactId>spring-parent</artifactId>
... | true |
Other | spring-projects | spring-framework | 1a351db6e0b62f5b4bc74f7dfc3acb9cba40f4c3.json | Update Central POMs to 3.0.2 | org.springframework.context.support/pom.xml | @@ -4,12 +4,12 @@
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<packaging>jar</packaging>
- <version>3.0.1.BUILD-SNAPSHOT</version>
+ <version>3.0.2.BUILD-SNAPSHOT</version>
<parent>
<groupId>org.springframework</groupId>
<artifactId>spring-parent</artif... | true |
Other | spring-projects | spring-framework | 1a351db6e0b62f5b4bc74f7dfc3acb9cba40f4c3.json | Update Central POMs to 3.0.2 | org.springframework.context/pom.xml | @@ -6,12 +6,12 @@
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<packaging>jar</packaging>
- <version>3.0.1.BUILD-SNAPSHOT</version>
+ <version>3.0.2.BUILD-SNAPSHOT</version>
<parent>
<groupId>org.springframework</groupId>
<artifactId>spring-parent</artifactId>
<relativ... | true |
Other | spring-projects | spring-framework | 1a351db6e0b62f5b4bc74f7dfc3acb9cba40f4c3.json | Update Central POMs to 3.0.2 | org.springframework.core/pom.xml | @@ -6,12 +6,12 @@
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<packaging>jar</packaging>
- <version>3.0.1.BUILD-SNAPSHOT</version>
+ <version>3.0.2.BUILD-SNAPSHOT</version>
<parent>
<groupId>org.springframework</groupId>
<artifactId>spring-parent</artifactId>
<relativePa... | true |
Other | spring-projects | spring-framework | 1a351db6e0b62f5b4bc74f7dfc3acb9cba40f4c3.json | Update Central POMs to 3.0.2 | org.springframework.expression/pom.xml | @@ -4,12 +4,12 @@
<groupId>org.springframework</groupId>
<artifactId>spring-expression</artifactId>
<packaging>jar</packaging>
- <version>3.0.1.BUILD-SNAPSHOT</version>
+ <version>3.0.2.BUILD-SNAPSHOT</version>
<parent>
<groupId>org.springframework</groupId>
<artifactId>spring-parent</artifactId... | true |
Other | spring-projects | spring-framework | 1a351db6e0b62f5b4bc74f7dfc3acb9cba40f4c3.json | Update Central POMs to 3.0.2 | org.springframework.instrument.tomcat/pom.xml | @@ -4,12 +4,12 @@
<groupId>org.springframework</groupId>
<artifactId>spring-instrument-tomcat</artifactId>
<packaging>jar</packaging>
- <version>3.0.1.BUILD-SNAPSHOT</version>
+ <version>3.0.2.BUILD-SNAPSHOT</version>
<parent>
<groupId>org.springframework</groupId>
<artifactId>spring-parent</art... | true |
Other | spring-projects | spring-framework | 1a351db6e0b62f5b4bc74f7dfc3acb9cba40f4c3.json | Update Central POMs to 3.0.2 | org.springframework.instrument/pom.xml | @@ -4,12 +4,12 @@
<groupId>org.springframework</groupId>
<artifactId>spring-instrument</artifactId>
<packaging>jar</packaging>
- <version>3.0.1.BUILD-SNAPSHOT</version>
+ <version>3.0.2.BUILD-SNAPSHOT</version>
<parent>
<groupId>org.springframework</groupId>
<artifactId>spring-parent</artifactId... | true |
Other | spring-projects | spring-framework | 1a351db6e0b62f5b4bc74f7dfc3acb9cba40f4c3.json | Update Central POMs to 3.0.2 | org.springframework.integration-tests/pom.xml | @@ -4,12 +4,12 @@
<groupId>org.springframework</groupId>
<artifactId>spring-integration-tests</artifactId>
<packaging>jar</packaging>
- <version>3.0.1.BUILD-SNAPSHOT</version>
+ <version>3.0.2.BUILD-SNAPSHOT</version>
<parent>
<groupId>org.springframework</groupId>
<artifactId>spring-parent</artifact... | true |
Other | spring-projects | spring-framework | 1a351db6e0b62f5b4bc74f7dfc3acb9cba40f4c3.json | Update Central POMs to 3.0.2 | org.springframework.jdbc/pom.xml | @@ -4,12 +4,12 @@
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<packaging>jar</packaging>
- <version>3.0.1.BUILD-SNAPSHOT</version>
+ <version>3.0.2.BUILD-SNAPSHOT</version>
<parent>
<groupId>org.springframework</groupId>
<artifactId>spring-parent</artifactId>
... | true |
Other | spring-projects | spring-framework | 1a351db6e0b62f5b4bc74f7dfc3acb9cba40f4c3.json | Update Central POMs to 3.0.2 | org.springframework.jms/pom.xml | @@ -4,12 +4,12 @@
<groupId>org.springframework</groupId>
<artifactId>spring-jms</artifactId>
<packaging>jar</packaging>
- <version>3.0.1.BUILD-SNAPSHOT</version>
+ <version>3.0.2.BUILD-SNAPSHOT</version>
<parent>
<groupId>org.springframework</groupId>
<artifactId>spring-parent</artifactId>
... | true |
Other | spring-projects | spring-framework | 1a351db6e0b62f5b4bc74f7dfc3acb9cba40f4c3.json | Update Central POMs to 3.0.2 | org.springframework.orm/pom.xml | @@ -6,12 +6,12 @@
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<packaging>jar</packaging>
- <version>3.0.1.BUILD-SNAPSHOT</version>
+ <version>3.0.2.BUILD-SNAPSHOT</version>
<parent>
<groupId>org.springframework</groupId>
<artifactId>spring-parent</artifactId>
<relativePat... | true |
Other | spring-projects | spring-framework | 1a351db6e0b62f5b4bc74f7dfc3acb9cba40f4c3.json | Update Central POMs to 3.0.2 | org.springframework.oxm/pom.xml | @@ -6,12 +6,12 @@
<groupId>org.springframework</groupId>
<artifactId>spring-oxm</artifactId>
<packaging>jar</packaging>
- <version>3.0.1.BUILD-SNAPSHOT</version>
+ <version>3.0.2.BUILD-SNAPSHOT</version>
<parent>
<groupId>org.springframework</groupId>
<artifactId>spring-parent</artifactId>
<relativePat... | true |
Other | spring-projects | spring-framework | 1a351db6e0b62f5b4bc74f7dfc3acb9cba40f4c3.json | Update Central POMs to 3.0.2 | org.springframework.spring-library/pom.xml | @@ -14,7 +14,7 @@
<groupId>org.springframework</groupId>
<artifactId>spring-library</artifactId>
<packaging>libd</packaging>
- <version>3.0.1.BUILD-SNAPSHOT</version>
+ <version>3.0.2.BUILD-SNAPSHOT</version>
<name>Spring Framework</name>
<description>Spring is a layered Java/J2EE application pla... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.