[seam-commits] Seam SVN: r9728 - trunk/ui/src/main/java/org/jboss/seam/ui/converter.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Dec 4 11:19:11 EST 2008


Author: dan.j.allen
Date: 2008-12-04 11:19:11 -0500 (Thu, 04 Dec 2008)
New Revision: 9728

Modified:
   trunk/ui/src/main/java/org/jboss/seam/ui/converter/ConverterChain.java
Log:
fix comparison of two converters

Modified: trunk/ui/src/main/java/org/jboss/seam/ui/converter/ConverterChain.java
===================================================================
--- trunk/ui/src/main/java/org/jboss/seam/ui/converter/ConverterChain.java	2008-12-04 16:13:55 UTC (rev 9727)
+++ trunk/ui/src/main/java/org/jboss/seam/ui/converter/ConverterChain.java	2008-12-04 16:19:11 UTC (rev 9728)
@@ -221,7 +221,7 @@
    public boolean containsConverterType(Converter converter) {
       // TODO Improve this
       for (Converter c : converters) {
-         if (c.getClass().equals(converter)) {
+         if (c.getClass().equals(converter.getClass())) {
             return true;
          }
       }




More information about the seam-commits mailing list