Commit Graph

54 Commits

Author SHA1 Message Date
Oliver Burn 3335cdeb4d Moved the reference checking to java.g 2002-01-13 06:34:38 +00:00
Oliver Burn a54d892da1 removed unused method reportIdentifier() 2002-01-13 05:02:06 +00:00
Oliver Burn 1c35230164 large refactoring of moving checking into java.g (from java.tree.g). Solved
all the hard problems - only some easy checks to migrate
2002-01-11 23:58:08 +00:00
Oliver Burn bd7cfcb3e5 Refactoring: removed unused methods reportStartMethodBlock() and
reportEndMethodBlock()
2002-01-11 13:45:54 +00:00
Oliver Burn 171df8e6e1 added a toString() method to help debugging 2002-01-11 13:42:55 +00:00
Oliver Burn b7157a9946 moved with tests into java.g 2002-01-11 12:26:23 +00:00
Oliver Burn 16d7e573b0 Moved the checking for ws around "if"s to java.g. Also refactored
calls to verifyWSAfterEnd() to use verifyWSAfterBegin() where
appropriate.
2002-01-11 11:56:55 +00:00
Oliver Burn 3188792cad Now have two methods for checking if ws around some text. One takes the column
where the text starts, and the other where the text ends. Needed because the
parser is different places either gives the start or the end.
2002-01-11 11:49:57 +00:00
Oliver Burn e3c3cdcea3 tightened up checking the STAR in multiplicativeExpression. Possible source of
a NPE reported by Lars.
2002-01-11 10:47:02 +00:00
Oliver Burn d16d3f310d <ignore>removed trailing whitespace</ignore> 2002-01-11 10:46:03 +00:00
Lars Kühne 75e9d8486e support jdk 1.4 assert statements, rfe 500122 2002-01-10 06:18:41 +00:00
Oliver Burn 047f8cef4b Started migrating the whitespace tests from java.tree.g to java.g 2002-01-09 15:06:03 +00:00
Oliver Burn 0b7bf27706 Now support ignoring whether whitespace is after a type cast. As requested by
Lars.
2002-01-08 04:18:02 +00:00
Lars Kühne c8756ab481 fix bug 499072, inner classes require author tag 2002-01-06 15:27:44 +00:00
Lars Kühne 9982fc546a javadoc checkscope tests 2002-01-06 12:53:48 +00:00
Lars Kühne 17d3b314bb javadoc checkscope implementation 2002-01-06 12:48:59 +00:00
Oliver Burn 7d82fd670a Added support to check that commas ';' in "for" statements are followed by
whitespace (ala the Sun coding standard).
2002-01-06 11:06:07 +00:00
Oliver Burn b7f1d0d1b7 Added support to check that commas ',' are followed by whitespace (ala the Sun
coding standard). This mainly involved refactoring the code I just wrote for
checking casts.
2002-01-06 10:31:32 +00:00
Oliver Burn edf2c95634 Made Checker & Configuration public so they can be used outside the package.
A requested feature to that Checkstyle can be integrated into IDE's like
NetBeans, JBuilder.
2002-01-06 07:40:36 +00:00
Oliver Burn d87ea06ebb Added support for checking the file length does not exceed a specified max. 2002-01-06 07:08:20 +00:00
Oliver Burn 637bf620e5 Support testing for the max method and constructor lengths 2002-01-06 06:40:19 +00:00
Oliver Burn 0957b67c1d Support setting the max method and constructor lengths 2002-01-06 06:30:29 +00:00
Oliver Burn efcb63fd74 Added support to check that casts are followed by whitespace, as recommended
in the Sun coding standard. Can be turned off with all other whitespace checks.
May want to specifically be able to turn off this feature.
2002-01-05 13:18:22 +00:00
Oliver Burn ad29236445 Included patch to check for whitespace around return statements. 2001-12-11 06:34:45 +00:00
Oliver Burn 518c2079d0 fixed (maybe?) a parse error 2001-12-10 02:22:25 +00:00
Oliver Burn 4fade39e72 patch for ignoring whitespace between Javadoc and declarations 2001-12-03 00:42:42 +00:00
Oliver Burn 82de45f06f Incorporate changes made to the ANTLR Java grammar 2001-11-26 12:25:45 +00:00
Oliver Burn 9a905be3a0 patch for checking more whitespace 2001-11-26 11:25:21 +00:00
Oliver Burn 7b4b37602e improved the tests 2001-11-03 10:40:15 +00:00
Oliver Burn fc3bd86681 cosmetic fixed 2001-11-02 12:38:09 +00:00
Oliver Burn 517e2450ca patch to ignore all javadoc and line length 2001-10-31 20:58:37 +00:00
Oliver Burn 85a53ccdaf making the default logger much more silent 2001-10-31 20:10:25 +00:00
Oliver Burn fb830fc73e fix checkstyle errors 2001-10-31 13:32:41 +00:00
Oliver Burn f8a69b0780 fix typos 2001-10-31 13:16:47 +00:00
Oliver Burn 403a3f70a3 patch to control ANT stopping the build on violations 2001-10-31 13:06:28 +00:00
Oliver Burn 030798a11d incorporate performance patch 2001-10-31 12:42:19 +00:00
Oliver Burn 1d21af32b9 first cut 2001-08-30 16:21:20 +00:00
Oliver Burn 0e3fe56436 started to incorporate logging events 2001-08-30 16:13:24 +00:00
Oliver Burn f34eba11cb improved technique to locate files 2001-08-30 13:09:57 +00:00
Oliver Burn a6df885ae1 included patch to be able to run unit tests from any directory. 2001-08-17 06:40:33 +00:00
Oliver Burn c4d036af76 removed debug statement 2001-08-17 03:18:14 +00:00
Oliver Burn 6c304950f6 added support for caching 2001-08-05 14:12:57 +00:00
Oliver Burn b3373646ee added support for yes,on,true for boolean properties 2001-08-05 07:41:59 +00:00
Oliver Burn d3f39e6b87 Added support for public member patterns. 2001-08-05 06:41:59 +00:00
Oliver Burn fa128598e1 start of changes for detecting unused variables 2001-08-05 05:18:58 +00:00
Oliver Burn b06dd9801e updated for the IgnoreBraces property 2001-07-02 06:42:29 +00:00
Oliver Burn be6d271ac3 added support for IgnoreBraces property 2001-07-02 06:23:24 +00:00
Oliver Burn ba46163e7c Added support for IgnoreWhitespace property. 2001-06-29 14:31:36 +00:00
Oliver Burn 9c56d57656 Implemented logic to detect package imports from the package itself. 2001-06-29 12:31:00 +00:00
Oliver Burn 69138e4022 refactored to use the new Configuration class. 2001-06-29 07:21:40 +00:00