You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mm...@apache.org on 2005/12/06 13:36:08 UTC

svn commit: r354414 - /myfaces/api/trunk/src/java/javax/faces/component/_SelectItemsUtil.java

Author: mmarinschek
Date: Tue Dec  6 04:36:02 2005
New Revision: 354414

URL: http://svn.apache.org/viewcvs?rev=354414&view=rev
Log:
fix for MYFACES-879. thanks to maulin shah

Modified:
    myfaces/api/trunk/src/java/javax/faces/component/_SelectItemsUtil.java

Modified: myfaces/api/trunk/src/java/javax/faces/component/_SelectItemsUtil.java
URL: http://svn.apache.org/viewcvs/myfaces/api/trunk/src/java/javax/faces/component/_SelectItemsUtil.java?rev=354414&r1=354413&r2=354414&view=diff
==============================================================================
--- myfaces/api/trunk/src/java/javax/faces/component/_SelectItemsUtil.java (original)
+++ myfaces/api/trunk/src/java/javax/faces/component/_SelectItemsUtil.java Tue Dec  6 04:36:02 2005
@@ -65,7 +65,7 @@
                 {
                     itemValue = converter.getConvertedValue(context, (String)itemValue);
                 }
-                if (value.equals(itemValue))
+                if (value==itemValue || value.equals(itemValue))
                 {
                     return true;
                 }