commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Breaux <bre...@users.sourceforge.net>
Subject [beanutils] getPropertyType() on java.util.Map
Date Fri, 21 Mar 2008 14:43:38 GMT
The following property:

"myMap(myKey)"

with a bean property of:

new java.util.HashMap<String, Long>()

returns java.util.Map from PropertyUtils.getPropertyType()

I was expecting Long.  Map seems like a bug.

Note that getPropertyType() with a property name of simply "myMap" also 
returns java.util.Map, which is what I would expect.

Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message