Commits

Anonymous committed d9b9af5

XW-483 added suppressWarning annotation for generic cast

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@1338e221344d-f017-0410-9bd5-d282ab1896d7

Comments (0)

Files changed (1)

src/java/com/opensymphony/xwork2/inject/ContainerImpl.java

       injectors = container.injectors.get(implementation);
     }
 
+    @SuppressWarnings("unchecked")
     private Constructor<T> findConstructorIn(Class<T> implementation) {
       Constructor<T> found = null;
       Constructor<T>[] declaredConstructors = (Constructor<T>[]) implementation