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 typos and grammar in error-prone-contrib/README.md #250

Merged
merged 5 commits into from
Sep 21, 2022

Conversation

svavahb
Copy link
Contributor

@svavahb svavahb commented Sep 20, 2022

Spotted two typos, and then decided to read through the whole thing to see if I could spot more. Turns out I could!

@svavahb svavahb requested a review from Stephan202 September 20, 2022 10:01
@rickie rickie self-requested a review September 20, 2022 10:41
@rickie rickie added the documentation A documentation update label Sep 20, 2022
@rickie rickie added this to the 0.4.0 milestone Sep 20, 2022
Copy link
Member

@rickie rickie left a comment

Choose a reason for hiding this comment

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

Added a commit.

Reflowed some other sentences and some other typos.

Important to know, a line cannot exceed the 80 characters, so pushed some tweaks for that as well 😉.

Thanks for the PR 👍🏻 🚀 !

replacement would cause a compilation error.)
- Extend the `@Repeated` match semantics such that it also covers non-varargs
methods. For a motivating example see google/error-prone#568.
- When matching explicit type references, also match super types. For a
motivating example, see the two subtly difference loop definitions in
motivating example, see the two subtly different loop definitions in
`CollectionRemoveAllFromCollectionBlock`.
Copy link
Member

Choose a reason for hiding this comment

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

This template got renamed.

such as this could form the basis for many other features listed here. (As a
- More generally, investigate ways to plug in fully dynamic behavior, e.g.
by providing hooks which enable plugging in arbitrary predicates/transformations.
The result would be a Refaster/`BugChecker` hybrid. A feature such as this
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
The result would be a Refaster/`BugChecker` hybrid. A feature such as this
The result would be a Refaster/`BugChecker` hybrid. A feature like this

- More generally, investigate ways to plug in fully dynamic behavior, e.g.
by providing hooks which enable plugging in arbitrary predicates/transformations.
The result would be a Refaster/`BugChecker` hybrid. A feature such as this
could form the basis for many other features listed here. (As a
concrete example, consider the ability to reference
`com.google.errorprone.matchers.Matcher` implementations.)
- Provide a way to match lambda expressions and method references which match a
Copy link
Member

Choose a reason for hiding this comment

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

We recently introduced this in 62fe10f, so removing this line.

@Stephan202 Stephan202 force-pushed the svavahb/fix_contrib_readme_typos branch from 3b28086 to 22002ac Compare September 20, 2022 20:46
Copy link
Member

@Stephan202 Stephan202 left a comment

Choose a reason for hiding this comment

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

Tnx for the fixes!

Rebased and added a small commit. Ideally we get rid of this file before open-sourcing, so let's not spend to much on this. (At the same time we should find another low-key way of collecting ideas; details TBD.)

Suggested commit message:

Fix typos and grammar in `error-prone-contrib/README.md` (#250)

While there, drop an obsolete TODO entry.

@rickie rickie changed the title Fix typos and grammar in contrib README Fix typos and grammar in error-prone-contrib/README.md Sep 21, 2022
@rickie rickie merged commit d682b7d into master Sep 21, 2022
@rickie rickie deleted the svavahb/fix_contrib_readme_typos branch September 21, 2022 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation A documentation update
Development

Successfully merging this pull request may close these issues.

3 participants