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 bug with import java.lang.subpackage #1327

Merged
merged 3 commits into from
May 29, 2017

Conversation

surli
Copy link
Collaborator

@surli surli commented May 29, 2017

No description provided.

@surli
Copy link
Collaborator Author

surli commented May 29, 2017

@monperrus this one fixes jPerturb regression

@@ -250,6 +250,10 @@ public void writeActualTypeArguments(CtActualTypeContainer ctGenericElementRefer
}
}

private boolean isJavaLangClasses(String importType) {
return importType.matches("^(java.lang.){1}[^.]*$");
Copy link
Collaborator

Choose a reason for hiding this comment

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

do you need "{1}"? should we escape the dots java\.lang\.?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

@monperrus monperrus merged commit a2ac3cd into INRIA:master May 29, 2017
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.

2 participants