Andreas Dangel
526526be47
[java] Reformat (whitespaces) LiteralsFirstInComparisons.xml
2020-05-18 20:16:41 +02:00
Andreas Dangel
7138d2e4d4
[doc] Update release notes, refs #2478
2020-05-18 20:11:45 +02:00
Andreas Dangel
3305eeedd2
[core] Add new rule to releases ruleset for 6.24.0
2020-05-18 20:11:25 +02:00
Andreas Dangel
0fa0c4a70c
[java] add new rule in quickstart.xml
2020-05-18 20:11:04 +02:00
Andreas Dangel
979d81c02e
Merge branch 'pr-2481'
...
[java] Fix JUnitSpellingRule false positive #2481
2020-05-18 19:57:45 +02:00
Andreas Dangel
33e3bc24c4
[doc] Update release notes, fixes #2477 , refs #2481
2020-05-18 19:57:05 +02:00
Andreas Dangel
dfd5e608d6
[java] Remove unnecessary CDATA in JUnitSpelling.xml
2020-05-18 19:55:39 +02:00
Artem Krosheninnikov
ad68cdda24
Fix review remarks
2020-05-16 23:26:24 +03:00
Clément Fournier
382a1a15f6
Merge branch 'improve-alias-api'
2020-05-16 19:22:10 +02:00
Clément Fournier
35e9f7d1bd
Doc
2020-05-16 19:19:48 +02:00
Clément Fournier
c5f73d137a
Add test for invalid language version NPE
...
Refs https://github.com/pmd/pmd/pull/2486#discussion_r425381773
2020-05-16 19:07:09 +02:00
Clément Fournier
e1a22282d0
Merge branch 'master' into improve-alias-api
2020-05-16 18:56:54 +02:00
Andreas Dangel
09a30d2ef5
[doc] Fix indentation in rule testing doc, add note about CDATA
2020-05-16 18:56:05 +02:00
Andreas Dangel
7de968a5c9
[jsp] Cleanup rule test xml files
...
Avoid unnecessary CDATA for description
Use 4 space indentation instead of tabs
Remove trailing whitespace
End file with a newline
2020-05-16 18:56:05 +02:00
Andreas Dangel
b53edfd350
[java] Cleanup rule test xml files for metrics
...
Avoid unnecessary CDATA for description
Use 4 space indentation instead of tabs
Remove trailing whitespace
End file with a newline
2020-05-16 18:56:05 +02:00
Andreas Dangel
b3215c830d
[xml] Cleanup rule test xml files
...
Avoid unnecessary CDATA for description
Use 4 space indentation instead of tabs
Remove trailing whitespace
End file with a newline
2020-05-16 18:56:05 +02:00
Andreas Dangel
fef1ad76c6
[vm] Cleanup rule test xml files
...
Avoid unnecessary CDATA for description
Use 4 space indentation instead of tabs
Remove trailing whitespace
End file with a newline
2020-05-16 18:56:05 +02:00
Andreas Dangel
7334738a97
[plsql] Cleanup rule test xml files
...
Avoid unnecessary CDATA for description
Use 4 space indentation instead of tabs
Remove trailing whitespace
End file with a newline
2020-05-16 18:56:05 +02:00
Andreas Dangel
48da3feee0
[modelica] Cleanup rule test xml files
...
Avoid unnecessary CDATA for description
Use 4 space indentation instead of tabs
Remove trailing whitespace
End file with a newline
2020-05-16 18:56:05 +02:00
Andreas Dangel
edc40521a3
[visualforce] Cleanup rule test xml files
...
Avoid unnecessary CDATA for description
Use 4 space indentation instead of tabs
Remove trailing whitespace
End file with a newline
2020-05-16 18:56:05 +02:00
Andreas Dangel
4c2c111492
[javascript] Cleanup rule test xml files
...
Avoid unnecessary CDATA for description
Use 4 space indentation instead of tabs
Remove trailing whitespace
End file with a newline
2020-05-16 18:56:05 +02:00
Andreas Dangel
5ed25a9277
[java] Cleanup rule test xml files (security)
...
Avoid unnecessary CDATA for description
Use 4 space indentation instead of tabs
Remove trailing whitespace
End file with a newline
2020-05-16 18:56:05 +02:00
Andreas Dangel
3fd74794c8
[java] Cleanup rule test xml files (performance)
...
Avoid unnecessary CDATA for description
Use 4 space indentation instead of tabs
Remove trailing whitespace
End file with a newline
2020-05-16 18:56:05 +02:00
Andreas Dangel
11d886ec41
[java] Cleanup rule test xml files (multithreading)
...
Avoid unnecessary CDATA for description
Use 4 space indentation instead of tabs
Remove trailing whitespace
End file with a newline
2020-05-16 18:56:05 +02:00
Andreas Dangel
a80bc88276
[java] Cleanup rule test xml files (errorprone)
...
Avoid unnecessary CDATA for description
Use 4 space indentation instead of tabs
Remove trailing whitespace
End file with a newline
2020-05-16 18:56:05 +02:00
Andreas Dangel
9ec063b638
[java] Cleanup rule test xml files (documentation)
...
Avoid unnecessary CDATA for description
Use 4 space indentation instead of tabs
Remove trailing whitespace
End file with a newline
2020-05-16 18:56:05 +02:00
Andreas Dangel
6c914a2a55
[java] Cleanup rule test xml files (design)
...
Avoid unnecessary CDATA for description
Use 4 space indentation instead of tabs
Remove trailing whitespace
End file with a newline
2020-05-16 18:56:04 +02:00
Andreas Dangel
b19b888a6e
[java] Cleanup rule test xml files (codestyle)
...
Avoid unnecessary CDATA for description
Use 4 space indentation instead of tabs
Remove trailing whitespace
End file with a newline
2020-05-16 18:56:04 +02:00
Andreas Dangel
b9828c2acb
[java] Cleanup rule test xml files (bestpractices)
...
Avoid unnecessary CDATA for description
Use 4 space indentation instead of tabs
Remove trailing whitespace
End file with a newline
2020-05-16 18:56:04 +02:00
Andreas Dangel
f930491538
[apex] Cleanup rule test xml files
...
Avoid unnecessary CDATA for description
Use 4 space indentation instead of tabs
Remove trailing whitespace
End file with a newline
2020-05-16 18:55:58 +02:00
Juan Martín Sotuyo Dodero
465dead81c
Optimize imports
2020-05-15 11:44:09 -03:00
John Teng
72128e1476
fixed the rule version, removed CDATA tags from descriptions
2020-05-15 10:43:51 -04:00
Juan Martín Sotuyo Dodero
0f552ee620
Further refine the addVersion API
2020-05-15 11:42:28 -03:00
Juan Martín Sotuyo Dodero
d1e0f8c5fa
Bring back binary compatibility
2020-05-14 16:30:06 -03:00
Juan Martín Sotuyo Dodero
8c7a49eb69
[core] Revamp the language version alias APIs
...
- The old experimental API allowed calls such as
`addVersions(langHandler, false)` which were not only invalid, but would
throw an `ArrayIndexOutOfBoundsException`, so we split the name
(required) and the aliases (varargs, and therefore optional)
- In doing so, I was bothered by parameter order. The version name is
the most significant change when setting 2 versions for a language, so I
liked it being first as the old `addVersion` method did, so I moved
that ahead.
- With that, I now had 2 methods that where equivalent, except one
allowed for varargs and the other didn't… so I merged them. This is not
100% binary compatible, but it is source compatible (that is, unless you
used reflection, all valid calls to the old non-experimental method
still work).
2020-05-14 16:03:45 -03:00
Andreas Dangel
0196ca7a0c
Merge branch 'pr-2479'
...
[java] False positive with Hamcrest's assertThat #2479
2020-05-14 20:36:02 +02:00
Andreas Dangel
a9dda0336d
[doc] Update release notes, fixes #2288 , refs #2479
2020-05-14 20:30:29 +02:00
Andreas Dangel
8fce3a300f
[java] Small refactoring for JUnitTestsShouldIncludeAssertRule
2020-05-14 20:30:24 +02:00
Andreas Dangel
27b2b881d7
Merge branch 'pr-2485'
...
[core] Require Java 11 #2485
2020-05-14 19:59:28 +02:00
Andreas Dangel
c739b9c14f
[doc] Update release notes, fixes #2484 , refs #2485
2020-05-14 19:59:18 +02:00
Andreas Dangel
9fd1dc9ca2
[doc] Update build instructions to require java 11 from now on
2020-05-14 19:58:08 +02:00
Juan Martín Sotuyo Dodero
900768ace5
Require Java 11
2020-05-14 12:28:25 -03:00
kenji
e8f9d939e2
Swift 4.2-5.2 support
2020-05-14 10:24:47 +02:00
Clément Fournier
a12d13a1ac
Merge branch 'javascript-ast-tests'
2020-05-13 16:06:49 +02:00
Clément Fournier
ccd851dc9c
Merge branch 'master' into javascript-ast-tests
2020-05-13 16:06:24 +02:00
Artem Krosheninnikov
8b5be784fd
fix pmd violation
2020-05-13 02:05:27 +03:00
Artem Krosheninnikov
d349d66696
fix JUnitSpellingRule false positive, closes #2477 . Also add two more tests
2020-05-13 01:46:36 +03:00
andreoss
1f0d7ae620
[java] False positive with Hamcrest's assertThat
...
Fixes #2288
2020-05-12 17:51:54 -04:00
John Teng
99db8b4373
Added new rule to bestpractices category, added unit tests for all comparison cases
2020-05-12 17:07:21 -04:00
John Teng
8ff452080b
Added new rule corresponding to all string literal comparisons
2020-05-12 17:06:08 -04:00