Lars Kühne
daf94e4e8e
WhitespaceAround PLUS and MINUS
2002-09-22 14:00:32 +00:00
Lars Kühne
8313819dcb
WhitespaceAround deals with 'return;'
2002-09-22 13:29:57 +00:00
Lars Kühne
0fdfc2f360
intruduced AbstractCheckTestCase to provide common functionality for
...
all tests for Checks
use Java14 grammar in TreeWalker to be able to parse InputWhitespace.java
improved WhitespaceAroundCheck and added test
2002-09-22 12:27:55 +00:00
Lars Kühne
e4434ebe00
added new Java 1.4 grammar
2002-09-22 12:21:39 +00:00
Oliver Burn
78bc37d673
Fixed bug in Check
2002-09-21 14:04:16 +00:00
Oliver Burn
7e570084e6
Nearly for the first test to run. Having problems with loading resource
...
bundles.
2002-09-21 13:49:01 +00:00
Oliver Burn
03f8352479
Got the unit tests to pass again. They highlighted a bug in the recent
...
changes, and once again prove they are worth the effort. ;-)
2002-09-19 09:07:57 +00:00
Oliver Burn
1b7d45aed3
Got the unit test to pass
2002-09-19 08:54:43 +00:00
Oliver Burn
40c826f820
changed so that the class loader can be specified.
2002-09-19 00:34:35 +00:00
Oliver Burn
4ef220d914
fixed the problem of line/column numbers not being in the AST.
2002-09-18 23:33:17 +00:00
Oliver Burn
bd79d6897e
need to eventually fix the checkstyle errors
2002-09-18 23:22:51 +00:00
Lars Kühne
4880b50a3a
improved resource bundle handling:
...
- plugins can use their own bundle (location determined automatically)
- return the message key if ResourceBundle is not available
- added log helper methods in Check.java
2002-09-18 05:08:34 +00:00
Oliver Burn
18ce1a9f66
fixed bug with handling surrounding whitespace with the Scope option.
2002-09-17 23:13:56 +00:00
Oliver Burn
672b27dd55
Moved all the Localization stuff into the api directory. The plan is reused
...
the localisation support in the checks.
2002-09-17 12:33:30 +00:00
Lars Kühne
ffb17cde0f
some javadoc and TODO comments
2002-09-16 05:08:11 +00:00
Lars Kühne
47bec440d9
initial implementation of CommentManager, calling report methods from the grammar will be next
2002-09-15 18:27:45 +00:00
Lars Kühne
1d528505f9
... and make sure they can be compiled
2002-09-15 16:55:59 +00:00
Lars Kühne
15b4a0f888
initial checkin of check implementations
2002-09-15 16:35:37 +00:00
Oliver Burn
19257b2cdb
Added the tree walker (with all the bugs hopefully marked with TODO:
...
comments). Currently keeping the old grammars around so we can checkstyle the
new checkstyle will old version. Kind of a version of boot strapping. :-)
2002-09-15 12:44:17 +00:00
Oliver Burn
c266dfbc64
Added the new 1.3 grammar
2002-09-15 12:09:19 +00:00
Oliver Burn
5b1564d282
first cut
2002-09-15 11:46:30 +00:00
Oliver Burn
446193579f
first cut
2002-09-15 11:31:55 +00:00
Oliver Burn
75482cc4f0
disable todo checking when run under gump
2002-09-15 11:30:51 +00:00
Oliver Burn
d905adf77e
the start of an interesting adventure
2002-09-15 11:07:01 +00:00
Oliver Burn
2b9b1e2021
Added some advice on upgrading
2002-09-14 05:14:15 +00:00
Oliver Burn
310100c239
Added some advice on upgrading
2002-09-14 05:07:00 +00:00
Oliver Burn
ea13b70f2f
updated for JDE
2002-09-14 04:24:08 +00:00
Oliver Burn
f888422e8d
going for a release
2002-09-14 03:19:11 +00:00
Oliver Burn
63c7ac019f
removed unused property
2002-09-13 09:10:07 +00:00
Lars Kühne
3fecb73fb3
incorporte patch 607481 from Ville Skyttä to enforce wrap on operator at EOL
2002-09-13 05:43:47 +00:00
Oliver Burn
92ea4cfb51
Backed out the BCEL based checking for unused class member variables.
2002-09-10 10:57:09 +00:00
Lars Kühne
8a65d2ff82
docs for package name check
2002-09-08 12:55:14 +00:00
Lars Kühne
dfd870600d
added test for package name
...
fixed TODO check (got lost during recent refactoring)
2002-09-08 12:30:56 +00:00
Lars Kühne
01d0f17ca7
Basic implementation of RFE #597787 (check package name).
...
Configuration, tests and docs still missing
2002-09-08 08:44:00 +00:00
Lars Kühne
218bbeb80d
added <h2> headers
2002-09-08 07:53:14 +00:00
Oliver Burn
9ef57a9502
Renamed to CHECK_UNUSED_FIELDS_PROP to allow for CHECK_UNUSED_METHODS_PROP in
...
the future. Not this release.
2002-09-08 07:50:02 +00:00
Oliver Burn
7f06106f4e
Yahoo! Implemented checking for unused private fields. Just need to document
...
the new feature. It is off by default as the class path must be set up. Can
use the same technique for private methods.
2002-09-08 07:31:37 +00:00
Oliver Burn
98c8a0db55
The absolutely last refactoring change with the properties config stuff. I am
...
sick it. Absolutely sick of it! Completely and utterly sick of it!! Still, the
change is better for the future.
2002-09-07 02:02:24 +00:00
Oliver Burn
49eb0e934e
Yet another refactor to have the ANT task support a nested <property>
...
element. This let me remove the ugly have I put in to support relative
paths. Got the idea from Vincet Massol. Bug 605141.
2002-09-07 01:36:40 +00:00
Oliver Burn
fdc564f6b2
Cleaned up visibility
2002-09-05 02:52:47 +00:00
Oliver Burn
aff5047c9e
Patch to make loading of relative file paths work. Basically duplicating the
...
work that ANT used to do. There had to be some pain in the refactoring. ;-)
2002-09-05 02:46:40 +00:00
Oliver Burn
ac18264bf6
Patch to make Checkstyle run. Need to fix the TODO reported.
2002-09-04 14:35:10 +00:00
Oliver Burn
2df5874fc8
Improved the error handling
2002-09-04 14:33:07 +00:00
Oliver Burn
8a2f9d179f
Fixed bugs in the build.xml file.
2002-09-04 14:30:14 +00:00
Oliver Burn
62354b2ad9
Major refactor to make Configuration only be configured through properties
2002-09-04 13:50:23 +00:00
Oliver Burn
7335df239d
Major refactor to make Configuration only be configured through properties
2002-09-04 13:38:51 +00:00
Oliver Burn
98d883bb3b
Major refactor of the CheckerTest to configure using properties.
2002-09-04 13:28:53 +00:00
Oliver Burn
a5bd0522b8
Cleaned up to use the new config files.
2002-09-04 12:28:11 +00:00
Oliver Burn
47f3495932
Renamed all checksXXXX.html files to configXXXX.html
2002-09-04 12:17:29 +00:00
Oliver Burn
a926120685
Renamed all checksXXXX.html files to configXXXX.html
2002-09-04 12:10:15 +00:00