Updated description for RedundantImport
Mentioning that static imports are allowed from java.lang and same package.
This commit is contained in:
parent
1634289dd3
commit
44b3fe0b14
|
|
@ -240,11 +240,11 @@
|
|||
imported more than once.
|
||||
</li>
|
||||
<li>
|
||||
The class imported is from the <code>java.lang</code>
|
||||
The class non-statically imported is from the <code>java.lang</code>
|
||||
package, e.g. importing <code>java.lang.String</code>.
|
||||
</li>
|
||||
<li>
|
||||
The class imported is from the same package.
|
||||
The class non-statically imported is from the same package as the current package.
|
||||
</li>
|
||||
</ul>
|
||||
</subsection>
|
||||
|
|
|
|||
Loading…
Reference in New Issue