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

Bring IntelliJ in sync with ErrorProne on bad inner static class names #2447

Merged
merged 2 commits into from
Nov 5, 2022

Conversation

ash211
Copy link
Contributor

@ash211 ash211 commented Nov 4, 2022

By re-syncing DO_NOT_IMPORT_INNER IntelliJ config from ErrorProne BadImport.BAD_NESTED_CLASSES

Before this PR

IntelliJ settings for inner static class names to not import were out of sync with ErrorProne's BadImport check. This causes IntelliJ to produce/allow code that ErrorProne would then fail on.

After this PR

==COMMIT_MSG==

==COMMIT_MSG==

This is an extension of #1617, which initially populated the list.

Possible downsides?

@changelog-app
Copy link

changelog-app bot commented Nov 4, 2022

Generate changelog in changelog/@unreleased

Type

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

Description

Bring IntelliJ in sync with ErrorProne on bad inner static class names

Check the box to generate changelog(s)

  • Generate changelog entry

@ash211 ash211 requested a review from carterkozak November 4, 2022 23:53
<DO_NOT_IMPORT_INNER>
<CLASS name="Builder" />
<CLASS name="BuilderFactory" />
Copy link
Contributor

Choose a reason for hiding this comment

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

@@ -54,6 +56,7 @@
<CLASS name="Type" />
<CLASS name="Key" />
<CLASS name="Id" />
<CLASS name="Identifier" />
Copy link
Contributor

Choose a reason for hiding this comment

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

@ash211 ash211 marked this pull request as ready for review November 5, 2022 02:53
@bulldozer-bot bulldozer-bot bot merged commit a2441bc into develop Nov 5, 2022
@bulldozer-bot bulldozer-bot bot deleted the aash/do-not-import-inner branch November 5, 2022 02:54
This was referenced Dec 7, 2022
bulldozer-bot bot pushed a commit to palantir/witchcraft-api that referenced this pull request Dec 9, 2022
###### _excavator_ is a bot for automating changes across repositories.

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

# Release Notes
## 4.184.0
| Type | Description | Link |
| ---- | ----------- | ---- |
| Fix | Bring IntelliJ in sync with ErrorProne on bad inner static class names | palantir/gradle-baseline#2447 |
| Fix | Suppress the `JavaxInjectOnAbstractMethod` check for projects that apply `java-gradle-plugin`. | palantir/gradle-baseline#2460 |



To enable or disable this check, please contact the maintainers of Excavator.
This was referenced Dec 9, 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.

3 participants