Issue #8 new

Import handling needs to be improved

Jan Lahoda
repo owner created an issue

Consider this rule: {{{

!java

javax.print.attribute.AttributeSet $x;=>javax.swing.text.AttributeSet $x; ;;

}}}

and this code: {{{

!java

package test;

import javax.print.attribute.AttributeSet;

public class Main {

public static void main(String[] args) {
    AttributeSet s;
}

}

}}}

When the rule is applied to the code, FQN is used to denote the AttributeSet and the (unused) import is not removed.

Comments (0)

  1. Log in to comment