forked from checkstyle/checkstyle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue checkstyle#4981: ImportOrder with order=bottom should disallow …
…non-static import after a static import
- Loading branch information
1 parent
f804efa
commit 0768bce
Showing
3 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...heckstyle/checks/imports/importorder/InputImportOrderStaticGroupOrderBottom_Negative.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.puppycrawl.tools.checkstyle.checks.imports.importorder; | ||
|
||
import org.*; | ||
|
||
import static java.lang.Math.PI; | ||
import static org.antlr.v4.runtime.Recognizer.EOF; | ||
|
||
import java.util.Set; | ||
|
||
public class InputImportOrderStaticGroupOrderBottom_Negative | ||
{ | ||
|
||
} |