Skip to content

Commit

Permalink
Lower the priority of PA_PUBLIC_MUTABLE_OBJECT_ATTRIBUTE
Browse files Browse the repository at this point in the history
  • Loading branch information
JuditKnoll committed Oct 30, 2023
1 parent cc602fb commit 1162d8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Currently the versioning policy of this project follows [Semantic Versioning v2.
- Fix exception escapes when calling functions of JUnit Assert or Assertions ([[#2640](https://github.com/spotbugs/spotbugs/issues/2640)])
- Fixed an error in the SARIF export when a bug annotation is missing ([[#2632](https://github.com/spotbugs/spotbugs/issues/2632)])
- Fixed false positive RV_EXCEPTION_NOT_THROWN when asserting to exception throws ([[#2628](https://github.com/spotbugs/spotbugs/issues/2628)])
- Lowered the priority of `PA_PUBLIC_MUTABLE_OBJECT_ATTRIBUTE` bug ([[#2652](https://github.com/spotbugs/spotbugs/issues/2652)])

### Build
- Fix deprecated GHA on '::set-output' by using GITHUB_OUTPUT ([[#2651](https://github.com/spotbugs/spotbugs/pull/2651)])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public void sawOpcode(int seen) {

bugReporter.reportBug(new BugInstance(this,
"PA_PUBLIC_MUTABLE_OBJECT_ATTRIBUTE",
NORMAL_PRIORITY)
LOW_PRIORITY)
.addClass(this).addField(field).addSourceLine(sla));
writtenFields.add(field);
}
Expand Down

0 comments on commit 1162d8b

Please sign in to comment.