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 AnnotationRule exception #509

Merged
merged 2 commits into from
Jul 5, 2019
Merged

Conversation

shashachu
Copy link
Contributor

@shashachu shashachu commented Jul 3, 2019

Return if there's no annotations found instead of throwing an exception
Fixes #490 and #502

    * Return if there's no annotations found instead of throwing an exception
    * Fies pinterest#490
@shashachu shashachu merged commit e5fd74c into pinterest:master Jul 5, 2019
sowmyav24 pushed a commit to sowmyav24/ktlint that referenced this pull request Jul 18, 2019
* Fix AnnotationRule exception
    * Return if there's no annotations found instead of throwing an exception
    * Fixes pinterest#490 and pinterest#502
    * Re-enable rule in standard ruleset
@shashachu shashachu deleted the annotations-rule branch August 2, 2019 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Annotation rule throws IllegalStateException
1 participant