Nimit
fedea535b5
issue-2738: Adding null check to avoid npe when switch case is default
2020-09-10 19:19:43 -07:00
Clément Fournier
46933e666d
Fix #2756 , NPE in TypeTestUtil
2020-09-10 12:49:45 +02:00
Clément Fournier
fc759db5ca
Fix #2767
...
Problem was the stack is empty if the local var declaration
is the first node of the compilation unit to be pushed.
2020-09-10 12:24:03 +02:00
Clément Fournier
d6ba977bb8
Merge branch 'ollieabbey-master' into master
...
Refs #2747
2020-09-06 18:32:56 +02:00
Clément Fournier
bcb04df160
Merge branch 'master' into ollieabbey-master
2020-09-05 18:38:44 +02:00
Clément Fournier
dddbaf0a6a
Merge branch 'master' into deprecate-rv-comparator
2020-09-03 12:17:05 +02:00
Clément Fournier
b0f924495b
Fix bug
...
Problem was, isInTryBlock didn't ask for parent
states, even though abruptCompletionByThrow does.
2020-09-03 12:13:37 +02:00
Clément Fournier
a43dea916d
Fix JS tests
...
Rewrite assertions for better error messages
The difference is 32 tokens instead of 30;
this is because previously, AnyTokenizer
tokenized `window.alert` as a single token. Now
it tokenizes it a `window`, `.`, `alert`.
2020-09-03 11:40:03 +02:00
Clément Fournier
3a33092d22
Add test case
2020-09-02 16:45:19 +02:00
Clément Fournier
24f3017109
Update release notes
2020-09-01 18:23:47 +02:00
Clément Fournier
10b205b5e2
REVERT ME Make end column inclusive
...
This is for consistency with PMD 6, on pmd 7 this commit
may be reverted
2020-09-01 18:11:08 +02:00
Clément Fournier
dd440eb14a
Fix tests
2020-09-01 18:11:05 +02:00
Clément Fournier
251a217a59
Checkout StringUtils parts from 7.0.x branch
2020-09-01 17:53:33 +02:00
Clément Fournier
21aeabdf45
Deprecate AbstractTokenizer
2020-09-01 17:50:39 +02:00
Clément Fournier
9af59c503b
Fix linenos with multiline strings
2020-09-01 17:50:31 +02:00
Clément Fournier
5f4d489ec8
Fix tests
2020-09-01 17:50:31 +02:00
Clément Fournier
5331be392b
Add perl tests
2020-09-01 17:50:31 +02:00
Clément Fournier
bc4b008b6e
Same for Fortran
2020-09-01 17:50:29 +02:00
Clément Fournier
bc0d9c781d
Use it to replace RubyTokenizer
2020-09-01 17:50:21 +02:00
Clément Fournier
b27ab97684
Improve AnyTokenizer
2020-09-01 17:50:06 +02:00
Andreas Dangel
3ce68f4977
dogfood - update PMD to 6.27.0
2020-09-01 14:18:07 +02:00
Ollie Abbey
b3e0c54a80
Fixed a typo
2020-09-01 09:03:28 +01:00
Ollie Abbey
85754378f7
Added test for multiple VariableDecoratorIds
2020-09-01 09:02:48 +01:00
Ollie Abbey
776c0c154f
Addressed review comments
2020-09-01 08:55:52 +01:00
Ollie Abbey
ba5c2f4288
Merge pull request #1 from pmd/master
...
Update with changes
2020-09-01 08:52:34 +01:00
Andreas Dangel
6d69bdb386
Prepare next development version
2020-08-31 18:32:02 +02:00
Andreas Dangel
c59af0aee6
[maven-release-plugin] prepare for next development iteration
2020-08-31 18:30:18 +02:00
Andreas Dangel
856950f0d2
[maven-release-plugin] prepare release pmd_releases/6.27.0
pmd_releases/6.27.0
2020-08-31 18:30:09 +02:00
Andreas Dangel
e198a61515
Prepare pmd release 6.27.0
2020-08-31 18:18:44 +02:00
Andreas Dangel
b55a227369
Merge branch 'pr-2745' into master
...
[core] Fix a NPE in buildUsageText #2745
2020-08-31 17:55:11 +02:00
Andreas Dangel
d82c9f1413
[doc] Update release notes, refs #2745
2020-08-31 17:53:55 +02:00
Clément Fournier
4559e35b66
Merge branch 'cpd_dart_escaped_dollar' into master
...
Refs #2750
2020-08-30 16:54:16 +02:00
Clément Fournier
af9770af1f
Update release notes
2020-08-30 16:54:09 +02:00
Clément Fournier
13146b5c53
Merge branch 'master' into cpd_dart_escaped_dollar
2020-08-30 16:52:55 +02:00
Clément Fournier
81c82729e3
Merge branch 'cpd_dart_string_interpolation' into master
...
Refs #2749
2020-08-30 16:49:31 +02:00
Clément Fournier
2cff5dd4b7
Update release notes
2020-08-30 16:49:22 +02:00
Clément Fournier
e95c90a05a
Merge branch 'master' into cpd_dart_string_interpolation
2020-08-30 16:47:38 +02:00
Clément Fournier
c2069282a7
Add test case for more complicated interpolations
2020-08-30 16:47:25 +02:00
Clément Fournier
ebae5549e1
Merge branch 'fix_typos' into master
...
Refs #2744
2020-08-28 14:19:41 +02:00
Clément Fournier
bf88cba7e5
Update release notes, refs #2744
2020-08-28 14:19:33 +02:00
Clément Fournier
104e71d497
Merge branch 'master' into StringBuilder_issues
2020-08-28 14:04:56 +02:00
Clément Fournier
292fa74ef5
Simplify test
...
I don't think we need to assert everything, the pmd-dist module
already has a test like that
2020-08-28 14:04:38 +02:00
Clément Fournier
986b39208f
Remove dead code in PMDCommandLineInterface
2020-08-28 13:59:43 +02:00
Maikel Steneker
7740e47292
Escaped characters in Dart multiline string are now handled correctly
2020-08-27 14:21:10 +02:00
Maikel Steneker
74a9950128
Improvements for Dart interpolated strings
...
The Dart tokenizer was incomplete, resulting in some strings that use
string interpolation not being parsed correctly. This has been worked
around by making sure that the contents of string interpolation are all
included in the same string token.
2020-08-27 13:16:56 +02:00
Ollie Abbey
363c3a30ff
Trigger for non lombok Builder.Default
2020-08-27 08:45:53 +01:00
XenoAmess
d85d1058e1
fix
2020-08-27 13:54:12 +08:00
XenoAmess
32698d8c6b
add unit test for the change made.
2020-08-27 13:43:24 +08:00
XenoAmess
e5d0b7243f
revert in package net.sourceforge.pmd.lang.java.typeresolution
2020-08-27 12:09:19 +08:00
XenoAmess
e15223f722
Merge remote-tracking branch 'XenoAmess/fix_typos' into fix_typos
...
# Conflicts:
# pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/CouplingBetweenObjectsRule.java
2020-08-27 12:02:58 +08:00