Bump org.junit:junit-bom from 6.0.0 to 6.0.2 #58
GitHub Actions / spotbugs
completed
Jan 7, 2026 in 0s
SpotBugs Source Code Analyzer report
2 violation(s) found
Annotations
Check warning on line 237 in src/main/java/org/metricshub/xflat/handlers/XmlHandler.java
github-actions / spotbugs
EI_EXPOSE_REP
org.metricshub.xflat.handlers.XmlHandler.getResultMap() may expose internal representation by returning XmlHandler.resultMap
Raw output
Returning a reference to a mutable object value stored in one of the object's fields exposes the internal representation of the object. If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Returning a new copy of the object is better approach in many situations.
Check warning on line 48 in src/main/java/org/metricshub/xflat/types/SearchPathNode.java
github-actions / spotbugs
EI_EXPOSE_REP
org.metricshub.xflat.types.SearchPathNode.getNexts() may expose internal representation by returning SearchPathNode.nexts
Raw output
Returning a reference to a mutable object value stored in one of the object's fields exposes the internal representation of the object. If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Returning a new copy of the object is better approach in many situations.
Loading