Commit Graph

2011 Commits

Author SHA1 Message Date
Oliver Burn 21d2edeffd Fix annoying errors in Eclipse. 2005-05-21 01:31:04 +00:00
Oliver Burn f0be1ede99 Fix annoying errors in Eclipse. 2005-05-21 01:07:50 +00:00
Oliver Burn 0218e797e0 Just fix up sloppy coding. 2005-05-21 01:07:00 +00:00
Oliver Burn b7ff7f77f8 Simple fix 2005-05-21 01:05:35 +00:00
Michael Studman 9522d45545 Fixed IDENT lexer rule to reflect JLS. 2005-05-20 07:56:48 +00:00
Lars Kühne 94d1f62865 added note about possible invalid configurations after conversion to java.util.regex 2005-05-17 04:58:36 +00:00
Oleg Sukhodolsky 7300857236 Removing dependancy on Jakarta Regexp:
All references to Jakarta Regexp removed from the docs/javadocs.
Removed regexp.jar.

Patch 835901:
Added package lists for antlr and jdk to make rosslink our docs with
antlr and jdk1.4.2 (if you see some problems here feel free to correct).
2005-05-15 05:18:42 +00:00
Oleg Sukhodolsky e27489c772 initial replacing RE by Pattern (need to update docs) 2005-05-11 16:48:11 +00:00
Oleg Sukhodolsky 3d8fc87ef6 fix for 1193855 (Spurious java.lang.NullPointerExceptions during processing) 2005-05-05 12:44:17 +00:00
Oleg Sukhodolsky edd5ba536d One more fix for Indentation check and enums (bug 1193850) 2005-05-04 14:49:12 +00:00
Oleg Sukhodolsky 0c3c817b22 fix for 1194470 (DesignForExtension should ignore enums) 2005-05-04 13:02:48 +00:00
Lars Kühne 29e611bd87 simplified implementation by using JDK 1.4 features 2005-04-30 15:51:34 +00:00
Oliver Burn 0f198d8b89 Update version number 2005-04-30 11:51:48 +00:00
Lars Kühne 0c24666d06 removed initCause() trick for JDK 1.3, with minimum.java.version 1.4 it is no longer required. 2005-04-30 06:52:20 +00:00
Lars Kühne 0546e55c06 documented minimum.java.version 1.4 2005-04-30 06:49:08 +00:00
Oliver Burn 80d82a69d6 Fix unit test failure and prepare for a beta2 release. 2005-04-29 23:10:51 +00:00
Oleg Sukhodolsky 2e5def2dba update information about JetStyle. 2005-04-22 09:49:41 +00:00
Oleg Sukhodolsky 0595eb9096 Some changes to testinputs to make them compilable (all I want/can do
for this :)
Also fixed NPE in usage checks (bug 1165855)
2005-04-22 09:40:37 +00:00
Michael Studman 458086242f Fix for 1109222 including a modification to the AST for FOR_EACH_CLAUSE branches and assorted additional test cases for generics and other Java 5 language features. 2005-04-20 00:23:50 +00:00
Oleg Sukhodolsky 78d8f443dd fix for 1185722 (DeclarationCollector.leaveToken unbalanced with visitToken) 2005-04-19 09:14:30 +00:00
Michael Studman 770e3a12f7 Fixed problem where super.*() invocations with type parameters would be unecessarily flagged. 2005-04-18 20:25:04 +00:00
Oleg Sukhodolsky be3f6d793c Some changes to testinputs to make them compilable (not completed for
now).
Also, I've removed test for SuperFinalize check which tests finalize()
method in enums, since enums can not have this method.
2005-04-18 14:30:16 +00:00
Michael Studman 9a15d83aa7 Added foreach test cases for ExplicitInitializationCheck. 2005-04-17 11:39:30 +00:00
Michael Studman 662354a902 Added generics test cases for ExplicitInitializationCheck. 2005-04-17 11:35:40 +00:00
Michael Studman 8a518cb679 Fixed EqualsHashCodeCheck to ignore generics in determination of check failure. 2005-04-17 11:13:17 +00:00
Oleg Sukhodolsky 7b2966e2a5 fixed gump failure 2005-04-15 10:29:43 +00:00
Michael Studman cdae6db5b8 Added generic covariant test input. 2005-04-15 00:01:13 +00:00
Michael Studman fab025f0d1 Stopped default annotation members being checked for DefaultComeslastCheck. Minor and unrelated change to AST structure for annotation defaults. 2005-04-14 23:59:16 +00:00
Michael Studman 836bb79348 Added enum tests source 2005-04-14 23:35:22 +00:00
Oleg Sukhodolsky 1f15794816 update of release notes 2005-04-14 13:15:14 +00:00
Oleg Sukhodolsky b5c738e6d0 Fix for 1098126 - UnusedImportsCheck does not work properly
we need to collect information about declared fields and variables.
Added some java 1.5 support for RequireThis check, since both
UnusedImport and RequireThis now have common superclass and it's not
very hard :)
Fixed couple testinputs files to make them compilable.
2005-04-14 13:02:44 +00:00
Michael Studman 28c8ed692f no message 2005-04-13 20:00:55 +00:00
Oleg Sukhodolsky 5511faa0c1 Lines shoun't be longer than 80 chars 2005-04-13 08:24:38 +00:00
Michael Studman d7df762a65 no message 2005-04-13 00:58:11 +00:00
Oliver Burn 42484a32cd Change checkstyle.minimum.javaversion to 1.4. 2005-04-10 07:27:31 +00:00
Lars Kühne 42c737a970 fixed broken imports link (bug #1178873) 2005-04-10 07:10:24 +00:00
Oliver Burn e89639036c Fix some Checkstyle errors that have crept in. Converted my first program
over to the new Java 5 language constructs today. Manly the new
for loop syntax and types for the collections. To be honest I was not
left with the feeling of "how did I survive without this features". Time
will tell.........
2005-04-06 13:17:58 +00:00
Oliver Burn 1cd112831f Fix some Checkstyle errors that have crept in. Remember that
must be prepared to eat our own dog food (or so the saying goes:-).
2005-04-06 13:13:43 +00:00
Oliver Burn 66d6361c27 Trying out Eclipse 3.1M6 (quite nice) and decided to
fix the error reported about a field shadowing a field
in an outer scope.
2005-04-06 13:12:01 +00:00
Michael Studman ed12c276a8 QUESTION token is never present in a generic declaration - that's converted to WILDCARD_TYPE 2005-04-05 00:37:39 +00:00
Michael Studman 9fe0fc4f53 Fixed a few AST problems (shallow branch duplication, IDENT being a parent). 2005-04-04 23:52:16 +00:00
Michael Studman 2a9fd54faa Refactored checking of operator token for participation in generic declaration into separate method. 2005-04-04 23:20:43 +00:00
Michael Studman a4df304720 javadoc correction 2005-04-04 23:18:39 +00:00
Michael Studman 65195c5bf5 Added utility method for checking if a LT,GT,BAND or QUESTION token is not an operator but part of a generic declaration. 2005-04-04 23:17:29 +00:00
Michael Studman f3fe388937 Fix to ignore LT,GT,BAND,QUESTION tokens if part of generic declaration. Partially based on patch 1097339. 2005-04-04 21:55:40 +00:00
Lars Kühne c4d4b6139c added docs for fileExtensions property of NewlineAtEOF (bug #1174751) 2005-04-04 19:10:31 +00:00
Lars Kühne f1edab8dd0 Added "source" and "target" tags to javac calls. This means that
- we avoid some compiler warnings on JDK 1.5
- follow the advice from the Ant team ("we highly recommend to always set this attribute")
- even if Checkstyle is compiled on JDK 1.5, it can still be used on 1.3 (untested)
2005-04-04 04:22:00 +00:00
Lars Kühne 2dec3ca7ae I swear I usually don't make mistakes like this :-) 2005-04-04 04:17:24 +00:00
Lars Kühne 4d61249805 added return types and fixed class name, so class is syntactically correct 2005-04-04 04:11:31 +00:00
Lars Kühne b0836d0b17 fixed singular/plural mistake 2005-04-03 12:58:21 +00:00