5dda2fd425
cleanups to clarify the code
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5074 51baf565-9d33-0410-a72c-fc3788e3496d
2007-03-11 20:52:41 +00:00
9c409a7365
Removed warning for bug in old JDK 6 beta
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5073 51baf565-9d33-0410-a72c-fc3788e3496d
2007-03-11 20:29:06 +00:00
425b45277a
Fixed rulesets to match xsd
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5072 51baf565-9d33-0410-a72c-fc3788e3496d
2007-03-11 20:26:51 +00:00
dc70375dbc
Updated for Java 5
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5071 51baf565-9d33-0410-a72c-fc3788e3496d
2007-03-11 19:50:44 +00:00
413c85acf3
preparing next release
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5069 51baf565-9d33-0410-a72c-fc3788e3496d
2007-03-09 10:08:13 +00:00
65e52c2d2c
remove dupe entry in retroweaverclasspath
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5068 51baf565-9d33-0410-a72c-fc3788e3496d
2007-03-04 21:59:50 +00:00
39c2da75e2
'Copy xml to clipboard' menu command now works again (in java 5 and 1.4)
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5067 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-28 21:37:16 +00:00
2403d3c22f
'Copy xml to clipboard' menu command now works again (in java 5 and 1.4)
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5066 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-28 21:27:43 +00:00
976027415e
Classpath now references the updated retroweaver jar
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5065 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-28 21:26:03 +00:00
7963c18660
externalInfoUrl for AvoidCatchingThrowable now points to the proper location
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5064 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-28 21:19:36 +00:00
3dbc390580
Optimization: new AbstractPMDRecord[0] -> AbstractPMDRecord.EMPTY_RECORDS (static final constant)
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5063 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-28 20:56:04 +00:00
c6caaa50be
New rule: DoNotExtendJavaLangError
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5062 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-27 22:15:08 +00:00
5683bfb565
Added 'description' to 'property', which is already used for some rules
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5061 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-27 21:34:13 +00:00
30651651a9
Moved 'example' downward to match location in current rulesets
...
Added 'description' to 'property', which is already used for some rules
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5060 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-27 21:32:29 +00:00
d37e946f86
Fixed bug 1666646 - ImmutableField shouldn't report volatile fields
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5059 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-23 01:24:17 +00:00
b0428b18f7
Rewording the junit.available message
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5058 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-23 00:57:10 +00:00
9f0bcb4bc7
Fixed bug 1613793 - MissingSerialVersionUID rule doesn't fire on abstract classes
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5057 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-22 01:04:21 +00:00
ffd27e46a9
1657633 - build.xml requires-junit check needs update for JUnit 4
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5056 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-22 00:48:28 +00:00
fad7b076cd
junit.jar added to weave verifier path
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5055 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-21 22:51:36 +00:00
28ca432600
delete target: weaved files need to be removed too
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5054 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-19 00:58:59 +00:00
29789f83bd
code cleanup: useless casts removed
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5053 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-18 01:10:13 +00:00
a1896e5882
Release v3.2.1
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5051 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-15 22:39:22 +00:00
3cc82cb76f
Release v3.2.1
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5050 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-15 22:38:14 +00:00
ff10fde458
Fix 1641930 Creation of ruleset.xml file causes error in Eclipse
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5049 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-15 22:27:15 +00:00
27a65b0079
Added 5 new rules, and a new ruleset:
...
Ruleset: Migrating To JUnit 4
This ruleset is for detecting changes required when migrating to JUnit 4:
- Tests should use @Test annotation
- setUp methods should use @Begin annotation
- tearDown methods should use @After annotation
- suite methods should use @RunWith(Suite.class) annotation
- Tests that check that an exception is thrown can use @Test(expected=ExceptionClass.class)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5048 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-10 00:32:28 +00:00
bfaaa85b64
Removing some debugging
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5047 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-10 00:27:52 +00:00
47a262c0a5
Adding blurb about the change to allow SuppressWarnings("unused") to suppress unused code
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5046 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-10 00:16:40 +00:00
8fa2b30f93
Moving to JUnit 4 - Re-structuring the junits for the rules
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5045 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-09 02:09:59 +00:00
a30ad7411b
Moving to JUnit 4
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5044 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-09 01:48:13 +00:00
81bdfe16c6
Moving to JUnit 4
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5043 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-09 01:38:14 +00:00
c60a9625e2
Grammar fixes
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5042 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-08 22:15:28 +00:00
8c1468bea1
Remove erroneous assertions for hashcode inequality
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5041 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-08 06:46:04 +00:00
6e34f014fc
further grammatical tweaks
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5040 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-07 17:35:23 +00:00
923754df7d
minor grammatical tweaks
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5039 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-07 17:29:18 +00:00
280f878731
Added Turkish, Italian, Russian, and Bulgarian translations
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5038 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-07 16:54:12 +00:00
2209799bcd
Synchronized with XML Schema
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5037 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-06 05:27:25 +00:00
b88e8a93ac
*** empty log message ***
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5036 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-05 15:45:33 +00:00
c37dec27dc
No need to ship out that clover license in the source rls
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5035 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-04 19:53:44 +00:00
89a897de7f
use forward slashes in paths
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5034 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-03 23:38:02 +00:00
d6bcb7865a
Retroweaver updated to 2.0Beta4, config for verifier moved to local.properties
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5033 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-03 23:07:10 +00:00
354f79de19
Fixing the description
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5032 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-03 12:49:33 +00:00
8812185444
Fixed Defect 1451251
...
Added a new typeresolution rule - UnusedImports which finds unused on demand imports
Updated typeresolution to populate the type of ASTNames without VariableNameDeclarations - These are typically statically called methods from other classes such as Arrays.asList.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5031 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-03 12:48:12 +00:00
f3c562c3db
Added missing attribute: typeResolution
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5030 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-02 18:01:28 +00:00
181f92ba64
Test Case was missing test cases for static imports.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5029 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-01 16:50:12 +00:00
42aa947983
Fixed bug 1637573 - The PMD Ant task no longer closes System.out if toConsole is set; thx to Stephan Classens for the fix
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5028 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-01 14:34:08 +00:00
30063d0b33
RFE 1562230 - New Rules as IntegerInstantiation for Byte, Short, Long
...
Request had recomended XPath which worked very well.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5027 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-01 02:10:53 +00:00
e95199385f
1613807 - false DontImportJavaLang
...
Allowing java.lang.Thread.* inner classes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5026 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-01 01:14:36 +00:00
4c384e35c1
Fixed this JUnit test
...
Since it's a mocked class being reported on, it's reporting n/a for the file name. There's code in the PapariTextRenderer class that parses out the class name - based on substring of the File Separator parameter - On *Nix that's the / character.
The test passes for me on both linux and Windows now
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5025 51baf565-9d33-0410-a72c-fc3788e3496d
2007-02-01 01:02:30 +00:00
2167342314
Checking in some Java 5 changes - Using the MessageFormatter.format varargs construct
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5024 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-31 21:29:24 +00:00
86f600ea5d
Checking in some Java 5 changes
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5023 51baf565-9d33-0410-a72c-fc3788e3496d
2007-01-31 20:36:56 +00:00