Skip to content

Commit 6431feb

Browse files
committed
Additional comments added
1 parent 19f5d4c commit 6431feb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jmx-scraper/src/integrationTest/java/io/opentelemetry/contrib/jmxscraper/assertions/AttributeMatcher.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ public boolean equals(Object o) {
5151
return false;
5252
}
5353
AttributeMatcher other = (AttributeMatcher) o;
54+
// Do not attributeValue into account so AttributeMatcher instances can be stored in collections
55+
// with guarantee of uniqueness per attribute
5456
return Objects.equals(attributeName, other.attributeName);
5557
}
5658

0 commit comments

Comments
 (0)