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
ab2526a5868deca9b483f4f90fe443c2370c6655.json
Update support for using "." as path separator Issue: SPR-11660
spring-messaging/src/main/java/org/springframework/messaging/simp/config/MessageBrokerRegistry.java
@@ -25,6 +25,7 @@ import org.springframework.messaging.simp.stomp.StompBrokerRelayMessageHandler; import org.springframework.util.AntPathMatcher; import org.springframework.util.Assert; +import org.springframework.util.PathMatcher; /** * A registry for configuring message broker options. @@ -47,9 +48,10 @@ publ...
true
Other
spring-projects
spring-framework
ab2526a5868deca9b483f4f90fe443c2370c6655.json
Update support for using "." as path separator Issue: SPR-11660
spring-messaging/src/main/java/org/springframework/messaging/simp/config/SimpleBrokerRegistration.java
@@ -19,28 +19,25 @@ import org.springframework.messaging.MessageChannel; import org.springframework.messaging.SubscribableChannel; import org.springframework.messaging.simp.broker.SimpleBrokerMessageHandler; -import org.springframework.util.PathMatcher; /** * Registration class for configuring a {@link SimpleBr...
true
Other
spring-projects
spring-framework
ab2526a5868deca9b483f4f90fe443c2370c6655.json
Update support for using "." as path separator Issue: SPR-11660
spring-messaging/src/test/java/org/springframework/messaging/handler/DestinationPatternsMessageConditionTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * Copyright 2002-2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,42 +18,34 @@ import org.junit.Test; ...
true
Other
spring-projects
spring-framework
ab2526a5868deca9b483f4f90fe443c2370c6655.json
Update support for using "." as path separator Issue: SPR-11660
spring-messaging/src/test/java/org/springframework/messaging/simp/annotation/support/SimpAnnotationMethodMessageHandlerTests.java
@@ -16,6 +16,8 @@ package org.springframework.messaging.simp.annotation.support; +import java.util.Arrays; +import java.util.HashMap; import java.util.LinkedHashMap; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; @@ -38,6 +40,7 @@ import org.springframework.messaging.simp.annotation.Subsc...
true
Other
spring-projects
spring-framework
ab2526a5868deca9b483f4f90fe443c2370c6655.json
Update support for using "." as path separator Issue: SPR-11660
spring-messaging/src/test/java/org/springframework/messaging/simp/config/MessageBrokerConfigurationTests.java
@@ -79,7 +79,7 @@ public class MessageBrokerConfigurationTests { private AnnotationConfigApplicationContext customChannelContext; - private AnnotationConfigApplicationContext customMatchingContext; + private AnnotationConfigApplicationContext customPathMatcherContext; @Before @@ -101,9 +101,9 @@ public void...
true
Other
spring-projects
spring-framework
ab2526a5868deca9b483f4f90fe443c2370c6655.json
Update support for using "." as path separator Issue: SPR-11660
spring-websocket/src/main/java/org/springframework/web/socket/config/MessageBrokerBeanDefinitionParser.java
@@ -330,11 +330,11 @@ private RootBeanDefinition registerMessageBroker(Element messageBrokerElement, R if (simpleBrokerElem != null) { String prefix = simpleBrokerElem.getAttribute("prefix"); cavs.addIndexedArgumentValue(3, Arrays.asList(StringUtils.tokenizeToStringArray(prefix, ","))); - String defaultSep...
true
Other
spring-projects
spring-framework
ab2526a5868deca9b483f4f90fe443c2370c6655.json
Update support for using "." as path separator Issue: SPR-11660
spring-websocket/src/main/resources/org/springframework/web/socket/config/spring-websocket-4.1.xsd
@@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8" ?> <!-- - ~ Copyright 2002-2013 the original author or authors. + ~ Copyright 2002-2014 the original author or authors. ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the Licens...
true
Other
spring-projects
spring-framework
ab2526a5868deca9b483f4f90fe443c2370c6655.json
Update support for using "." as path separator Issue: SPR-11660
spring-websocket/src/test/resources/org/springframework/web/socket/config/websocket-config-broker-converters-defaults-off.xml
@@ -2,7 +2,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:websocket="http://www.springframework.org/schema/websocket" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd - http://www.springframework.org/s...
true
Other
spring-projects
spring-framework
ab2526a5868deca9b483f4f90fe443c2370c6655.json
Update support for using "." as path separator Issue: SPR-11660
spring-websocket/src/test/resources/org/springframework/web/socket/config/websocket-config-broker-converters.xml
@@ -2,7 +2,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:websocket="http://www.springframework.org/schema/websocket" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd - http://www.springframework.org/s...
true
Other
spring-projects
spring-framework
ab2526a5868deca9b483f4f90fe443c2370c6655.json
Update support for using "." as path separator Issue: SPR-11660
spring-websocket/src/test/resources/org/springframework/web/socket/config/websocket-config-broker-customchannels-default-executor.xml
@@ -3,7 +3,7 @@ xmlns:websocket="http://www.springframework.org/schema/websocket" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd - http://www.springframework.org/schema/websocket http://www.springframework.org/schem...
true
Other
spring-projects
spring-framework
ab2526a5868deca9b483f4f90fe443c2370c6655.json
Update support for using "." as path separator Issue: SPR-11660
spring-websocket/src/test/resources/org/springframework/web/socket/config/websocket-config-broker-customchannels.xml
@@ -2,7 +2,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:websocket="http://www.springframework.org/schema/websocket" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd - http://www.springframework.org/s...
true
Other
spring-projects
spring-framework
ab2526a5868deca9b483f4f90fe443c2370c6655.json
Update support for using "." as path separator Issue: SPR-11660
spring-websocket/src/test/resources/org/springframework/web/socket/config/websocket-config-broker-relay.xml
@@ -2,7 +2,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:websocket="http://www.springframework.org/schema/websocket" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd - http://www.springframework.org/s...
true
Other
spring-projects
spring-framework
ab2526a5868deca9b483f4f90fe443c2370c6655.json
Update support for using "." as path separator Issue: SPR-11660
spring-websocket/src/test/resources/org/springframework/web/socket/config/websocket-config-broker-simple.xml
@@ -2,9 +2,11 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:websocket="http://www.springframework.org/schema/websocket" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd - http://www.springframework.org/...
true
Other
spring-projects
spring-framework
ab2526a5868deca9b483f4f90fe443c2370c6655.json
Update support for using "." as path separator Issue: SPR-11660
spring-websocket/src/test/resources/org/springframework/web/socket/config/websocket-config-handlers-attributes.xml
@@ -3,7 +3,7 @@ xmlns:websocket="http://www.springframework.org/schema/websocket" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd - http://www.springframework.org/schema/websocket http://www.springframework.org/schem...
true
Other
spring-projects
spring-framework
ab2526a5868deca9b483f4f90fe443c2370c6655.json
Update support for using "." as path separator Issue: SPR-11660
spring-websocket/src/test/resources/org/springframework/web/socket/config/websocket-config-handlers-sockjs-attributes.xml
@@ -3,7 +3,7 @@ xmlns:websocket="http://www.springframework.org/schema/websocket" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd - http://www.springframework.org/schema/websocket http://www.springframework.org/schem...
true
Other
spring-projects
spring-framework
ab2526a5868deca9b483f4f90fe443c2370c6655.json
Update support for using "." as path separator Issue: SPR-11660
spring-websocket/src/test/resources/org/springframework/web/socket/config/websocket-config-handlers-sockjs.xml
@@ -3,7 +3,7 @@ xmlns:websocket="http://www.springframework.org/schema/websocket" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd - http://www.springframework.org/schema/websocket http://www.springframework.org/schem...
true
Other
spring-projects
spring-framework
ab2526a5868deca9b483f4f90fe443c2370c6655.json
Update support for using "." as path separator Issue: SPR-11660
spring-websocket/src/test/resources/org/springframework/web/socket/config/websocket-config-handlers.xml
@@ -3,7 +3,7 @@ xmlns:websocket="http://www.springframework.org/schema/websocket" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd - http://www.springframework.org/schema/websocket http://www.springframework.org/schem...
true
Other
spring-projects
spring-framework
ab2526a5868deca9b483f4f90fe443c2370c6655.json
Update support for using "." as path separator Issue: SPR-11660
src/asciidoc/index.adoc
@@ -37864,8 +37864,8 @@ options. The endpoint is available for clients to connect to at URL path `/app/p @Override public void configureMessageBroker(MessageBrokerRegistry config) { - config.setApplicationDestinationPrefixes("/app") - .enableSimpleBroker("/queue", "/topic"); + ...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-test/src/test/java/org/springframework/test/web/servlet/samples/context/JavaConfigTests.java
@@ -126,7 +126,7 @@ public void configureDefaultServletHandling(DefaultServletHandlerConfigurer conf } @Override - public void configureViewResolution(ViewResolutionRegistry registry) { + public void configureViewResolvers(ViewResolverRegistry registry) { registry.tiles(); }
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-test/src/test/java/org/springframework/test/web/servlet/samples/spr/EncodedUriTests.java
@@ -40,7 +40,7 @@ import org.springframework.web.context.WebApplicationContext; import org.springframework.web.servlet.config.annotation.EnableWebMvc; -import org.springframework.web.servlet.config.annotation.ViewResolutionRegistry; +import org.springframework.web.servlet.config.annotation.ViewResolverRegistry; im...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/BeanNameRegistration.java
@@ -1,34 +0,0 @@ -/* - * Copyright 2002-2014 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - ...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/ContentNegotiatingRegistration.java
@@ -1,71 +0,0 @@ -/* - * Copyright 2002-2014 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - ...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfiguration.java
@@ -76,8 +76,8 @@ protected void addViewControllers(ViewControllerRegistry registry) { } @Override - protected void configureViewResolution(ViewResolutionRegistry registry) { - this.configurers.configureViewResolution(registry); + protected void configureViewResolvers(ViewResolverRegistry registry) { + this.con...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/EnableWebMvc.java
@@ -21,8 +21,8 @@ import org.springframework.context.annotation.Import; /** - * Add this annotation to an {@code @Configuration} class to have the Spring MVC - * configuration defined in {@link WebMvcConfigurationSupport} imported: + * Adding this annotation to an {@code @Configuration} class imports the Spring MVC...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/FreeMarkerRegistration.java
@@ -1,69 +0,0 @@ -/* - * Copyright 2002-2014 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - ...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/JspRegistration.java
@@ -1,40 +0,0 @@ -/* - * Copyright 2002-2014 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - ...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/TilesRegistration.java
@@ -1,58 +0,0 @@ -/* - * Copyright 2002-2014 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - ...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/UrlBasedViewResolverRegistration.java
@@ -0,0 +1,118 @@ +/* + * Copyright 2002-2014 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/VelocityRegistration.java
@@ -1,69 +0,0 @@ -/* - * Copyright 2002-2014 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - ...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/ViewResolutionRegistration.java
@@ -1,48 +0,0 @@ -/* - * Copyright 2002-2014 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - ...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/ViewResolutionRegistry.java
@@ -1,172 +0,0 @@ -/* - * Copyright 2002-2014 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 -...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/ViewResolverRegistry.java
@@ -0,0 +1,290 @@ +/* + * Copyright 2002-2014 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupport.java
@@ -81,7 +81,7 @@ import org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver; import org.springframework.web.servlet.resource.ResourceUrlProvider; import org.springframework.web.servlet.resource.ResourceUrlProviderExposingInterceptor; -import org.springframework.web.servlet.view.ContentNegoti...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurer.java
@@ -139,9 +139,11 @@ public interface WebMvcConfigurer { void addViewControllers(ViewControllerRegistry registry); /** - * Configure view resolution to translate view names to view implementations. + * Configure view resolvers to translate String-based view names returned from + * controllers into concrete {@l...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurerAdapter.java
@@ -138,7 +138,7 @@ public void addViewControllers(ViewControllerRegistry registry) { * <p>This implementation is empty. */ @Override - public void configureViewResolution(ViewResolutionRegistry registry) { + public void configureViewResolvers(ViewResolverRegistry registry) { } /**
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurerComposite.java
@@ -114,9 +114,9 @@ public void addViewControllers(ViewControllerRegistry registry) { } @Override - public void configureViewResolution(ViewResolutionRegistry registry) { + public void configureViewResolvers(ViewResolverRegistry registry) { for (WebMvcConfigurer delegate : this.delegates) { - delegate.config...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcFreeMarkerConfiguration.java
@@ -56,7 +56,7 @@ public void setWebMvcConfigurers(List<FreeMarkerWebMvcConfigurer> webMvcConfigur @Bean @Lazy - public FreeMarkerConfigurer freeMarkerConfigurer() { + public FreeMarkerConfigurer mvcFreeMarkerConfigurer() { FreeMarkerConfigurer configurer = new FreeMarkerConfigurer(); configurer.setTemplate...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcTilesConfiguration.java
@@ -66,7 +66,7 @@ public void setResourceLoader(ResourceLoader resourceLoader) { @Bean - public TilesConfigurer tilesConfigurer() { + public TilesConfigurer mvcTilesConfigurer() { TilesConfigurer configurer = new TilesConfigurer(); if (!this.webMvcConfigurers.isEmpty()) { for (TilesWebMvcConfigurer webM...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcVelocityConfiguration.java
@@ -56,7 +56,7 @@ public void setWebMvcConfigurers(List<VelocityWebMvcConfigurer> webMvcConfigurer @Bean @Lazy - public VelocityConfigurer velocityConfigurer() { + public VelocityConfigurer mvcVelocityConfigurer() { VelocityConfigurer configurer = new VelocityConfigurer(); configurer.setResourceLoaderPath("...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/main/java/org/springframework/web/servlet/view/ContentNegotiatingViewResolver.java
@@ -228,6 +228,10 @@ public void setDefaultViews(List<View> defaultViews) { this.defaultViews = defaultViews; } + public List<View> getDefaultViews() { + return Collections.unmodifiableList(this.defaultViews); + } + /** * Sets the view resolvers to be wrapped by this view resolver. * <p>If this property...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/main/java/org/springframework/web/servlet/view/ViewResolverComposite.java
@@ -14,87 +14,101 @@ * limitations under the License. */ -package org.springframework.web.servlet; +package org.springframework.web.servlet.view; import org.springframework.beans.BeansException; +import org.springframework.beans.factory.InitializingBean; import org.springframework.context.ApplicationContext; ...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/ViewResolutionIntegrationTests.java
@@ -147,32 +147,32 @@ public SampleController sampleController() { @Configuration static class MinimalFreeMarkerWebConfig extends AbstractWebConfig { @Override - public void configureViewResolution(ViewResolutionRegistry registry) { - registry.freemarker(); + public void configureViewResolvers(ViewResolverRe...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/ViewResolutionRegistryTests.java
@@ -1,172 +0,0 @@ -/* - * Copyright 2002-2014 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 -...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/ViewResolverRegistryTests.java
@@ -0,0 +1,211 @@ +/* + * Copyright 2002-2014 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupportExtensionTests.java
@@ -65,39 +65,46 @@ import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter; import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping; import org.springframework.web.servlet.resource.ResourceUrlProviderExposingInterceptor; +import org.springframework...
true
Other
spring-projects
spring-framework
f54cee47b06c041c5c976ce23fc2079d70fad404.json
Update ViewResolver registration classes Following the separation of FreeMarker/Velocity/TilesConfigurer-related configuration via separate interface, simplify and streamline the view registration helper classes which no longer have much difference (most are UrlBasedViewResolver's). Updates to Javadoc and tests. Iss...
spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurationSupportTests.java
@@ -49,7 +49,7 @@ import org.springframework.web.servlet.HandlerExceptionResolver; import org.springframework.web.servlet.HandlerExecutionChain; import org.springframework.web.servlet.ViewResolver; -import org.springframework.web.servlet.ViewResolverComposite; +import org.springframework.web.servlet.view.ViewResolve...
true
Other
spring-projects
spring-framework
670c216d3838807fef46cd28cc82165f9abaeb45.json
Change converter ordering in message broker config Issue: SPR-11961
spring-messaging/src/main/java/org/springframework/messaging/converter/AbstractMessageConverter.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -118,10 +118,8 @@ public ContentTypeResolver...
true
Other
spring-projects
spring-framework
670c216d3838807fef46cd28cc82165f9abaeb45.json
Change converter ordering in message broker config Issue: SPR-11961
spring-messaging/src/main/java/org/springframework/messaging/simp/config/AbstractMessageBrokerConfiguration.java
@@ -250,15 +250,15 @@ public CompositeMessageConverter brokerMessageConverter() { List<MessageConverter> converters = new ArrayList<MessageConverter>(); boolean registerDefaults = configureMessageConverters(converters); if (registerDefaults) { + converters.add(new StringMessageConverter()); + converters.ad...
true
Other
spring-projects
spring-framework
670c216d3838807fef46cd28cc82165f9abaeb45.json
Change converter ordering in message broker config Issue: SPR-11961
spring-messaging/src/test/java/org/springframework/messaging/simp/config/MessageBrokerConfigurationTests.java
@@ -154,7 +154,7 @@ public void clientOutboundChannelUsedByAnnotatedMethod() { assertEquals(SimpMessageType.MESSAGE, headers.getMessageType()); assertEquals("/foo", headers.getDestination()); - assertEquals("\"bar\"", new String((byte[]) message.getPayload())); + assertEquals("bar", new String((byte[]) messag...
true
Other
spring-projects
spring-framework
670c216d3838807fef46cd28cc82165f9abaeb45.json
Change converter ordering in message broker config Issue: SPR-11961
spring-websocket/src/main/java/org/springframework/web/socket/config/MessageBrokerBeanDefinitionParser.java
@@ -398,15 +398,15 @@ private RuntimeBeanReference registerBrokerMessageConverter(Element element, if (convertersElement == null || Boolean.valueOf(convertersElement.getAttribute("register-defaults"))) { convertersDef.setSource(source); + convertersDef.add(new RootBeanDefinition(StringMessageConverter.class)...
true
Other
spring-projects
spring-framework
670c216d3838807fef46cd28cc82165f9abaeb45.json
Change converter ordering in message broker config Issue: SPR-11961
spring-websocket/src/test/java/org/springframework/web/socket/config/MessageBrokerBeanDefinitionParserTests.java
@@ -279,11 +279,11 @@ public void annotationMethodMessageHandler() { List<MessageConverter> converters = compositeMessageConverter.getConverters(); assertThat(converters.size(), Matchers.is(3)); - assertThat(converters.get(0), Matchers.instanceOf(MappingJackson2MessageConverter.class)); - assertThat(converter...
true
Other
spring-projects
spring-framework
670c216d3838807fef46cd28cc82165f9abaeb45.json
Change converter ordering in message broker config Issue: SPR-11961
spring-websocket/src/test/java/org/springframework/web/socket/messaging/StompWebSocketIntegrationTests.java
@@ -176,7 +176,7 @@ public void handleExceptionAndSendToUser() throws Exception { String payload = clientHandler.actual.get(0).getPayload(); assertTrue(payload.startsWith("MESSAGE\n")); assertTrue(payload.contains("destination:/user/queue/error\n")); - assertTrue(payload.endsWith("\"Got error: Bad input\"...
true
Other
spring-projects
spring-framework
2ebc92154571a496520b53a84442aac9388d8392.json
Add Lifecycle to SockJsClient and Transport types Issue: SPR-10797
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/JettyXhrTransport.java
@@ -23,6 +23,7 @@ import org.eclipse.jetty.client.util.StringContentProvider; import org.eclipse.jetty.http.HttpFields; import org.eclipse.jetty.http.HttpMethod; +import org.springframework.context.Lifecycle; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.sprin...
true
Other
spring-projects
spring-framework
2ebc92154571a496520b53a84442aac9388d8392.json
Add Lifecycle to SockJsClient and Transport types Issue: SPR-10797
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/SockJsClient.java
@@ -18,6 +18,7 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; +import org.springframework.context.Lifecycle; import org.springframework.http.HttpHeaders; import org.springframework.scheduling.TaskScheduler; import org.springframework.util.Assert; @@ -50,7 +51,7 @@ * @se...
true
Other
spring-projects
spring-framework
2ebc92154571a496520b53a84442aac9388d8392.json
Add Lifecycle to SockJsClient and Transport types Issue: SPR-10797
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/client/WebSocketTransport.java
@@ -18,6 +18,7 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; +import org.springframework.context.Lifecycle; import org.springframework.util.Assert; import org.springframework.util.concurrent.ListenableFuture; import org.springframework.util.concurrent.ListenableFutureCal...
true
Other
spring-projects
spring-framework
2ebc92154571a496520b53a84442aac9388d8392.json
Add Lifecycle to SockJsClient and Transport types Issue: SPR-10797
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/AbstractSockJsIntegrationTests.java
@@ -82,6 +82,9 @@ public abstract class AbstractSockJsIntegrationTests { protected Log logger = LogFactory.getLog(getClass()); + + private SockJsClient sockJsClient; + private WebSocketTestServer server; private AnnotationConfigWebApplicationContext wac; @@ -106,6 +109,12 @@ public void setup() throws Excep...
true
Other
spring-projects
spring-framework
2ebc92154571a496520b53a84442aac9388d8392.json
Add Lifecycle to SockJsClient and Transport types Issue: SPR-10797
spring-websocket/src/test/java/org/springframework/web/socket/sockjs/client/JettySockJsIntegrationTests.java
@@ -34,35 +34,10 @@ */ public class JettySockJsIntegrationTests extends AbstractSockJsIntegrationTests { - private WebSocketClient webSocketClient; - private HttpClient httpClient; - - - @Before - public void setup() throws Exception { - super.setup(); - this.webSocketClient = new WebSocketClient(); - this.we...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/CompilablePropertyAccessor.java
@@ -0,0 +1,53 @@ +/* + * Copyright 2014 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/CompiledExpression.java
@@ -0,0 +1,38 @@ +/* + * Copyright 2014 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unle...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/SpelCompilerMode.java
@@ -0,0 +1,45 @@ +/* + * Copyright 2014 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unle...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/SpelMessage.java
@@ -249,7 +249,10 @@ public enum SpelMessage { "Problem parsing left operand"), MISSING_SELECTION_EXPRESSION(Kind.ERROR, 1071, - "A required selection expression has not been specified"); + "A required selection expression has not been specified"), + + EXCEPTION_RUNNING_COMPILED_EXPRESSION(Kind.ERROR,1072,...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/SpelParserConfiguration.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,11 +16,15 @@ package org.springframew...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/BooleanLiteral.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,6 +15,8 @@ */ package org.springframe...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/CompoundExpression.java
@@ -16,10 +16,12 @@ package org.springframework.expression.spel.ast; +import org.springframework.asm.MethodVisitor; import org.springframework.expression.EvaluationException; import org.springframework.expression.TypedValue; import org.springframework.expression.spel.ExpressionState; import org.springframework...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/ConstructorReference.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,10 +17,13 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/Elvis.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,9 +16,12 @@ package org.springframewo...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/FloatLiteral.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,12 +16,15 @@ package org.springframew...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/FunctionReference.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ import java.lang.reflect.Met...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/Indexer.java
@@ -16,10 +16,15 @@ package org.springframework.expression.spel.ast; +import java.lang.reflect.Field; +import java.lang.reflect.Member; +import java.lang.reflect.Method; +import java.lang.reflect.Modifier; import java.util.Collection; import java.util.List; import java.util.Map; +import org.springframework.as...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/IntLiteral.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,7 +15,9 @@ */ package org.springframe...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/LongLiteral.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,9 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/MethodReference.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,10 +17,13 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/NullLiteral.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,9 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/OpAnd.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,11 +16,14 @@ package org.springframew...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/OpDivide.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,13 +16,16 @@ package org.springframew...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/OpEQ.java
@@ -16,8 +16,11 @@ package org.springframework.expression.spel.ast; +import org.springframework.asm.Label; +import org.springframework.asm.MethodVisitor; import org.springframework.expression.EvaluationException; import org.springframework.expression.spel.ExpressionState; +import org.springframework.expression.s...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/OpGE.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,10 +15,11 @@ */ package org.springfra...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/OpGT.java
@@ -16,10 +16,11 @@ package org.springframework.expression.spel.ast; +import org.springframework.asm.MethodVisitor; import java.math.BigDecimal; - import org.springframework.expression.EvaluationException; import org.springframework.expression.spel.ExpressionState; +import org.springframework.expression.spel.st...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/OpLE.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,10 +16,11 @@ package org.springframew...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/OpLT.java
@@ -16,10 +16,11 @@ package org.springframework.expression.spel.ast; +import org.springframework.asm.MethodVisitor; import java.math.BigDecimal; - import org.springframework.expression.EvaluationException; import org.springframework.expression.spel.ExpressionState; +import org.springframework.expression.spel.st...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/OpMinus.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,12 +16,15 @@ package org.springframew...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/OpMultiply.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,12 +16,15 @@ package org.springframew...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/OpNE.java
@@ -16,8 +16,11 @@ package org.springframework.expression.spel.ast; +import org.springframework.asm.Label; +import org.springframework.asm.MethodVisitor; import org.springframework.expression.EvaluationException; import org.springframework.expression.spel.ExpressionState; +import org.springframework.expression.s...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/OpOr.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,10 +16,13 @@ package org.springframew...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/OpPlus.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,6 +16,8 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/Operator.java
@@ -16,6 +16,10 @@ package org.springframework.expression.spel.ast; +import org.springframework.asm.Label; +import org.springframework.asm.MethodVisitor; +import org.springframework.expression.spel.standard.CodeFlow; + import java.math.BigDecimal; import org.springframework.expression.spel.ExpressionState; @@ ...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/OperatorInstanceof.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,13 +16,17 @@ package org.springframew...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/OperatorNot.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,10 +16,13 @@ package org.springframew...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/PropertyOrFieldReference.java
@@ -21,15 +21,18 @@ import java.util.List; import java.util.Map; +import org.springframework.asm.MethodVisitor; import org.springframework.core.convert.TypeDescriptor; import org.springframework.expression.AccessException; +import org.springframework.expression.CompilablePropertyAccessor; import org.springframew...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/RealLiteral.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,9 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/SpelNodeImpl.java
@@ -16,13 +16,16 @@ package org.springframework.expression.spel.ast; +import org.springframework.asm.MethodVisitor; +import org.springframework.asm.Opcodes; import org.springframework.expression.EvaluationException; import org.springframework.expression.TypedValue; import org.springframework.expression.common.E...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/StringLiteral.java
@@ -16,7 +16,9 @@ package org.springframework.expression.spel.ast; +import org.springframework.asm.MethodVisitor; import org.springframework.expression.TypedValue; +import org.springframework.expression.spel.standard.CodeFlow; /** * Expression language AST node that represents a string literal. @@ -32,9 +34,...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/Ternary.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,11 +16,14 @@ package org.springframew...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/TypeReference.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,9 +18,12 @@ import java.lang.reflect....
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/ast/VariableReference.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,10 +16,12 @@ package org.springframew...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/standard/CodeFlow.java
@@ -0,0 +1,603 @@ +/* + * Copyright 2014 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unl...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/standard/SpelCompiler.java
@@ -0,0 +1,277 @@ +/* + * Copyright 2014 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unl...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/standard/SpelExpression.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,7 +22,11 @@ import org.springframework....
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/support/ReflectionHelper.java
@@ -228,38 +228,44 @@ else if (typeConverter.canConvert(suppliedArg, TypeDescriptor.valueOf(varargsPar * @param arguments the actual arguments that need conversion * @param methodOrCtor the target Method or Constructor * @param varargsPosition the known position of the varargs argument, if any + * @return tru...
true
Other
spring-projects
spring-framework
2eeb2e92359381328789585233e54c9bbd41e6dc.json
Add a compiler for SpEL With these changes an optional compiler is added for SpEL expressions. The compiler is off by default but can be enabled via the SpEL parser configuration object or system property (when SpEL is embedded and parser configuration is not possible). Not all expressions are currently handled but th...
spring-expression/src/main/java/org/springframework/expression/spel/support/ReflectiveConstructorExecutor.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,7 +32,7 @@ * @author Juergen Hoeller ...
true