diff options
author | Leif Åstrand <leif@vaadin.com> | 2014-03-25 09:03:52 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-03-25 11:33:17 +0000 |
commit | dc89e28f4d8251d0b721a2b9e143770a5fcda195 (patch) | |
tree | a52b93e699d304b0218ece0450ff89cb0ad813ed /checkstyle/vaadin-checkstyle.xml | |
parent | 4379bd6368983de07c907421140499f471465408 (diff) | |
download | vaadin-framework-dc89e28f4d8251d0b721a2b9e143770a5fcda195.tar.gz vaadin-framework-dc89e28f4d8251d0b721a2b9e143770a5fcda195.zip |
Trigger a checkstyle error if importing the wrong Element class (#13287)
Change-Id: Ief15e88c9c6fe5fd88dbf9f12783ac2f5ae617c6
Diffstat (limited to 'checkstyle/vaadin-checkstyle.xml')
-rw-r--r-- | checkstyle/vaadin-checkstyle.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/checkstyle/vaadin-checkstyle.xml b/checkstyle/vaadin-checkstyle.xml index bcbbaf9171..ca572fe1a5 100644 --- a/checkstyle/vaadin-checkstyle.xml +++ b/checkstyle/vaadin-checkstyle.xml @@ -142,6 +142,10 @@ <module name="IllegalImport" /> <!-- defaults to sun.* packages --> <module name="RedundantImport" /> <module name="UnusedImports" /> + <module name="ImportControl"> + <property name="file" value="${checkstyle.importControl.file}" /> + <property name="severity" value="error" /> + </module> <!-- Checks for Size Violations. --> |