From 0dff782402e93234d0714a9991419ff212b6c1d7 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Thu, 11 Feb 2016 22:47:41 +0100 Subject: [PATCH] Fixed addProtocolResolver signature in ConfigurableApplicationContext Issue: SPR-12857 Issue: SPR-13905 --- .../context/ConfigurableApplicationContext.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-context/src/main/java/org/springframework/context/ConfigurableApplicationContext.java b/spring-context/src/main/java/org/springframework/context/ConfigurableApplicationContext.java index cbbd3bfe627..7cfeb9e246b 100644 --- a/spring-context/src/main/java/org/springframework/context/ConfigurableApplicationContext.java +++ b/spring-context/src/main/java/org/springframework/context/ConfigurableApplicationContext.java @@ -131,13 +131,13 @@ public interface ConfigurableApplicationContext extends ApplicationContext, Life void addApplicationListener(ApplicationListener listener); /** - * Register the given resource resolver with this application context, + * Register the given protocol resolver with this application context, * allowing for additional resource protocols to be handled. *

Any such resolver will be invoked ahead of this context's standard * resolution rules. It may therefore also override any default rules. * @since 4.3 */ - void addResourceResolver(ProtocolResolver protocolHandler); + void addProtocolResolver(ProtocolResolver resolver); /** * Load or refresh the persistent representation of the configuration,