Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Checks for redundant import statements. An import statement is considered redundant if:
    <li>It is a duplicate of another import. This is, when a class is imported more than once.</li>
    <li>The class imported is from the java.lang package, e.g. importing java.lang.String.</li>
    <li>The class imported is from the same package.</li></ul>
New to GrepCode? Check out our FAQ X