You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by he...@mo.mailnet.fi on 2001/05/22 14:01:07 UTC

Collections.EMPTY_MAP since JDK 1.3

Hi,

in BeanUtils (public static Map describe(Object bean)) the constant
Collections.EMPTY_MAP is used. This constant was only defined in JDK
1.3.

It would be nice if this could be changed (back?) to using something
like

public static final Map EMPTY_MAP = new HashMap();

so that people having to deploy to a not yet 1.3 platform can still use
struts.

Cheers,

-hendrik