Commit Graph

14 Commits

Author SHA1 Message Date
picomancer 788f87df4d chmod all files to 644 2013-10-05 00:22:22 -04:00
Oliver Burn 3cd6646941 Apply patch #2783226 that uses FileText as an implementation for
List<String> to pass lines around
2010-06-28 13:02:13 +00:00
Oliver Burn e292d5fa53 Enhanced the ImportContro check to support regular expressions. Thanks to lbaeumer for patch #2937442. 2010-02-14 10:24:46 +00:00
Lars Kühne f5b82ec75f fixed import control problem for TranslationCheck in gump target 2009-03-17 20:35:43 +00:00
Lars Kühne 326e3ae67b Added the option "charset" to the header checks to allow controlling the encoding of the header file (rfe 1952641). 2009-02-05 23:08:53 +00:00
Oliver Burn 2e4762f171 consolidate charset handling. 2008-11-09 10:19:43 +00:00
Oliver Burn 65fde3d212 fix a checkstyle.checkstyle error 2008-05-12 05:04:17 +00:00
Oliver Burn b3f724f871 Remove use of ArrayStack and rename get(int) to peek(int) which is a better name IMHO. 2008-04-24 14:42:27 +00:00
Oliver Burn 098124a601 Changes to use the Google Collections Library (http://code.google.com/p/google-collections/) 2008-04-22 11:04:17 +00:00
Lars Kühne 5a6be4c757 Use BigInteger in complexity metrics checks to avoid integer overflow (bug 1654769).
Thanks to Simon Harris (haruki_zaemon) for reporting this bug together with an idea how to fix it.
2007-02-12 19:13:42 +00:00
Lars Kühne 40f4c37a21 Major performance inprovements in StrictDuplicatecode check, which now uses checksums over sequences of lines instead of checksums over individual lines.
To avoid reading the same file multiple times a soft reference map from commons-util is used, this requires a modification in import-control.xml. Hope this is OK - commons-util is a dependency anyway and is included in checkstyle-all.jar.
2006-09-10 11:35:35 +00:00
Oliver Burn b95ced53e3 Final updates for a beta release 2005-08-04 12:05:26 +00:00
Oliver Burn a5d30bf353 Added a lot more configuration options for the ImportControlCheck that
came out of using at work. I still need to improve the unit tests and
properly document the support options. Wanted to check in now for
backup.
2005-07-31 12:27:44 +00:00
Oliver Burn 1951594e90 Added the ImportControl check. This is a check that can be used to
enforce which packages can import which packages. I was required to
develop this for a large project to enforce application layering rules.

The check is fairly basic at the moment, but is still sufficiently
powerful to be useful. I am sure there will be feature requests in the
future.
2005-07-27 20:29:28 +00:00