codahale/metrics — pull request #458 by jfocht (2013-08-19 20:39:28+00:00)
Title: loosen type requirements for JmxAttributeGauge constructor

Previously an MBeanServer was required to create a JmxAttributeGauge object
even though instances of JmxAttributeGauge only use methods from the
MBeanServer's super-interface, MBeanServerConnection. Relaxing this constraint
allows passing a JmxAttributeGauge any MBeanServerConnection (e.g. the
connection returned by JMXConnector.getMBeanServerConnection).