Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
BeanMap declares the following static field:
public static HashMap defaultTransformers = new HashMap();
This is unsafe, as any code can change the map. The map is not currently used outside the class; it should be made private and final, as it is not intended to be used except within the class.
Attachments
Attachments
Issue Links
- duplicates
-
BEANUTILS-112 [beanutils] defaultTransformers is public in BeanMap class
- Reopened