Fix non-compiling input for CustomImportOrder check

There are no classes directly under `com.google.common` package - such import was illegal.
This commit is contained in:
Michal Kordas 2015-03-14 15:41:43 +01:00 committed by Roman Ivanov
parent a281cc95c4
commit a135b0952a
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ public class CustomImportOrderCheckTest extends BaseCheckTestSupport
"9: " + getCheckMessage(MSG_LEX, "java.awt.Dialog"),
"13: " + getCheckMessage(MSG_LEX, "java.io.File"),
"15: " + getCheckMessage(MSG_LEX, "java.io.InputStream"),
"20: " + getCheckMessage(MSG_LEX, "com.google.common.*"),
"20: " + getCheckMessage(MSG_LEX, "com.google.common.collect.*"),
};
verify(checkConfig, getPath("imports" + File.separator

View File

@ -17,7 +17,7 @@ import java.io.Reader;
import com.puppycrawl.tools.*;
import com.google.common.*;
import com.google.common.collect.*;
import org.junit.*;
public class InputCustomImportOrder {