diff options
author | Olivier Lamy <olamy@apache.org> | 2011-06-21 10:32:16 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2011-06-21 10:32:16 +0000 |
commit | da2bc3902da3a5417b16d078c35726fda92606bc (patch) | |
tree | a2aea7ffa15b80be2091759be307ea0cc05bfc83 /archiva-modules | |
parent | c8617ac77e8f4fae9f9682feaa3a7c14edddd053 (diff) | |
download | archiva-da2bc3902da3a5417b16d078c35726fda92606bc.tar.gz archiva-da2bc3902da3a5417b16d078c35726fda92606bc.zip |
no need of cast
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137941 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-rw-r--r-- | archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/DependencyTreeTag.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/DependencyTreeTag.java b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/DependencyTreeTag.java index d60d3b5b5..d9e792a91 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/DependencyTreeTag.java +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/tags/DependencyTreeTag.java @@ -117,7 +117,7 @@ public class DependencyTreeTag WebApplicationContext webApplicationContext = WebApplicationContextUtils.getRequiredWebApplicationContext( pageContext.getServletContext() ); - deptree = ( DependencyTree ) webApplicationContext.getBean( "dependencyTree" ); + deptree = webApplicationContext.getBean( "dependencyTree", DependencyTree.class ); } catch ( BeansException e ) { |