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

Added fix for NPE for objects with methods 'get' or 'is' #11

Merged
merged 1 commit into from
Feb 10, 2017

Conversation

cliedeman
Copy link
Contributor

No description provided.

if (m.getName().startsWith("get")) {

// Do not match 'get' method
if (m.getName().startsWith("get") && m.getName().length() > 3) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Simple workaround, I did not feel like creating a full regex was worth the effort here

@bpatters bpatters merged commit ec73016 into bpatters:master Feb 10, 2017
@fdlk
Copy link

fdlk commented Feb 10, 2017

@cliedeman Wow! Thanks for the prompt fix!

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