Skip to content

Issue #71: Display platform tiles in the connectors directory #84

Issue #71: Display platform tiles in the connectors directory

Issue #71: Display platform tiles in the connectors directory #84

GitHub Actions / spotbugs completed Jan 13, 2025 in 0s

SpotBugs Source Code Analyzer report

1 violation(s) found

Annotations

Check warning on line 40 in src/main/java/org/sentrysoftware/maven/metricshub/connector/producer/model/criteria/CriterionSinkProduceVisitor.java

See this annotation in the file changed.

@github-actions 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.