[seam-commits] Seam SVN: r10088 - trunk/src/main/org/jboss/seam/core.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed Feb 25 12:20:56 EST 2009
Author: norman.richards at jboss.com
Date: 2009-02-25 12:20:56 -0500 (Wed, 25 Feb 2009)
New Revision: 10088
Modified:
trunk/src/main/org/jboss/seam/core/Validators.java
Log:
JBSEAM-3790
Modified: trunk/src/main/org/jboss/seam/core/Validators.java
===================================================================
--- trunk/src/main/org/jboss/seam/core/Validators.java 2009-02-25 13:48:12 UTC (rev 10087)
+++ trunk/src/main/org/jboss/seam/core/Validators.java 2009-02-25 17:20:56 UTC (rev 10088)
@@ -57,6 +57,10 @@
@Override
public boolean equals(Object other)
{
+ if (other == null || !(other instanceof Key)) {
+ return false;
+ }
+
Key key = (Key) other;
return key.validatableClass.equals(validatableClass) && key.locale.equals(locale);
}
More information about the seam-commits
mailing list