summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2005-02-16 14:07:18 +0000
committerMichael Koch <konqueror@gmx.de>2005-02-16 14:07:18 +0000
commit59f643112b5f02af987c47c7790445271412c38c (patch)
tree0054ba6d0b572face8a863a9a1ca4c9cccb9838e /scripts
parent39043718190e23121081873b016968d0b1f12fd6 (diff)
downloadclasspath-59f643112b5f02af987c47c7790445271412c38c.tar.gz
2005-02-16 Michael Koch <konqueror@gmx.de>
* scripts/checkstyle-config.xml: Activate JavadocStyle and IllegalInstantiation tests. * scripts/checkstyle-suppressions.xml: Suppress some more errors.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/checkstyle-config.xml4
-rw-r--r--scripts/checkstyle-suppressions.xml9
2 files changed, 12 insertions, 1 deletions
diff --git a/scripts/checkstyle-config.xml b/scripts/checkstyle-config.xml
index ef761a0bf..498e7fadd 100644
--- a/scripts/checkstyle-config.xml
+++ b/scripts/checkstyle-config.xml
@@ -26,11 +26,11 @@ mailing list first and probably documented in the hacking guide.
<module name="JavadocVariable">
<property name="scope" value="protected"/>
</module>
+ -->
<module name="JavadocStyle">
<property name="checkFirstSentence" value="false"/>
<property name="checkHtml" value="true"/>
</module>
- -->
<!-- File header checks -->
<module name="RegexpHeader">
@@ -81,9 +81,11 @@ mailing list first and probably documented in the hacking guide.
<module name="EmptyStatement"/>
<module name="EqualsHashCode"/>
<module name="HiddenField"/>
+ -->
<module name="IllegalInstantiation">
<property name="classes" value="java.lang.Boolean"/>
</module>
+ <!--
<module name="InnerAssignment"/>
<module name="MagicNumber"/>
<module name="RedundantThrows"/>
diff --git a/scripts/checkstyle-suppressions.xml b/scripts/checkstyle-suppressions.xml
index 7a73aa810..68c620ce9 100644
--- a/scripts/checkstyle-suppressions.xml
+++ b/scripts/checkstyle-suppressions.xml
@@ -9,6 +9,15 @@ mailing list first and probably documented in the hacking guide.
-->
<suppressions>
+ <suppress checks="AvoidStarImport"
+ files="gnu/java/awt/peer/gtk/GtkToolkit.java"
+ lines="48,59"/>
+ <suppress checks="IllegalInstantiation"
+ files="java/lang/Boolean.java"
+ lines="65,73"/>
+ <suppress checks="IllegalInstantiation"
+ files="java/util/logging/LogManager.java"
+ lines="674"/>
<suppress checks="RegexpHeader"
files="javax/rmi/CORBA/SystemException.java"
lines="1"/>