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

OrganizeImports fixed for clashing star imports. #4561

Merged
merged 1 commit into from
Aug 30, 2022

Conversation

dbalek
Copy link
Contributor

@dbalek dbalek commented Aug 29, 2022

Running Organize Imports action on the following source code removes the necessary import for java.util.List

package javaapplication;

import java.awt.*;
import java.util.List;
import java.util.*;

public class JavaApplication {

    public static void main(String[] args) {
        List a;
        Map m;
        AWTEvent e;
    }
}

This PR should fix this problem.

@dbalek dbalek added this to the NB16 milestone Aug 29, 2022
@dbalek dbalek merged commit d1349ac into apache:master Aug 30, 2022
@dbalek dbalek deleted the dbalek/organizeImportsFix branch August 30, 2022 07:57
@mbien mbien added the Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) label Dec 3, 2022
Chris2011 pushed a commit to Chris2011/netbeans that referenced this pull request Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants