From cb13c1c042ebcf42f164ca9d0f8a2b219dd6a5fa Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Sun, 25 Jan 2009 23:29:45 +0000 Subject: [PATCH] polishing git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@586 50f2f4bb-b051-0410-bef5-90022cba6387 --- .../context/access/ContextJndiBeanFactoryLocator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.springframework.context/src/main/java/org/springframework/context/access/ContextJndiBeanFactoryLocator.java b/org.springframework.context/src/main/java/org/springframework/context/access/ContextJndiBeanFactoryLocator.java index 3a1f46347f0..9996b9473b1 100644 --- a/org.springframework.context/src/main/java/org/springframework/context/access/ContextJndiBeanFactoryLocator.java +++ b/org.springframework.context/src/main/java/org/springframework/context/access/ContextJndiBeanFactoryLocator.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2007 the original author or authors. + * 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. @@ -59,7 +59,7 @@ public class ContextJndiBeanFactoryLocator extends JndiLocatorSupport implements */ public BeanFactoryReference useBeanFactory(String factoryKey) throws BeansException { try { - String beanFactoryPath = (String) lookup(factoryKey, String.class); + String beanFactoryPath = lookup(factoryKey, String.class); if (logger.isTraceEnabled()) { logger.trace("Bean factory path from JNDI environment variable [" + factoryKey + "] is: " + beanFactoryPath);