2227 Commits

Author SHA1 Message Date
Tom Copeland
bd07f30884 Added getDimensions() to ASTType
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2298 51baf565-9d33-0410-a72c-fc3788e3496d
2003-10-08 13:09:33 +00:00
Tom Copeland
5a0598ea9c Added getDimensions() to ASTType
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2297 51baf565-9d33-0410-a72c-fc3788e3496d
2003-10-08 13:09:32 +00:00
Tom Copeland
d3f9e9be36 Added copyright headers
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2296 51baf565-9d33-0410-a72c-fc3788e3496d
2003-10-07 18:49:22 +00:00
Tom Copeland
8f2e045a99 fixed typo
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2295 51baf565-9d33-0410-a72c-fc3788e3496d
2003-10-07 15:36:16 +00:00
Tom Copeland
8330fb4036 post rls
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2294 51baf565-9d33-0410-a72c-fc3788e3496d
2003-10-07 14:23:34 +00:00
Tom Copeland
8b4d62eae4 Rls preps
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2292 51baf565-9d33-0410-a72c-fc3788e3496d
2003-10-07 13:52:58 +00:00
Tom Copeland
ddbea7223c Added Jeff's Textpad notes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2291 51baf565-9d33-0410-a72c-fc3788e3496d
2003-10-06 19:25:23 +00:00
Tom Copeland
9d925253f6 Added unit tests for TextPad integration; thanks to Jeff Epstein
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2290 51baf565-9d33-0410-a72c-fc3788e3496d
2003-10-01 14:57:20 +00:00
Tom Copeland
ef15de284f Some minor refactoring
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2289 51baf565-9d33-0410-a72c-fc3788e3496d
2003-10-01 13:53:57 +00:00
Tom Copeland
18c1e831e1 Checked in Gabe Johnson's new CloseConnectionRule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2288 51baf565-9d33-0410-a72c-fc3788e3496d
2003-10-01 13:45:22 +00:00
Tom Copeland
6d08d0846f Fixed problem QStudio found
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2287 51baf565-9d33-0410-a72c-fc3788e3496d
2003-10-01 13:31:48 +00:00
Tom Copeland
6466419b1a Added Jeff Anderson's node finding utilities
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2286 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-30 14:04:09 +00:00
Philippe Herlin
d87f4761b8 Adding and implementing "JDK13 compatibility" property.
Desactivated, waiting for PMD 1.2.2 to be released


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2285 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-29 22:38:49 +00:00
Philippe Herlin
883b58aad1 Adding and implementing "JDK13 compatibility" property.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2284 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-29 22:38:09 +00:00
Tom Copeland
9e0452ab37 Tweaked run.bat
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2283 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-29 18:26:59 +00:00
Tom Copeland
83bd38c498 Committed regression test suites, thanks to Boris Gruschko
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2282 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-29 14:32:33 +00:00
Tom Copeland
bb2e6aa32b Added some more exceptions functionality to AvoidDuplicateLiteralsRule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2281 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-26 18:12:21 +00:00
Tom Copeland
eea1be05dd Changed 'exceptions' to 'exceptionsFile'
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2280 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-25 20:47:29 +00:00
no_author
0449604ad7 Added an 'exceptions' feature to the AvoidDuplicateLiteralsRule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2279 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-25 20:20:58 +00:00
no_author
4c73274944 Added an 'exceptions' feature to the AvoidDuplicateLiteralsRule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2278 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-25 20:20:21 +00:00
Tom Copeland
9bef56ca40 Checked in Jeff's TextPad integration
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2277 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-25 14:47:18 +00:00
Tom Copeland
89508f4ed5 Trevor Harmon's new XSLT script
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2276 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-24 18:46:59 +00:00
Tom Copeland
89c6109878 Cleaned up imports
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2275 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-23 20:51:06 +00:00
Tom Copeland
1984e8e51d Fixed some stuff PMD found
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2274 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-23 20:34:34 +00:00
Tom Copeland
bceb119ad5 Added Boris Gruschko's new AST/XPath viewer
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2273 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-23 20:32:42 +00:00
Tom Copeland
0ad994d043 Fixed compilation issues
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2272 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-22 19:23:59 +00:00
Tom Copeland
609b0f0fa9 Making things work right with RuleProperties again
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2271 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-22 18:39:40 +00:00
Tom Copeland
2cf2c8bd93 Added more unit tests
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2270 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-22 15:11:26 +00:00
Tom Copeland
e716e1d041 Cleaned up method names, added some documentation
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2269 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-17 19:48:45 +00:00
Tom Copeland
2de954241b More unnecessary local variable removals
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2268 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-16 20:02:33 +00:00
Tom Copeland
702ee5f098 Removed some unnecessary local variables from the Literal expansion
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2267 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-16 19:57:11 +00:00
Tom Copeland
02da1c921b Enhanced grammar to pick up different assignment operators
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2266 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-16 17:45:04 +00:00
Tom Copeland
3cb6c5f781 Minor neatening of grammar file; no semantic changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2265 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-16 15:21:51 +00:00
Jiger Patel
6ff112010a Removed deletion of PMDPlugin.jar from install dir
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2264 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-15 09:29:01 +00:00
Jiger Patel
07b1bc2883 Removed old files
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2263 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-15 09:25:34 +00:00
Jiger Patel
5ef6d00ce6 Renamed to PMDJEditPlugin to PMDPlugin
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2262 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-15 09:16:44 +00:00
Jiger Patel
ae463d3826 Removed unused imports.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2261 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-15 08:21:34 +00:00
Jiger Patel
e121a70719 Rectified checkOpenBuffers to correctly parse buffers of any type whether remote or local.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2260 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-15 08:17:47 +00:00
Jiger Patel
3cd3d8c908 Removed buffer.getFile() which would return null for remote files and thus fail PMD jEdit Plugin
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2259 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-15 06:46:10 +00:00
Tom Copeland
9e29e9a736 Modifying grammar to throw exceptions when 'assert' is used as an identifier and JDK 1.4 compatibility is enabled
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2258 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-12 18:18:20 +00:00
Tom Copeland
95f70b0653 Parsing fails when assert is used as an identifier when in JDK 1.4 mode
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2257 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-12 15:57:25 +00:00
Tom Copeland
e07888b94b Fixed bug [ 805092 ] Problem with VariableNamingConventionsRule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2256 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-12 14:38:19 +00:00
Tom Copeland
3edcc53e5b Added a targetjdk13 boolean attribute to the Ant task
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2255 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-11 20:40:51 +00:00
Tom Copeland
d387f6abcf Added a targetjdk13 boolean attribute to the Ant task
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2254 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-11 20:40:42 +00:00
Tom Copeland
e28b298da2 Added -jdk13 option to command line arguments
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2253 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-11 20:36:34 +00:00
Tom Copeland
8e61889ba0 More assert lookahead stuff
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2252 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-11 20:09:53 +00:00
Tom Copeland
ccd5163b1a Cleaned up imports, removed dumb unit test
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2251 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-11 18:41:55 +00:00
Jiger Patel
effcf0ea85 Added the New PMD Structure as per the jEdit Plugin layout
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2250 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-11 05:52:00 +00:00
Jiger Patel
31896cc84c Removing all files to be replaced with the new jEdit Plugin src layout.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2249 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-11 04:23:03 +00:00
Tom Copeland
83d81b076b Fixed bug [ 690196 ] PMD doesn't work on JDK 1.3 code (assert keyword)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2248 51baf565-9d33-0410-a72c-fc3788e3496d
2003-09-10 21:09:04 +00:00