tcurdt/jmx2any — pull request #2 by kim (2012-07-26 10:08:50+00:00)
Title: Apply formatting to any attribute key

This change applies the `DefaultFormatter.attributeName` method _after_ `flatten`ing, so that anything deeper down the tree gets formatted properly (especially `Map` type attributes).

Example from the `java.lang.MemoryPool` mbean:

before:
`test: java_lang_garbagecollector_parnew_lastgcinfo___memoryUsageAfterGc___[CMS Perm Gen]__size = 2`

after:
`test: java_lang_garbagecollector_parnew_lastgcinfo_memoryusageaftergc_cms_perm_gen_size = 2`