84daa1df4f
[java] Add unit test for JavaTypeDefinitionSimple
2019-04-19 18:57:12 +02:00
002f3fd671
Merge branch 'pr-1779'
2019-04-19 18:15:11 +02:00
4ffc42a91b
Merge branch 'pr-1778'
2019-04-19 18:14:20 +02:00
88c7aac7a1
Merge branch 'pr-1768'
2019-04-19 18:12:40 +02:00
42f40ddd0e
Update documentation
...
TRAVIS_JOB_NUMBER=3667.1
TRAVIS_COMMIT_RANGE=b55676e4d095...c4fafeeb62ce
2019-04-18 18:32:24 +00:00
c4fafeeb62
[ci] Use jdk12 for building
2019-04-18 20:13:40 +02:00
b55676e4d0
Add test case for NoPackage and Annotation
...
Update release notes, fixes #1782 , refs #1771
2019-04-18 19:55:56 +02:00
7542306e05
Fix header in release notes
2019-04-18 19:43:16 +02:00
f2892ad004
Merge branch 'pr-1781'
2019-04-17 11:33:38 -03:00
d7ac5ef5c4
Update changelog, refs #1781
2019-04-17 11:32:09 -03:00
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
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
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
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
54dc9ce3cf
Merge branch 'pr-1776'
2019-04-16 17:01:03 -03:00
a4a7aa48b4
Update changelog, refs #1776
2019-04-16 17:00:38 -03:00
17b7837dcc
Bring back the TODO
2019-04-16 16:59:40 -03:00
407b2d1efe
Update changelog, refs #1190
2019-04-16 16:55:05 -03:00
cb1b5c16bf
[java] Have symbol table recognize concise resources
...
- Concise resources are valid usages.
- Fixes #1190
2019-04-16 16:51:15 -03:00
7c6d8be1d2
Delay searching statements
2019-04-16 14:09:30 -03:00
f004ff0634
Update changelog, refs #1775
2019-04-16 14:07:37 -03:00
28c3752088
[java] Fix FN in UnnecessaryLocalBeforeReturn
...
- Fixes #1775
2019-04-16 14:04:46 -03:00
c321de75af
Merge pull request #1773 from oowekyala/xpath-declare-fn-on-saxon
...
[core] Declare fn namespace on Saxon
2019-04-15 17:30:54 -03:00
f121b102a4
[java] Show more detailed message when can't resolve field type
2019-04-15 16:17:45 +07:00
ee2d03a733
Update documentation
...
TRAVIS_JOB_NUMBER=3653.1
TRAVIS_COMMIT_RANGE=94545b6049c1...893119515677
2019-04-13 18:27:25 +00:00
8931195156
Merge branch 'pr-1771'
2019-04-13 19:56:48 +02:00
94545b6049
Update documentation
...
TRAVIS_JOB_NUMBER=3650.1
TRAVIS_COMMIT_RANGE=0dd0ce1b065e...d6f24afa30d0
2019-04-13 17:43:22 +00:00
3815066710
Add tests
2019-04-13 19:39:28 +02:00
ceac6fb5d3
Declare fn prefix in XPath queries
...
The namespace is standard and contains the XPath functions
specified by the spec. Making it available on saxon improves
the compatibility between Jaxen and Saxon queries
2019-04-13 19:28:55 +02:00
d6f24afa30
Merge branch 'pr-1770'
2019-04-13 19:26:43 +02:00
eb7903d963
[java] Fix NoPackage rule
...
- Also make it's search much more precise, making it 10X faster
2019-04-12 17:27:45 -03:00
5ad7ca97bc
[java] Add failing enum case for NoPackage
2019-04-12 17:27:27 -03:00
44573d8bbe
[java] JUnitTestContainsTooManyAsserts uses XPath 2
...
- We are already using `pmd-java:typeIs`, so it's the correct thing to
do.
- Plus, this way it's 6X faster
2019-04-12 16:57:03 -03:00
0dd0ce1b06
[apex] Add test case for #702
2019-04-12 16:10:53 -03:00
72a2b7baab
Update changelog, refs #1532
2019-04-12 14:46:48 -03:00
23185f9e6d
[java] Fix NPE in type resolution
...
- Fixes #1532
2019-04-12 14:45:53 -03:00
bb1ede5598
Update changelog, refs #1691
2019-04-12 14:29:44 -03:00
12afff4f5b
[java] Fix race conditions in JavaTypeDefinitionSimple
...
- The data is now a fixed-size array instead of a fixed-size arraylist,
this removes the need to manually add null elements all over.
- This in turn avoids the resizing / runtime exceptions under
multithreaded accesses.
- Take the change to fix the way `isGeneric` is resolved to be
consistent over time and correct.
- Fixes #1691
2019-04-12 14:29:26 -03:00
595c440465
Add Dart to CPD supported languages
2019-04-10 16:25:16 -03:00
2b14d1de54
Merge branch 'pr-1761'
2019-04-10 16:24:08 -03:00
0328d5464f
Revamp CPD userdocs
2019-04-10 16:23:13 -03:00
0db8697994
Remove XSL / XML from CPD support
2019-04-10 16:22:38 -03:00
8f7ce8bfe7
VM is not supported in CPD, but it's on PMD…
2019-04-10 16:21:19 -03:00
ee227019aa
Update changelog, refs #1761
2019-04-10 16:17:25 -03:00
4316ecaa5c
Add XML/XSL to CPD supported languages
2019-04-10 12:43:52 -03:00
3884d4cfbc
Add JSP to CPD supported languages
2019-04-10 12:42:04 -03:00
62c4425321
Add visualforce to supported languages
2019-04-10 12:41:02 -03:00
9d550a1224
Add go to supported languages, sort alphabetically
2019-04-10 12:40:20 -03:00
b27d1de001
Add kotlin to supported languages
2019-04-10 12:37:25 -03:00
7b78ac75d0
Minor formatting changes.
2019-04-05 17:22:31 +02:00