Oleg Sukhodolsky
36c152edea
Added check for the ncss metric.
2004-04-25 08:19:19 +00:00
Lars Kühne
65603924fd
Added check that checks for a required regexp, contributed by Daniel Grenner
...
request 606115, patch 902189
2004-04-17 05:22:12 +00:00
Lars Kühne
c1a79b1122
Added attributes maxErrors and maxWarnings to Ant task to allow finetuning of failure behaviour (request 783538)
...
Refactored Checker to use new SeverityLevelCounter class instead of implementing the same funtionality in private inner class
2004-04-12 10:54:27 +00:00
Oleg Sukhodolsky
e5f09c7fd2
Fix for 925263 (Redundant throws, exceptions as nested classes)
2004-04-04 15:56:04 +00:00
Lars Kühne
5b07a9df8a
establish behaviour for standalone @see tags in the unit tests
2004-04-03 08:19:40 +00:00
Oleg Sukhodolsky
cdf0ac0f4c
Scoping for javadoc checks
2004-03-27 21:10:17 +00:00
Oliver Burn
5e7932be70
Fixed Checkstyle errors
2004-03-25 12:23:42 +00:00
Lars Kühne
4039611539
fixed bug 884035, DesignForExtension fires for private inner classes
2004-03-23 22:28:47 +00:00
Lars Kühne
914075ac2d
translations for UnnecessaryParentheses check
2004-03-10 06:13:10 +00:00
Oleg Sukhodolsky
8e5c074c44
UnnecessaryParentheses check (patch from Eric Roe)
2004-03-09 06:40:41 +00:00
Oleg Sukhodolsky
9ce0ceb04a
Some improvements for JavadocType check.
2004-03-08 18:22:50 +00:00
Oleg Sukhodolsky
96cced5b4e
Test for format property of ReturnCount check
2004-03-07 11:12:26 +00:00
Oleg Sukhodolsky
90fbe02d8a
added ignoreNonLocal to UnusedParamete chech
2004-03-07 11:09:59 +00:00
Oleg Sukhodolsky
f5bb7772af
Fixing gump failure
2004-03-07 11:05:51 +00:00
Lars Kühne
4c43406153
Upped dtd version to 1.2
...
Entity resolver for configuration files now handles
all previous versions of the configuration DTD locally, without
accessing the internet (bug 909987)
2004-03-06 07:15:08 +00:00
Lars Kühne
6d74014969
removed "default" attribute from 1_1 dtd again,
...
use a new dtd instead (but keep the old one)
2004-03-06 06:59:12 +00:00
Lars Kühne
0ad430e2a5
translated new messages to german
2004-03-06 06:56:54 +00:00
Oleg Sukhodolsky
d0df5e9a9e
Fixed 909619. ExplicitInitialization shouldn't report about explicitly initialized member of interface.
2004-03-04 13:35:31 +00:00
Rick Giles
69e6c6f448
fixed bug 908339 - Erroneous UnusedPrivateField error
2004-03-02 19:40:28 +00:00
Oleg Sukhodolsky
a1913e7c77
Moving intersects() method to TextComment interface.
2004-03-01 06:50:14 +00:00
Oleg Sukhodolsky
c4288bb3bc
Moving intersects() method to TextComment interface.Minor javadoc changes in Comment.src/checkstyle/com/puppycrawl/tools/checkstyle/api/Comment.java
2004-03-01 06:27:28 +00:00
Lars Kühne
3ad02e2dcd
Ignore comments in GenericIllegalRegexp check,
...
contributed by Daniel Grenner
2004-02-29 13:43:28 +00:00
Lars Kühne
22d0ed9d4c
added default attribute to configuration <property> tags,
...
see recent "property resolution changes" discussion on checkstyle-devel list
2004-02-29 07:45:10 +00:00
Oleg Sukhodolsky
6bfb6b7b1a
Added pattern for names to ignore from ReturnCount (request 904437)
2004-02-28 14:08:59 +00:00
Oleg Sukhodolsky
4a1fc90335
Added checkEmptyJavadoc property to JavadocStyle check, contributed by Daniel Grenner (request 849056, patch 903597)
2004-02-27 07:20:14 +00:00
Oleg Sukhodolsky
5fb27c0fe2
Fix for 897749 (JavadocStyleCheck @value tag). Fixed javadoc inline tags handling.
2004-02-25 18:31:09 +00:00
Oleg Sukhodolsky
804e50ee31
Implementation for 724871 (provide programmatic access to tokentype documentation)
2004-02-24 19:41:51 +00:00
Lars Kühne
c83578baf4
removed unused imports
2004-02-21 13:21:34 +00:00
Lars Kühne
da2328d0f1
added new check EmptyForInitializerPad and changed logic in NoWhiteSpaceBefore and ParenPad to fix bug #895072
2004-02-15 11:31:32 +00:00
Rick Giles
e5ad46010b
Fixed MagicNumberCheck bug when checking a cast, bug 890706.
2004-02-04 22:44:59 +00:00
Oleg Sukhodolsky
7f103f3760
TrailingComment check, request 744970
2004-01-29 19:30:03 +00:00
Oleg Sukhodolsky
803dafc96a
Implemented 885993 (Wrap all comments into TextBlocks).
...
Draft implementation for 744970 (Forbid endline comments)
2004-01-29 02:41:50 +00:00
Oleg Sukhodolsky
9696781072
Fix for IllegalStateException in CheckUtils.isEqualsMethod()
2004-01-28 09:36:02 +00:00
Oliver Burn
498e85c3b0
Part of the refactoring.
2004-01-26 10:53:01 +00:00
Oliver Burn
433209f256
A refactoring to remove the circular dependency between the checkstyle and
...
checkstyle.filters packages. I moved AbstractLoader to the checkstyle.api
package. I moved the SuppressionsLoader to the checkstyle.filters package.
I found the dependencies using the neat Pasta tool which I recommend. It is
available from http://javacentral.compuware.com/pasta/ for free.
2004-01-26 10:39:08 +00:00
Oleg Sukhodolsky
74b57239f5
Implementation of rfe 695935 (Valid public identifier is still failing field naming style). Not sure that this is a best approach to implement. Open to discussions.
2004-01-25 14:17:27 +00:00
Oliver Burn
88b72c3df7
General clean up - setting up Eclipse 3.0 M6.
2004-01-25 10:23:53 +00:00
Oliver Burn
5bfd76b4de
Removed unused variables.
2004-01-25 10:13:03 +00:00
Oliver Burn
8150d69c42
General house cleanup - setting up Eclipse M6
2004-01-25 08:36:59 +00:00
Rick Giles
c9a1a41a16
fixed bug 880954: UnusedPrivateMethod false positive (ternary call).
2004-01-23 01:02:56 +00:00
Oliver Burn
b70d5956b6
Fixing up ignore
2004-01-21 09:38:24 +00:00
Rick Giles
9e5fe92b7c
corrected errors reported by MethodParamPadCheck
2004-01-21 01:23:25 +00:00
Rick Giles
821540c3a8
corrected test case
2004-01-21 01:13:52 +00:00
Rick Giles
dc5ea22c73
Added check for the padding between the
...
identifier of a method definition, constructor definition,
method call, or constructor invocation;
and the left parenthesis of the parameter list. (module
MethodParamPad, request 843254)
2004-01-21 01:10:59 +00:00
Rick Giles
30a895e589
Fixed bug: JavadocStyleCheck throws StringIndexOutOfBoundsException when open tag character, <, is the last character on a line.
2004-01-18 20:08:07 +00:00
Rick Giles
a7bede3cb4
Fixed bug: MagicNumberCheck throws NumberFormatException with negative octal and hex ints and longs.
2004-01-18 19:37:48 +00:00
Rick Giles
ddff555c2d
Fixed bug 878608: Error in reporting UnusedLocalVariable for multi-dimensional array index.
2004-01-17 15:28:18 +00:00
Lars Kühne
2dda964c91
fixed NPE in DesignForExtension when checking native methods
2004-01-17 12:02:45 +00:00
Oliver Burn
5670252b46
updated license details
2004-01-14 21:10:39 +00:00
Rick Giles
d28061d9f2
Removed JDK 1.4 dependency (bug 876570)
2004-01-14 17:26:19 +00:00