Commit Graph

559 Commits

Author SHA1 Message Date
Oliver Burn cd32cd1ab0 fix checkstyle errors 2002-10-31 09:59:49 +00:00
Lars Kühne c0a8e0ff6c ported Verifier.verifyDot() to NoWhiteSpaceAroundCheck 2002-10-31 06:25:59 +00:00
Lars Kühne 67ac0b2ade DropTargetAdapter is only available in JDK 1.4, using DropTargetListener instead
as this was the only place in the source tree where 1.4 was required
2002-10-31 04:58:11 +00:00
Oliver Burn 663a1a72f4 Fixed Checkstyle errors 2002-10-30 22:28:39 +00:00
Lars Kühne 471cc3509b Ported constructor length check, patch contributed by Rick Giles 2002-10-29 20:20:14 +00:00
Oliver Burn 87c1f4ffb6 Patch from Rick Giles 2002-10-29 13:56:28 +00:00
Oliver Burn b368f9b91f Patch from Rick Giles 2002-10-29 13:50:06 +00:00
Oliver Burn 6e676cac5d Patch from Rick Giles. Also removed dead code 2002-10-29 13:44:30 +00:00
Oliver Burn cbce85c08c Patch for Rick Giles 2002-10-29 13:37:20 +00:00
Oliver Burn 96abec9ddf Patch from Rick Giles - also removed the dead code 2002-10-29 13:30:30 +00:00
Oliver Burn 50ffeeae38 Finished port of Local name check - deleted old code 2002-10-29 13:22:11 +00:00
Oliver Burn ff49be94c4 Patch from Rick Giles 2002-10-29 13:17:16 +00:00
Oliver Burn d000ac3d7b Finished port of Local Final name check - deleted old code 2002-10-29 13:00:25 +00:00
Oliver Burn 64a5413307 Patch from Rick Giles 2002-10-29 12:51:27 +00:00
Oliver Burn 7fa61f5c0b Finished porting across the Javadoc checking for types.
Cleaned up Javadoc errors.
Removed unused imports.
Minor refactoring.
2002-10-29 12:39:42 +00:00
Lars Kühne 2a8aba9a54 Avoid duplicate matching and logging code by introding an abstract name check class.
patch contributed by Rick Giles
2002-10-29 06:20:46 +00:00
Lars Kühne 59c9c64381 fixed style problems 2002-10-28 16:27:58 +00:00
Lars Kühne 675c037c85 fixed style problems 2002-10-28 16:10:21 +00:00
Lars Kühne 40496d0f8c import cleanup 2002-10-28 14:47:57 +00:00
Lars Kühne eecd476fa8 moved static AST helpers in Util to DetailAST 2002-10-28 09:31:54 +00:00
Oliver Burn 4bbe4acd31 Removed old constant name check 2002-10-27 22:52:18 +00:00
Oliver Burn e44cd4ec43 Added Constant Name Check 2002-10-27 21:58:10 +00:00
Oliver Burn 4d9e56e2b3 Start of port of javadoc check for types. 2002-10-26 08:00:35 +00:00
Oliver Burn b881f65b1a removing dead code 2002-10-26 07:01:32 +00:00
Oliver Burn 0c58241ecd removing dead code 2002-10-26 06:34:46 +00:00
Oliver Burn 8dd406793d Removed unused imports and also refactor scope utilities into a simple class. 2002-10-26 06:21:02 +00:00
Oliver Burn c8958bcd0e added bin to ignore list (Eclipse thing) 2002-10-25 21:58:39 +00:00
Lars Kühne 45e8617a5f removed DnD todo entry 2002-10-25 09:03:25 +00:00
Lars Kühne 5f19a9c5a7 fixed javadoc warning 2002-10-25 07:19:40 +00:00
Lars Kühne 87e4f786a5 Incorporated Rick's cleanup 2002-10-25 06:57:57 +00:00
Lars Kühne 91875d1901 incorporated drag and drop support, patch contributed by Rick Giles
Does not work with Linux/KDE, probably because of java bug #4638443
2002-10-24 17:51:21 +00:00
Oliver Burn 5922229625 Implemented the first Javadoc test. Still need to add some Javadoc (no pun
intended) and also refactor the utility methods.
2002-10-24 14:33:31 +00:00
Oliver Burn 7af9e82fc1 Refactored the comment manager class to having a file contents class. This
class has the file name, lines and comments.
2002-10-24 13:34:30 +00:00
Oliver Burn dcf0d774fa Been replaced by something bigger, brighter and better. 2002-10-24 13:32:24 +00:00
Lars Kühne d43823775a added missing input file for SimplifyBoolean Checks 2002-10-23 05:17:13 +00:00
Lars Kühne c2b22a74a2 fix for bug #626875, array instantiation incorrectly flagged 2002-10-22 14:13:34 +00:00
Lars Kühne acc3f40015 Added branchContains() to DetailAST.
Currently only used in EqualsHashCodeCheck to simplify code,
but I think this will be the main source of performance improvements in TreeWalker
2002-10-22 12:28:09 +00:00
Oliver Burn 65d7c52cf5 Removed unused whitespace 2002-10-22 12:01:05 +00:00
Lars Kühne c28f32e2a8 cleanup of duplicate parsing code in Checker and gui 2002-10-22 11:05:15 +00:00
Lars Kühne 9cd5e92d94 removed line/method length stuff from old codebase 2002-10-22 10:38:13 +00:00
Lars Kühne ceff53c8a4 added generic check for illegal regexps, RFEs #595254 and #621247 2002-10-22 08:02:57 +00:00
Lars Kühne 14e0b00df5 added javadoc, fixed typo in method name 2002-10-22 06:37:34 +00:00
Lars Kühne fc24f5f8b6 added check for equals() vs. hashCode, RFE #554373
see also Item 8 of "Bloch, Effective Java"
2002-10-21 18:04:54 +00:00
Lars Kühne dcca9953bc added Check for inner assignments
wow - took me 30 minutes, this is so easy !!!
2002-10-21 13:54:56 +00:00
Lars Kühne e5a3f98314 added package docs 2002-10-21 12:50:36 +00:00
Lars Kühne c77321d499 added class javadoc 2002-10-21 08:36:57 +00:00
Lars Kühne f1ef403f5e Added SimplifyBooleanExpressionCheck to find code like "if (b == true)".
Also fixed SimplyfyBooleanReturnCheck and introduced tests.
2002-10-21 07:20:19 +00:00
Lars Kühne 54b9235aed also added offending import in avoidStar message 2002-10-21 05:54:38 +00:00
Lars Kühne 768664d654 incorporated patch 626058 from Ville Skytte, Output duplicate/redundant import names 2002-10-21 05:19:15 +00:00
Lars Kühne 404fcfba9c removed line legth checks from old codebase 2002-10-19 13:30:45 +00:00