https://issues.apache.org/bugzilla/show_bug.cgi?id=44766





--- Comment #2 from Konstantin Kolinko <[EMAIL PROTECTED]>  2008-04-08 18:39:52 
PST ---
Created an attachment (id=21797)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21797)
Code cleanup for org.apache.el.* - removes attempts to compare Object classes
against primitive types.

Code cleanup for several classes in org.apache.el.**

In those classes there are places where java.lang.Class instances are compared
against classes of primitive types (such as Long.TYPE, Integer.TYPE, etc.)

In the case when those java.lang.Class instances are a result of
object.getClass() call (that is, obtained from an Object), they cannot be equal
to a primitive type.  In such case these comparisons are no-op, producing the
value of false.

This patch removes these no-op comparisons from the code.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to