Skip to content

Commit 679c460

Browse files
committed
lint again
1 parent 376acc5 commit 679c460

File tree

1 file changed

+6
-2
lines changed
  • instrumentation/jmx-metrics/library/src/test/java/io/opentelemetry/instrumentation/jmx/engine

1 file changed

+6
-2
lines changed

instrumentation/jmx-metrics/library/src/test/java/io/opentelemetry/instrumentation/jmx/engine/RuleParserTest.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,12 @@ void testStateMetricConf() throws Exception {
408408

409409
// mock attribute discovery
410410
MBeanInfo mockBeanInfo = mock(MBeanInfo.class);
411-
when(mockBeanInfo.getAttributes()).thenReturn(new MBeanAttributeInfo[] {
412-
new MBeanAttributeInfo("jmxStateAttribute", "java.lang.String", "", true, false, false)});
411+
when(mockBeanInfo.getAttributes())
412+
.thenReturn(
413+
new MBeanAttributeInfo[] {
414+
new MBeanAttributeInfo(
415+
"jmxStateAttribute", "java.lang.String", "", true, false, false)
416+
});
413417
when(mockConnection.getMBeanInfo(objectName)).thenReturn(mockBeanInfo);
414418

415419
MetricDef metricDef = jmxRule.buildMetricDef();

0 commit comments

Comments
 (0)