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

Fix class hierarchy safe-logging error message agreement #2295

Merged
merged 2 commits into from
Jun 7, 2022

Conversation

carterkozak
Copy link
Contributor

Previously the safety referenced in the message did not agree
with the failure.

==COMMIT_MSG==
Fix class hierarchy safe-logging error message agreement
==COMMIT_MSG==

Previously the safety referenced in the message did not agree
with the failure.
@carterkozak carterkozak requested a review from fawind June 7, 2022 14:43
@changelog-app
Copy link

changelog-app bot commented Jun 7, 2022

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Fix class hierarchy safe-logging error message agreement

Check the box to generate changelog(s)

  • Generate changelog entry

@@ -1768,7 +1768,8 @@ public void testSubclassWithLenientSafety() {
"import com.palantir.logsafe.*;",
"class Test {",
" @Unsafe interface UnsafeClass {}",
" // BUG: Diagnostic contains: Dangerous type: annotated 'SAFE' but ancestors declare 'SAFE'.",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apparently I didn't read this very well and copy/pasted :-(

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woops, also slipped through review 🙈

@bulldozer-bot bulldozer-bot bot merged commit 19efea8 into develop Jun 7, 2022
@bulldozer-bot bulldozer-bot bot deleted the ckozak/safelogging-error branch June 7, 2022 15:17
@svc-autorelease
Copy link
Collaborator

Released 4.142.0

This was referenced Jun 7, 2022
bulldozer-bot bot pushed a commit to palantir/witchcraft-api that referenced this pull request Jun 7, 2022
###### _excavator_ is a bot for automating changes across repositories.

Changes produced by the roomba/latest-baseline-oss check.

# Release Notes
## 4.142.0
| Type | Description | Link |
| ---- | ----------- | ---- |
| Fix | Fix class hierarchy safe-logging error message agreement | palantir/gradle-baseline#2295 |



To enable or disable this check, please contact the maintainers of Excavator.
This was referenced Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants