Commit Graph

833 Commits

Author SHA1 Message Date
Oliver Burn 53197d9be9 Patch from David Schneider to add Severity to logged messages. 2003-03-11 06:56:45 +00:00
Oliver Burn 5d4dd44322 tighten the noose 2003-03-11 05:55:03 +00:00
Oliver Burn ca80f50be8 Fixed GUMP reported errors. 2003-03-04 10:53:24 +00:00
Lars Kühne c291163790 fixed avalon links, patch by Peter Dobratz 2003-03-02 09:42:30 +00:00
Lars Kühne 7e610c264c javadoc fixes 2003-03-02 08:45:40 +00:00
Lars Kühne 0efabf8e76 hide constructor 2003-03-02 08:10:41 +00:00
Lars Kühne 94c3033786 added javadoc for toString() 2003-03-01 09:09:38 +00:00
Lars Kühne 66d14ffc83 javadoc fixes (patch by Peter Dobratz) 2003-03-01 09:09:17 +00:00
Lars Kühne 250aa4b3ff javadoc fixes (patch by Peter Dobratz) 2003-03-01 09:01:24 +00:00
Lars Kühne 4e87da6bea added link to ANTLR FAQ (patch by Peter Dobratz) 2003-03-01 08:55:31 +00:00
Lars Kühne 1ddca05027 added link to writingchecks.html (patch by Peter Dobratz) 2003-03-01 07:56:08 +00:00
Lars Kühne 632b1cd8cf copy array before returning it
thanks to Peter Dobratz for reporting this problem
2003-03-01 07:24:09 +00:00
Rick Giles 784b327005 Handle all parse errors,esp.those throws by the ANTLR parser on a
syntax error (see bug request id 694111).
2003-02-28 18:24:31 +00:00
Oliver Burn 0f8970e390 Added patch from Peter Dobratz to improve documentation. Thanks. 2003-02-28 12:14:03 +00:00
Oliver Burn 8c42377886 Fix cause of GUMP failure. 2003-02-25 05:47:43 +00:00
Oliver Burn c60f4cb6f2 Just a minor tweak to the logic to check early for a null
Properties object.
2003-02-23 21:53:17 +00:00
Lars Kühne 4780212174 use a PropertyResolver interface instead of using Properties directly 2003-02-23 12:29:18 +00:00
Lars Kühne 7166b6a1d0 made ConfigurationLoader final
moved SaxHandler methods to inner class so they do not appear in the public API
2003-02-23 08:20:36 +00:00
Oliver Burn 17cfbb2442 Changed the scope to be public. 2003-02-23 07:32:30 +00:00
Lars Kühne 7f9839943c fixed bug reported by Joe Comuzzi 2003-02-18 20:42:04 +00:00
Lars Kühne 6ee609ba60 test input for rcurly bug reported by Joe Comuzzi 2003-02-18 20:33:05 +00:00
Lars Kühne 18fd9760c3 added AvoidInlineConditionals 2003-02-18 06:12:39 +00:00
Lars Kühne 669def894e finally added all the new checks that I built during feature freeze
need to do more tests and write docs
2003-02-18 05:19:08 +00:00
Lars Kühne adcc7a14d8 fixed javadoc 2003-02-17 05:10:48 +00:00
Oliver Burn 04b0bd6404 Last API change before release (I hope:-). Now when notifying of the start and
finish of tree, based the root node. Maybe useful to some checks.
2003-02-16 02:50:24 +00:00
Lars Kühne 3aa99fde8e removed duplicate code in PackageHtml and Translation
by introducing a protected helper method in AbstractFileSetCheck
2003-02-15 16:07:29 +00:00
Lars Kühne 060b37614b javadoc improvements 2003-02-15 15:54:47 +00:00
Lars Kühne ebfc07bcbd small performance improvement,
avoid recalculation of fileName in File.getName()
2003-02-15 12:19:34 +00:00
Lars Kühne 00fb7f0c18 FileSetChecks are now responsible for filtering
out the files they are not interested in, as discussed
on the checkstyle-devel list
2003-02-15 12:13:32 +00:00
Lars Kühne a170655179 improved error message, thanks to Paul Roebuck for complaining about the old one 2003-02-11 06:20:50 +00:00
Rick Giles c97f8557e9 corrected default regexp (a Jakarta regexp error?) 2003-02-10 11:50:26 +00:00
Lars Kühne e853ed726f added configuration loading from URLs, RFE #682140 2003-02-08 17:57:42 +00:00
Lars Kühne 9b3c6b1be5 ... and another stream that wasn't closed. 2003-02-08 10:04:36 +00:00
Oliver Burn 57a28c890c Compiles under JDK 1.3.1 and ANT 1.4.1 2003-02-06 12:29:46 +00:00
Lars Kühne 0fa46f6d5e removed support for japanese (forgot to commit the removed file) 2003-02-06 05:30:34 +00:00
Lars Kühne eeba08c102 CheckstyleException now supports nested exceptions 2003-02-04 19:32:47 +00:00
Oliver Burn c13f6dd07d Fix Checkstyle errors - all mine :-( 2003-02-04 11:45:44 +00:00
Oliver Burn 9c48e3107d Fix compilation under JDK 1.3.x 2003-02-04 11:37:44 +00:00
Lars Kühne d2689e6eb0 unit tests for FinalParametersCheck 2003-02-02 11:39:19 +00:00
Lars Kühne 829a44bde4 fixed bug where non-final method params were not flagged in anon inner classes 2003-02-02 11:37:42 +00:00
Lars Kühne f313f31ab3 initial implementation of RFE #528196.
- no JUnit tests
- Untested on anonymous classes
- undocumented
- not internationalized
2003-02-02 08:06:24 +00:00
Oliver Burn 2820c1d09d rfe-652294: added support for specifying file extension for Java files 2003-02-02 01:29:53 +00:00
Oliver Burn c31e60f907 removed unused imports 2003-02-02 00:25:24 +00:00
Lars Kühne 635444ddb2 fixed NPE reported by Paul King, getPackage() might return null...
I can't believe it's so difficult to extract the package name of a class...
2003-01-31 06:11:23 +00:00
Lars Kühne d963b8bfc2 fixed problems when a '.' occurs in a directory name 2003-01-31 06:01:35 +00:00
Lars Kühne 10330437dd improved error messages so a user can understand them 2003-01-28 20:50:29 +00:00
Lars Kühne 113a92e0d8 moved property expansion from api package to private method of ConfigurationLoader (bug #670594) 2003-01-28 19:57:46 +00:00
Lars Kühne ee2e1a5cb3 moved property expansion from api package to private method of ConfigurationLoader (bug #670594)
also added property expansion of ANT properties
2003-01-28 19:56:24 +00:00
Lars Kühne a16368d3f8 close the InputStream for property file loading explicitly
instead of relying on the stream's finalize method
2003-01-21 06:23:45 +00:00
Lars Kühne a7d9874074 set locale for tests to english instead of the default locale
to get the tests running no matter what the default locale of
the system is.
2003-01-21 05:48:21 +00:00