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

Mismatched documentation #1

Open
winnpixie opened this issue Sep 22, 2019 · 1 comment
Open

Mismatched documentation #1

winnpixie opened this issue Sep 22, 2019 · 1 comment

Comments

@winnpixie
Copy link

In ReflectionHelper#getObjectClass, the documentation right above the mismatch states that the primitive class is something such as int.class, and that the Object class is something such as Integer.class, but in the typo spots from lines 2694 to 2697, it states that the primitive class is something such as Integer.class (the Object class), and that the Object class is something such as int.class (the primitive class). It almost seems as if it was simply copy-pasted from the documentation for ReflectionHelper#getPrimitiveClass, which makes this mistake understandable and marginally disregardable.

@n9Mtq4
Copy link
Owner

n9Mtq4 commented Sep 23, 2019

This is a documentation mistake. Nice find. I probably did copy-paste the same documentation between getObjectClass and getPrimitiveClass.

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

No branches or pull requests

2 participants