Pelisse Romain
80148e6b13
Merge pull request #31 from hgschmie/npe-fix
...
Fix NPE with empty rulesets.
2013-11-26 16:50:11 -08:00
Pelisse Romain
5a07ad8caa
Merge pull request #30 from hgschmie/pmd-5.0.x
...
Add a no args constructor to CPDConfiguration.
2013-11-26 14:22:11 -08:00
Henning Schmiedehausen
957afd6625
Fix NPE with empty rulesets.
...
This is the fix for bug #1155 (https://sourceforge.net/p/pmd/bugs/1155/ )
The whole code is in dire need of revisiting its behaviour when a
value is null or empty. Same goes for e.g. createRules whether it
should return null values (then the caller will have to deal with it)
or empty Rulesets.
Catching and discarding the rule not found exception looks pretty
suspicious.
2013-11-26 11:00:49 -08:00
Henning Schmiedehausen
14e1f8bb81
Add a no args constructor to CPDConfiguration.
...
This allows API users to build a path forward from the 5.0.x versions
of the API to 5.1.x.
2013-11-26 10:26:14 -08:00
Andreas Dangel
973fd1c4d4
pmd: add changelog and test for #1144
2013-10-29 19:25:02 +01:00
Pelisse Romain
678d3e8a1b
Merge pull request #27 from uncletall/pmd/5.0.x
...
cpd: fix #1144 CPD encoding argument has no effect
2013-10-29 09:35:17 -07:00
Peter Bruin
33413371f6
cpd: fix #1144 CPD encoding argument has no effect
...
Make sure the encoding is set before creating the renderer
2013-10-28 15:47:59 +08:00
Andreas Dangel
c9da879840
[maven-release-plugin] prepare for next development iteration
2013-08-11 11:03:53 +02:00
Andreas Dangel
030795ea95
[maven-release-plugin] prepare release pmd_releases/5.0.5
pmd_releases/5.0.5
2013-08-11 11:03:52 +02:00
Andreas Dangel
1dc6d7e698
pmd: Prepare pmd release 5.0.5
2013-08-11 10:25:41 +02:00
Andreas Dangel
5c92fdd31a
pmd: fix #1095 AvoidFinalLocalVariable false positive
2013-08-11 09:29:52 +02:00
Andreas Dangel
9a81bcf7dd
pmd: fix #1069 Eclipse plugin does not accept project-local config
...
This is about the RuleSetReferenceId and how we resolve such a
id to a real ruleset.
It is mostly backwards compatible.
2013-08-07 19:20:48 +02:00
Andreas Dangel
fb426227e4
pmd: fix #1114 CPD - Tokenizer not initialized with requested properties
...
There was a similar problem with CPD GUI.
Also resetting the properties, so that unchecking the checkboxes has actually an effect.
2013-08-05 08:51:27 +02:00
Andreas Dangel
acf8db926d
pmd: fix #1091 file extension for fortran seems to be wrong in cpdgui tools
2013-08-03 22:29:03 +02:00
Andreas Dangel
91f2137679
pmd: fix #1102 False positive: shift operator parenthesis
2013-08-03 22:28:55 +02:00
Andreas Dangel
cc095674b0
pmd: fix #1099 UseArraysAsList false positives
2013-08-03 22:28:43 +02:00
Andreas Dangel
0859285b8b
pmd: fixed #1107 PMD 5.0.4 couldn't parse call of parent outer java class method from inner class
2013-08-03 22:28:34 +02:00
Andreas Dangel
d0c103ab62
pmd: fix #1092 Wrong Attribute "excludemarker" in Ant Task Documentation
2013-08-03 22:28:08 +02:00
Andreas Dangel
e76947b297
pmd: fix #1084 NPE at UselessStringValueOfRule.java:36
2013-08-03 22:27:58 +02:00
Andreas Dangel
a417f0003f
pmd: fix #1104 IdempotentOperation false positive
2013-08-03 22:27:38 +02:00
Andreas Dangel
dc64e2df77
pmd: fix #1111 False positive: Useless parentheses
2013-08-03 22:26:52 +02:00
Andreas Dangel
829a939421
pmd: fix #1118 ClassCastException in pmd.lang.ecmascript.ast.ASTElementGet
2013-08-03 14:23:43 +02:00
Andreas Dangel
eb57fdc882
pmd: fix #991 AvoidSynchronizedAtMethodLevel for static methods
2013-08-03 13:08:26 +02:00
Andreas Dangel
da1ee1fe72
pmd: fix #1114 CPD - Tokenizer not initialized with requested properties
2013-08-03 12:28:25 +02:00
Andreas Dangel
ee39aa5f3c
[maven-release-plugin] prepare for next development iteration
2013-05-01 12:21:21 +02:00
Andreas Dangel
46573bb566
[maven-release-plugin] prepare release pmd_releases/5.0.4
pmd_releases/5.0.4
2013-05-01 12:21:21 +02:00
Andreas Dangel
da08b0757e
pmd: Prepare pmd release 5.0.4
2013-05-01 11:59:42 +02:00
Andreas Dangel
1c0badd429
pmd: fix #1089 When changing priority in a custom ruleset, violations reported twice
2013-05-01 11:40:37 +02:00
Andreas Dangel
e0a9e49560
pmd: fix #794 False positive on PreserveStackTrace with anonymous inner
2013-04-28 10:15:34 +02:00
Andreas Dangel
dba46f2ebd
pmd: fix #1063 False+: ArrayIsStoredDirectly
2013-04-28 10:15:26 +02:00
Andreas Dangel
5fb6daea58
pmd: fix #1085 NullPointerException by at net.sourceforge.pmd.lang.java.rule.design.GodClassRule.visit(GodClassRule.java:313)
2013-04-25 19:27:24 +02:00
Andreas Dangel
2d655f4684
pmd: fix #1087 PreserveStackTrace (still) ignores initCause()
...
one more test, extended documentation example
2013-04-25 18:39:03 +02:00
Andreas Dangel
b77de63950
pmd: fix #1087 PreserveStackTrace (still) ignores initCause()
2013-04-24 21:40:22 +02:00
Andreas Dangel
d347e38622
pmd: fix #1086 Unsupported Element and Attribute in Ant Task Example
2013-04-22 20:31:10 +02:00
Andreas Dangel
7494011999
pmd: fix #254 False+ : UnusedImport with Javadoc @throws
2013-04-15 21:35:51 +02:00
Andreas Dangel
3901ad7ddb
pmd: correct documentation for pmd's ant task to select the language
...
and adding more unit tests.
2013-04-15 21:34:22 +02:00
Andreas Dangel
2e85f1f935
pmd: fix #1080 net.sourceforge.pmd.cpd.CPDTest test failing
...
The symlinks are simply removed now from the source code and
created by the test, when needed.
The test runs only under unix systems, not under windows.
2013-04-14 17:51:29 +02:00
Andreas Dangel
a5efd66b73
pmd: adding more entries to gitignore and to exclude while creating the source zip file.
2013-04-14 17:49:49 +02:00
Andreas Dangel
a96ccf9741
pmd: fix #1082 CPD performance issue on larger projects
2013-04-14 13:41:31 +02:00
Andreas Dangel
f60128b142
pmd: fix #1081 Regression: CPD skipping all files when using relative paths
2013-04-14 13:41:14 +02:00
Andreas Dangel
89ebc32141
[maven-release-plugin] prepare for next development iteration
2013-04-05 19:31:38 +02:00
Andreas Dangel
b501de3fba
[maven-release-plugin] prepare release pmd_releases/5.0.3
pmd_releases/5.0.3
2013-04-05 19:31:38 +02:00
Andreas Dangel
79fb7e359d
pmd: correct the command line examples
2013-04-05 19:19:14 +02:00
Andreas Dangel
6aa4897e21
pmd: prepare pmd release 5.0.3
2013-04-05 18:52:59 +02:00
Andreas Dangel
ee05fa73cd
pmd: use the released pmd-build plugin 0.8
2013-04-05 18:49:11 +02:00
Andreas Dangel
0170a40dec
pmd: fix NPE in LooseCouplingRule
2013-04-05 17:29:53 +02:00
Andreas Dangel
4d7b4bb1bc
pmd: fix #1078 Package statement introduces false positive UnnecessaryFullyQualifiedName violation
2013-04-05 17:16:52 +02:00
Andreas Dangel
a6c1c1f57c
pmd: fix #1077 Missing JavaDocs for Xref-Test Files
2013-03-30 15:46:15 +01:00
Andreas Dangel
9f8246caac
pmd: fix #938 False positive on LooseCoupling for overriding methods
2013-03-30 15:46:04 +01:00
Andreas Dangel
f51e41b05c
pmd: fix #940 False positive on UnsynchronizedStaticDateFormatter
2013-03-30 15:45:52 +01:00