14783 Commits

Author SHA1 Message Date
Andreas Dangel
1c9a73426c deprecate: DumpFacade will be removed in PMD 7
Refs #1801
2019-05-01 11:38:35 +02:00
Juan Martín Sotuyo Dodero
92499ed3a0 Bump PMD version on self 2019-04-30 23:24:15 -03:00
Juan Martín Sotuyo Dodero
3a42d14ff2 Merge branch 'pr-1803' 2019-04-30 10:40:33 -03:00
Juan Martín Sotuyo Dodero
97354a64d5 Update changelog, refs #1803 2019-04-30 10:40:02 -03:00
Maikel Steneker
1ebfb7df87 Extended Dart grammar to take escape sequences into account. 2019-04-30 14:01:07 +02:00
Maikel Steneker
6f442b15ca Added Dart tokenizer test cases for escaped backslashes (\\) and other characters (\n, \$). 2019-04-30 13:58:12 +02:00
Andreas Dangel
15af96155f Prepare next development version 2019-04-28 10:37:00 +02:00
Andreas Dangel
ca9c859c0b [maven-release-plugin] prepare for next development iteration 2019-04-28 10:35:44 +02:00
Andreas Dangel
cd8b2e3217 [maven-release-plugin] prepare release pmd_releases/6.14.0 pmd_releases/6.14.0 2019-04-28 10:35:36 +02:00
Andreas Dangel
d216af550c Prepare pmd release 6.14.0 2019-04-28 10:27:54 +02:00
Juan Martín Sotuyo Dodero
a953909dc6 Merge branch 'pr-1795' 2019-04-27 22:40:47 -03:00
Andreas Dangel
de699fbedc Update PMD Designer to 6.14.0 2019-04-27 18:43:26 +02:00
Andreas Dangel
84c8e51913 Support openjdk11 for macosx as well 2019-04-27 17:39:50 +02:00
Andreas Dangel
cf4658fd3d Support openjdk11 for macosx as well 2019-04-27 17:20:05 +02:00
Andreas Dangel
32d0fd34a8 Support openjdk11 for macosx as well 2019-04-27 16:54:28 +02:00
Andreas Dangel
c9ec3ae63c Use openjdk 11.0.3 2019-04-27 16:22:21 +02:00
Juan Martín Sotuyo Dodero
0ebf4fd9e8 Merge pull request #1797 from adangel/issue-1515
[core] Module pmd-lang-test is missing javadoc artifact
2019-04-27 10:07:53 -03:00
Andreas Dangel
01e372d887 [core] Module pmd-lang-test is missing javadoc artifact
Fixes #1515
2019-04-26 20:41:50 +02:00
Andreas Dangel
d199c1cf53 Merge branch 'pr-1791' 2019-04-26 18:59:36 +02:00
Andreas Dangel
95a0c1b46a Update release notes, refs #1791 2019-04-26 18:57:44 +02:00
Andreas Dangel
67ac7f5176 [core] Ruleset Compatibility fails with excluding rules
Fixes #1794
2019-04-26 14:39:56 +02:00
Maikel Steneker
26a64be1d2 Dart grammar now supports string containing escaped quotes. 2019-04-24 15:52:22 +02:00
Maikel Steneker
1e2e591ac4 Added unit test for string containing escaped quotes. 2019-04-24 15:43:53 +02:00
Juan Martín Sotuyo Dodero
64e66b9d30 Merge branch 'pr-1789' 2019-04-22 13:33:42 -03:00
Juan Martín Sotuyo Dodero
594ba4da23 Update changelog, refs #1789 2019-04-22 13:33:24 -03:00
Andreas Schmid
8c7f19bdfe Use current classloader instead of Thread's classloader
This fixes #1788 by using the current's classloader instead of the
current Thread's ones. This is required if executing CPD in a separate
worker.
Also adjusts the release notes.
2019-04-22 16:26:06 +02:00
Andreas Dangel
829e9d4a9b Upgrade maven-pmd-plugin to 3.12.0 2019-04-22 11:24:42 +02:00
Andreas Dangel
f52b866798 Don't use String.resolveConstantDesc in unit tests
to avoid random test failures with java12
2019-04-22 11:23:22 +02:00
Andreas Dangel
4bb55e4193 Merge branch 'pr-1767' 2019-04-19 18:58:28 +02:00
Andreas Dangel
84daa1df4f [java] Add unit test for JavaTypeDefinitionSimple 2019-04-19 18:57:12 +02:00
Andreas Dangel
002f3fd671 Merge branch 'pr-1779' 2019-04-19 18:15:11 +02:00
Andreas Dangel
4ffc42a91b Merge branch 'pr-1778' 2019-04-19 18:14:20 +02:00
Andreas Dangel
88c7aac7a1 Merge branch 'pr-1768' 2019-04-19 18:12:40 +02:00
Travis CI (pmd-bot)
42f40ddd0e Update documentation
TRAVIS_JOB_NUMBER=3667.1
TRAVIS_COMMIT_RANGE=b55676e4d095...c4fafeeb62ce
2019-04-18 18:32:24 +00:00
Andreas Dangel
c4fafeeb62 [ci] Use jdk12 for building 2019-04-18 20:13:40 +02:00
Andreas Dangel
b55676e4d0 Add test case for NoPackage and Annotation
Update release notes, fixes #1782, refs #1771
2019-04-18 19:55:56 +02:00
Andreas Dangel
7542306e05 Fix header in release notes 2019-04-18 19:43:16 +02:00
Juan Martín Sotuyo Dodero
f2892ad004 Merge branch 'pr-1781' 2019-04-17 11:33:38 -03:00
Juan Martín Sotuyo Dodero
d7ac5ef5c4 Update changelog, refs #1781 2019-04-17 11:32:09 -03:00
Maikel Steneker
fd13a4bf21 Improved test cases for AssignmentToNonFinalStatic by including the expected line numbers for violations in the test cases. 2019-04-17 16:00:38 +02:00
Maikel Steneker
d4ca21bfd3 AssignmentToNonFinalStatic now reports multiple violations in case there are multiple unsafe assignments on the same variable. 2019-04-17 15:20:15 +02:00
Maikel Steneker
4a8c23472c Added test case for multiple violations of AssignmentToNonFinalStatic on the same variable.
Rationale: whenever this rule produces a violation, all of the unsafe assignments need to be corrected. It's annoying to fix one of these, rerun PMD and then realize there's another unsafe assignment left. Therefore, all of these violations should be reported at once.
2019-04-17 15:19:56 +02:00
Maikel Steneker
cd465918b5 Changed location for AssignmentToNonFinalStatic violations from field declaration at to assignment in constructor.
This makes it easier to identify the code that needs to be adjusted in order to resolve the violation.
2019-04-17 15:05:20 +02:00
Juan Martín Sotuyo Dodero
54dc9ce3cf Merge branch 'pr-1776' 2019-04-16 17:01:03 -03:00
Juan Martín Sotuyo Dodero
a4a7aa48b4 Update changelog, refs #1776 2019-04-16 17:00:38 -03:00
Juan Martín Sotuyo Dodero
17b7837dcc Bring back the TODO 2019-04-16 16:59:40 -03:00
Juan Martín Sotuyo Dodero
407b2d1efe Update changelog, refs #1190 2019-04-16 16:55:05 -03:00
Juan Martín Sotuyo Dodero
cb1b5c16bf [java] Have symbol table recognize concise resources
- Concise resources are valid usages.
 - Fixes #1190
2019-04-16 16:51:15 -03:00
Juan Martín Sotuyo Dodero
7c6d8be1d2 Delay searching statements 2019-04-16 14:09:30 -03:00
Juan Martín Sotuyo Dodero
f004ff0634 Update changelog, refs #1775 2019-04-16 14:07:37 -03:00