JAL-1854 rule to disallow import of swing in appletgui
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 1 Sep 2016 11:08:25 +0000 (12:08 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 1 Sep 2016 11:08:25 +0000 (12:08 +0100)
utils/checkstyle/import-control.xml

index b11b567..b41aab3 100644 (file)
@@ -20,6 +20,7 @@
                <allow pkg="com.stevesoft.pat"/>
                
                <subpackage name="appletgui">
+               <disallow pkg="javax.swing"/>
                <disallow pkg="jalview.gui"/>
                <disallow pkg="jalview.ws"/>
                <allow pkg="org.jmol"/>