Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #57: All the storage examples are incorrect with type=linux #60

Issue #57: All the storage examples are incorrect with type=linux

b338d5c
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Issue #57: All the storage examples are incorrect with type=linux #60

Issue #57: All the storage examples are incorrect with type=linux
b338d5c
Select commit
Loading
Failed to load commit list.
GitHub Actions / spotbugs completed Sep 25, 2024 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.