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

ConcurrentModificationException when applying completion that adds import #1024

Open
datho7561 opened this issue Dec 5, 2024 · 1 comment

Comments

@datho7561
Copy link

eg. open completion at | and accept StringBuilder

public class HelloWorld {
  public void main(String... args) {
    StringBuil|
  }
}
@datho7561
Copy link
Author

I realized that StringBuilder is in java.lang so it shouldn't even have an import being added, so I'll fix that first

datho7561 added a commit that referenced this issue Dec 6, 2024
When importing a type via completion,
don't add an import for the type if it's from `java.lang`

A part of #1024

Signed-off-by: David Thompson <[email protected]>
mickaelistria pushed a commit that referenced this issue Dec 6, 2024
When importing a type via completion,
don't add an import for the type if it's from `java.lang`

A part of #1024

Signed-off-by: David Thompson <[email protected]>
datho7561 added a commit that referenced this issue Dec 13, 2024
When importing a type via completion,
don't add an import for the type if it's from `java.lang`

A part of #1024

Signed-off-by: David Thompson <[email protected]>
mickaelistria pushed a commit that referenced this issue Dec 15, 2024
When importing a type via completion,
don't add an import for the type if it's from `java.lang`

A part of #1024

Signed-off-by: David Thompson <[email protected]>
mickaelistria pushed a commit that referenced this issue Jan 6, 2025
When importing a type via completion,
don't add an import for the type if it's from `java.lang`

A part of #1024

Signed-off-by: David Thompson <[email protected]>
mickaelistria pushed a commit that referenced this issue Jan 7, 2025
When importing a type via completion,
don't add an import for the type if it's from `java.lang`

A part of #1024

Signed-off-by: David Thompson <[email protected]>
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

1 participant