myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sless...@apache.org
Subject svn commit: r697239 - /myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/config/FacesConfigurator.java
Date Fri, 19 Sep 2008 20:57:38 GMT
Author: slessard
Date: Fri Sep 19 13:57:38 2008
New Revision: 697239

URL: http://svn.apache.org/viewvc?rev=697239&view=rev
Log:
Fixed compile error

Modified:
    myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/config/FacesConfigurator.java

Modified: myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/config/FacesConfigurator.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/config/FacesConfigurator.java?rev=697239&r1=697238&r2=697239&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/config/FacesConfigurator.java
(original)
+++ myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/config/FacesConfigurator.java
Fri Sep 19 13:57:38 2008
@@ -756,7 +756,7 @@
         while (classNamesIterator.hasNext())
         {
             String implClassName = (String) classNamesIterator.next();
-            Class<T> implClass = ClassUtils.simpleClassForName(implClassName);
+            Class<? extends T> implClass = ClassUtils.simpleClassForName(implClassName);
 
             // check, if class is of expected interface type
             if (!interfaceClass.isAssignableFrom(implClass))
@@ -774,7 +774,7 @@
                 // let's check if class supports the decorator pattern
                 try
                 {
-                    Constructor<T> delegationConstructor = implClass.getConstructor(new
Class[] { interfaceClass });
+                    Constructor<? extends T> delegationConstructor = implClass.getConstructor(new
Class[] { interfaceClass });
                     // impl class supports decorator pattern,
                     try
                     {



Mime
View raw message