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 #1338

Open
wants to merge 2 commits into
base: 2.18
Choose a base branch
from
Open

Fix typos #1338

wants to merge 2 commits into from

Conversation

TheJavaGuy
Copy link

Fixes various typos (mostly of can not -> cannot kind). Rationale is given in https://writingexplained.org/cannot-or-can-not-difference

@pjfanning
Copy link
Member

Changing the text of an exception can break user's code. In the real world, users do things like catch exceptions and try to parse the text. I'm not saying this is a good thing to do but it happens.
can not and cannot are both valid in English - so I say it is not worth the risk of adding this change.

@cowtowncoder
Copy link
Member

100% agree with @pjfanning: I'm fine with changes to Javadocs, but let's not change exception messages for 2.x.

So would it be possible to change this PR to only have Javadoc changes.
Additionally if it feels useful -- I am non-native english speaker so do not have a gut feelings -- could have another PR against master (Jackson 3.0) for Exception message changes: with 3.0 there are API changes anyway and we could make the change.

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.

3 participants