Bram Stappers
cad32d9b83
18984: [PMD] Added support for Python 2 backticks (`).
2019-04-29 14:04:34 +02:00
Maikel Steneker
a5b12a4e83
Added test case for Python backticks.
2019-04-29 14:01:03 +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
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
Travis CI (pmd-bot)
ee2d03a733
Update documentation
...
TRAVIS_JOB_NUMBER=3653.1
TRAVIS_COMMIT_RANGE=94545b6049c1...893119515677
2019-04-13 18:27:25 +00:00
Clément Fournier
8931195156
Merge branch 'pr-1771'
2019-04-13 19:56:48 +02:00
Travis CI (pmd-bot)
94545b6049
Update documentation
...
TRAVIS_JOB_NUMBER=3650.1
TRAVIS_COMMIT_RANGE=0dd0ce1b065e...d6f24afa30d0
2019-04-13 17:43:22 +00:00
Clément Fournier
3815066710
Add tests
2019-04-13 19:39:28 +02:00
Clément Fournier
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
Clément Fournier
d6f24afa30
Merge branch 'pr-1770'
2019-04-13 19:26:43 +02:00
Juan Martín Sotuyo Dodero
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
Juan Martín Sotuyo Dodero
5ad7ca97bc
[java] Add failing enum case for NoPackage
2019-04-12 17:27:27 -03:00
Juan Martín Sotuyo Dodero
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
Juan Martín Sotuyo Dodero
0dd0ce1b06
[apex] Add test case for #702
2019-04-12 16:10:53 -03:00
Juan Martín Sotuyo Dodero
595c440465
Add Dart to CPD supported languages
2019-04-10 16:25:16 -03:00
Juan Martín Sotuyo Dodero
2b14d1de54
Merge branch 'pr-1761'
2019-04-10 16:24:08 -03:00
Juan Martín Sotuyo Dodero
0328d5464f
Revamp CPD userdocs
2019-04-10 16:23:13 -03:00
Juan Martín Sotuyo Dodero
0db8697994
Remove XSL / XML from CPD support
2019-04-10 16:22:38 -03:00
Juan Martín Sotuyo Dodero
8f7ce8bfe7
VM is not supported in CPD, but it's on PMD…
2019-04-10 16:21:19 -03:00
Juan Martín Sotuyo Dodero
ee227019aa
Update changelog, refs #1761
2019-04-10 16:17:25 -03:00
Juan Martín Sotuyo Dodero
4316ecaa5c
Add XML/XSL to CPD supported languages
2019-04-10 12:43:52 -03:00
Juan Martín Sotuyo Dodero
3884d4cfbc
Add JSP to CPD supported languages
2019-04-10 12:42:04 -03:00
Juan Martín Sotuyo Dodero
62c4425321
Add visualforce to supported languages
2019-04-10 12:41:02 -03:00
Juan Martín Sotuyo Dodero
9d550a1224
Add go to supported languages, sort alphabetically
2019-04-10 12:40:20 -03:00
Juan Martín Sotuyo Dodero
b27d1de001
Add kotlin to supported languages
2019-04-10 12:37:25 -03:00
Maikel Steneker
7b78ac75d0
Minor formatting changes.
2019-04-05 17:22:31 +02:00
Maikel Steneker
1e31e792f9
Adjusted pmd-dist unit test to include Dart in the list of supported languages.
2019-04-05 17:22:04 +02:00
Maikel Steneker
1a16d1a52d
Adjusted Dart tokenizer to skip over uninteresting changes.
2019-04-05 17:05:26 +02:00
Maikel Steneker
745ebc461c
Added test cases for Dart support for CPD.
2019-04-05 17:04:49 +02:00
Maikel Steneker
8db2026735
Added Dart support to CPD.
...
The tokenizer uses an ANTLR4 grammar based on the one at https://github.com/antlr/grammars-v4/tree/master/dart2 .
2019-04-05 17:04:00 +02:00
Andreas Dangel
3bf43b3f8e
[doc] Update doc
2019-04-05 14:53:53 +02:00
Andreas Dangel
1bedc28295
Merge branch 'pr-1752'
2019-04-05 14:45:18 +02:00
Andreas Dangel
aa10258ebe
Update release notes, fixes #1760 , refs #1752
2019-04-05 14:45:03 +02:00
Andreas Dangel
96a14ede0a
Simplify test xml
...
CDATA is not necessary for test case descriptions
2019-04-05 14:44:45 +02:00
Andreas Dangel
b34d5687cb
Merge branch 'pr-1754'
2019-04-05 14:11:21 +02:00
Andreas Dangel
2e8056dc28
Fix checkstyle
2019-04-05 14:10:57 +02:00
Björn Kautler
f3c0d39f66
Fix UseObjectForClearerAPI rule that treated String and String[] the same
2019-04-03 12:00:40 +02:00