Issue #59: Display the connector variables #65
GitHub Actions / spotbugs
completed
Sep 27, 2024 in 0s
SpotBugs Source Code Analyzer report
1 violation(s) found
Annotations
github-actions / spotbugs
EI_EXPOSE_REP2
new org.sentrysoftware.maven.metricshub.connector.producer.model.criteria.CriterionSinkProduceVisitor(Sink) may expose internal representation by storing an externally mutable object into CriterionSinkProduceVisitor.sink
Raw output
This code stores a reference to an externally mutable object into 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. Storing a copy of the object is better approach in many situations.
Loading