Skip to content

Conversation

@jkozlowski
Copy link
Contributor

Before this PR

Cannot selectively turn this check off.

After this PR

==COMMIT_MSG==
@VisibleForTesting annotation has an id.
==COMMIT_MSG==

Possible downsides?

@changelog-app
Copy link

changelog-app bot commented Feb 21, 2020

Generate changelog in changelog/@unreleased

Type

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

Description

@VisibleForTesting annotation has an id.

Check the box to generate changelog(s)

  • Generate changelog entry

@policy-bot policy-bot bot requested a review from fawind February 21, 2020 16:38
<property name="lineSeparator" value="lf"/>
</module>
<module name="RegexpMultiline"> <!-- Development Practices: Writing good unit tests -->
<property name="id" value="VisibleForTestingPackagePrivate"/>
Copy link
Contributor

@iamdanfox iamdanfox Feb 21, 2020

Choose a reason for hiding this comment

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

you actually need to make this change to the other checkstyle.xml - this one will get overwritten next time you run ./gradlew baselineUpdateConfig in this repo.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

🤦‍♂

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

carterkozak
carterkozak previously approved these changes Feb 21, 2020
@carterkozak carterkozak dismissed their stale review February 21, 2020 16:40

good catch dfox >.<

@ferozco
Copy link
Contributor

ferozco commented Feb 21, 2020

Should we just migrate this to an errorprone rule?

@carterkozak
Copy link
Contributor

Generally in favor of moving everything we can to errorprone :-)

@carterkozak
Copy link
Contributor

Alternative proposal: #1253

@jkozlowski
Copy link
Contributor Author

Ah, great @carterkozak! Gonna close since, that should allow me to suppress correctly.

@jkozlowski jkozlowski closed this Feb 24, 2020
@jkozlowski jkozlowski deleted the jkozlowski-patch-1 branch February 24, 2020 08:59
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.

5 participants