tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43656] ELSupport.coerceToType modifies BigDecimal Values
Date Tue, 07 Oct 2008 21:13:04 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=43656





--- Comment #12 from Nils Eckert <mail@nils-eckert.de>  2008-10-07 14:13:04 PST ---
    public final static Object coerceToType(final Object obj, final Class type)
            throws IllegalArgumentException {
        if (type == null || Object.class.equals(type) ||
                (obj != null && type.isAssignableFrom(obj.getClass()))) {
            return obj;
        }

        ....

    }

behaves in the same way and returns the object if the Type matches.


-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message