Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
Signed-off-by: dhoard <doug.hoard@gmail.com>
  • Loading branch information
dhoard committed Nov 15, 2023
1 parent dcd05a3 commit 7fcf380
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion collector/src/main/java/io/prometheus/jmx/JmxScraper.java
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ private void scrapeBean(MBeanServerConnection beanConn, ObjectName mBeanName) {
}

for (Object object : attributes) {
// The contents of an AttributeList should all be Attribute instances, but we'll verify that.
// The contents of an AttributeList should all be Attribute instances, but we'll verify
// that.
if (object instanceof Attribute) {
Attribute attribute = (Attribute) object;
String attributeName = attribute.getName();
Expand Down

0 comments on commit 7fcf380

Please sign in to comment.