Commit Graph

2194 Commits

Author SHA1 Message Date
Lars Kühne a501b8d95a fix for bug 1560940: MultipleStringLiteralCheck now ignores annotations by default. It is possible to retain the old behaviour by setting the new check property ignoreOccurrenceContext to an empty value. 2007-02-11 13:37:19 +00:00
Lars Kühne 03b0bc8f47 fix for bug 1630361. Make sure that commons-collections classes that are shipped with beanutils are not included in checkstyle-all.jar 2007-02-01 21:24:40 +00:00
Lars Kühne 3e72ff4dea Removed usage of xerces and xml-apis, with Java 5 as the minimum build environment it's no longer necessary to mess around with them explicitly. 2007-01-27 14:55:33 +00:00
Lars Kühne 1efc394250 changed copyright message to 2007 2007-01-27 14:51:34 +00:00
Lars Kühne 1072e29509 changed copyright message to 2007 2007-01-27 14:42:38 +00:00
Lars Kühne feec78894c fixed test failure because of nondeterministic output in violation report 2007-01-27 14:07:36 +00:00
Lars Kühne 7e67d70fb8 version 4.4-SNAPSHOT 2007-01-27 13:16:21 +00:00
Lars Kühne 4e0a4d992f happy new year 2007 2007-01-27 07:01:05 +00:00
Oliver Burn 83700b07d4 Fix a broken link 2007-01-26 03:45:08 +00:00
Oliver Burn 6e4cb6e9c8 Revert back to mailing lists. I hope this makes it to the mailing list :-) 2007-01-17 02:14:24 +00:00
Oliver Burn 1c94946e2e Removing all reference to mailing lists 2007-01-16 12:16:36 +00:00
Lars Kühne a29533e09f explain that 'POM' is a concept from Maven (for those users who have never tried Maven) 2006-12-24 12:02:16 +00:00
Lars Kühne b3a55ec452 added link to javancss tool, thanks to Lakshman Srilakshmanan for providing a pointer 2006-12-22 12:26:24 +00:00
Oliver Burn c658410a1a removed dead code 2006-12-22 06:41:30 +00:00
Oliver Burn 11d5a1357f apply patch for Maven POM files 2006-12-22 05:07:00 +00:00
Oliver Burn 68b2a3a107 remove dead code 2006-12-22 04:37:57 +00:00
Lars Kühne c0010098b8 removed duplicate key for instanciation.avoid, bug #1611403 2006-12-08 20:13:50 +00:00
Lars Kühne b65afa0b78 Fixed Apache header example in CrossLanguageRegexpHeaderCheck docs and use it consistently 2006-11-07 20:14:32 +00:00
Lars Kühne c1a4013ad2 Added js and css as default file extensions of CrossLanguageRegexpHeaderCheck 2006-11-05 20:57:29 +00:00
Oleg Sukhodolsky 5063a410cf Applied patch 1498920 (NullPointer in Resolver (usage)) 2006-10-29 08:34:27 +00:00
Oleg Sukhodolsky 2a96f3f890 Fixed 1455575 - RegexpHeader reports wrong line number 2006-10-28 21:47:05 +00:00
Oleg Sukhodolsky 20a7915f5f Fixed gump failure.
Fixed NPE in FallThrough check (bug 1472228)
Fixed typo in Command Line example (bug 1464595)
2006-10-28 20:53:34 +00:00
Lars Kühne 6f1f7bd3fd Added CrossLanguageRegexpHeaderCheck. This involved some refactorings to avoid duplicate code, so lots of files are affected
- moved AbstractHeaderCheck to header package
- moved file extension filtering code to Utils, so it's available not only from FileSetChecks
- moved regexp header checking logic to RegexpHeaderChecker bean
- moved check initialization logic and parameter checking to HeaderInfo classes
2006-10-19 20:35:08 +00:00
Lars Kühne 3296ba06ac Use ints for checksums instead of longs. This reduces memory footprint and further improves performance by a few percent.
Originally longs were used to lower the likelyhood of checksum clashes, as those would result in false alarms. This is no longer the case, because of the line-by-line verification that now takes place when a checksum match is detected.
2006-10-08 12:11:01 +00:00
Lars Kühne 9aa72722de - fix for bug #1564465 (StrictDuplicateCode misses duplications that overlap).
- don't report blocks that contain only empty lines. With the obove bugfix, that is absolutely neccesary to check the JDK, because much of the nio code is machine generated and contains large empty blocks. With all of them overlapping, the SDC would produce huge amounts of violation reports without this change
- Further speedup by using a reverse lookup from the sorted relevant checksums back to the original line index numbers
- Externalized low level checksum management to a separate class, ChecksumInfo, so SDCC contains more high level code
2006-10-03 18:33:09 +00:00
Lars Kühne b0240a0200 fixed Java syntax errors (missing return type) 2006-10-03 18:23:06 +00:00
Lars Kühne a1068badba added unit test to demostrate bug #1564465 (test is disabled until the problem is fixed, so that gump won't break) 2006-09-24 11:37:55 +00:00
Lars Kühne 6cbcc2f1ee extract common subexpressions from loop 2006-09-23 06:06:07 +00:00
Oliver Burn b821f5eb95 Add entry for QALab and remove SlickEdit reference (broken) 2006-09-12 22:56:54 +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
Lars Kühne 28a4f2fe02 version 4.3 2006-09-05 20:09:24 +00:00
Lars Kühne 979fc5cac3 patch #1535390, fixes JetStyle information and link to maven example report 2006-08-09 19:31:28 +00:00
Oliver Burn 7dfcb39a0e Fix up warning about line possibly being null. 2006-07-07 03:51:13 +00:00
Oliver Burn 35d1673788 Making local variables final where possible. 2006-07-07 03:44:16 +00:00
Oliver Burn f4a92dad02 Make member variables final where appropriate. 2006-07-07 03:33:55 +00:00
Oliver Burn c2d3932843 Clean up the use of ()'s 2006-07-07 03:26:46 +00:00
Oliver Burn ef791720f0 Patch to add a TextArea to the GUI. 2006-07-02 11:52:19 +00:00
Oliver Burn 302f80bd65 Just fix an annoying error where assigning to a parameter. 2006-07-02 10:41:29 +00:00
Oliver Burn 199d3003ae Added comment about version for bluej 2006-06-30 02:11:22 +00:00
Oliver Burn 103a2068a8 Removed TYPECAST as a default token from the NoWhitespaceAfterCheck. It
can still be specified though.
2006-06-17 14:51:26 +00:00
Oliver Burn 81b52e27c5 Stop creating duplicate regular expression patterns. 2006-06-17 14:18:22 +00:00
Oliver Burn 104e69edd6 Applied patch (1505376) by Clint Stotesbery to support the
suppressLoadErrors property for AbstractTypeAwareCheck (RFE 1491630).
2006-06-17 13:49:08 +00:00
Oliver Burn 0a72322796 Tighten up the allowed use of the {@inheritDoc} tag. 2006-05-22 13:49:16 +00:00
Oliver Burn d9ef0ac5ee Applied patch 1386388 to enable ConfigurationLoader to load from
InputStream.
2006-03-09 11:48:20 +00:00
Oliver Burn 83092cdaaa Just a couple of things to ignore. 2006-03-09 11:13:32 +00:00
Lars Kühne faca39c963 fixed incorrect XML in example code 2006-03-04 21:49:34 +00:00
Lars Kühne 275f47aa0f Fix for bug 1422462, allow controlling error handling when classloading fails in JavadocMethod check.
Technically this change also allows controlling RedundantThrows check, however this deliberately remains undocumented as code must be compilable and hence failing to load a class mentioned in the throws clause of a method is always a configuration problem.

Fixed some minor documentation problems like typos and duplicate example code along the way.
2006-02-07 20:17:14 +00:00
Oliver Burn c38185458a Code cleanup 2006-01-21 12:43:02 +00:00
Lars Kühne 52e2087c40 - consistently use ${target.dir}
- build checkstyle-all.jar directly from jars, without unpacking them in a tmp folder
- avoid adding overview.html from beanutils.jar to checkstyle-all.jar
2006-01-18 21:15:12 +00:00
Lars Kühne 832c1c426e import cleanup 2006-01-18 20:19:34 +00:00