myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grantsm...@apache.org
Subject svn commit: r169237 - in /myfaces/trunk/src/jsfapi/javax/faces/validator: DoubleRangeValidator.java LengthValidator.java LongRangeValidator.java
Date Mon, 09 May 2005 05:35:42 GMT
Author: grantsmith
Date: Sun May  8 22:35:41 2005
New Revision: 169237

URL: http://svn.apache.org/viewcvs?rev=169237&view=rev
Log:
Removed hashCode() overrides from previous commit - no real benefit

Modified:
    myfaces/trunk/src/jsfapi/javax/faces/validator/DoubleRangeValidator.java
    myfaces/trunk/src/jsfapi/javax/faces/validator/LengthValidator.java
    myfaces/trunk/src/jsfapi/javax/faces/validator/LongRangeValidator.java

Modified: myfaces/trunk/src/jsfapi/javax/faces/validator/DoubleRangeValidator.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/jsfapi/javax/faces/validator/DoubleRangeValidator.java?rev=169237&r1=169236&r2=169237&view=diff
==============================================================================
--- myfaces/trunk/src/jsfapi/javax/faces/validator/DoubleRangeValidator.java (original)
+++ myfaces/trunk/src/jsfapi/javax/faces/validator/DoubleRangeValidator.java Sun May  8 22:35:41
2005
@@ -188,13 +188,4 @@
         return true;
     }
 
-    public int hashCode() {
-         int result;
-         result = (_minimum != null ? _minimum.hashCode() : 0);
-         result = 29 * result + (_maximum != null ? _maximum.hashCode() : 0);
-         result = 29 * result + (_transient ? 1 : 0);
-         return result;
-     }
-
-
 }

Modified: myfaces/trunk/src/jsfapi/javax/faces/validator/LengthValidator.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/jsfapi/javax/faces/validator/LengthValidator.java?rev=169237&r1=169236&r2=169237&view=diff
==============================================================================
--- myfaces/trunk/src/jsfapi/javax/faces/validator/LengthValidator.java (original)
+++ myfaces/trunk/src/jsfapi/javax/faces/validator/LengthValidator.java Sun May  8 22:35:41
2005
@@ -158,11 +158,4 @@
         return true;
     }
 
-    public int hashCode() {
-        int result;
-        result = (_minimum != null ? _minimum.hashCode() : 0);
-        result = 29 * result + (_maximum != null ? _maximum.hashCode() : 0);
-        result = 29 * result + (_transient ? 1 : 0);
-        return result;
-    }
 }

Modified: myfaces/trunk/src/jsfapi/javax/faces/validator/LongRangeValidator.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/jsfapi/javax/faces/validator/LongRangeValidator.java?rev=169237&r1=169236&r2=169237&view=diff
==============================================================================
--- myfaces/trunk/src/jsfapi/javax/faces/validator/LongRangeValidator.java (original)
+++ myfaces/trunk/src/jsfapi/javax/faces/validator/LongRangeValidator.java Sun May  8 22:35:41
2005
@@ -187,12 +187,4 @@
         return true;
     }
 
-    public int hashCode() {
-        int result;
-        result = (_minimum != null ? _minimum.hashCode() : 0);
-        result = 29 * result + (_maximum != null ? _maximum.hashCode() : 0);
-        result = 29 * result + (_transient ? 1 : 0);
-        return result;
-    }
-
 }



Mime
View raw message