Andreas Dangel
62a2c12585
[java] CloseResource: consider javax.jms.Connection as before
...
Adding back the default types java.sql.Connection etc. so that
we also match javax.jms.Connection in case no type information
is available as before.
Also fix the reported type when method calls are involved.
2019-06-29 12:15:19 +02:00
Andreas Dangel
f6cc999f2c
[java] CloseResource: Use simple class name in message
...
Report simple class name to retain same message as before.
This helps in comparing the reports.
2019-06-29 11:22:03 +02:00
Andreas Dangel
314bb71336
Fix reporting of nested classes inside interfaces/enums
2019-06-29 11:13:51 +02:00
Andreas Dangel
26967d627e
Update release notes, fixes #1880
2019-06-29 10:36:46 +02:00
Andreas Dangel
7db495f7aa
[java] CommentDefaultAccessModifier: add new property "checkTopLevelTypes"
...
Fixes #1880
2019-06-29 10:30:45 +02:00
Andreas Dangel
c6ac31f41d
Update release notes, fixes #1879
2019-06-29 09:51:37 +02:00
Andreas Dangel
9b095e113d
[plsql] Fix JoinClause preceded by subquery
...
Fixes #1879
2019-06-29 09:50:45 +02:00
Andreas Dangel
76d9d83894
Merge branch 'pr-1886'
2019-06-28 22:07:50 +02:00
Andreas Dangel
fd0b603260
Update release notes, refs #1886
2019-06-28 22:07:09 +02:00
Andreas Dangel
26832f5d2a
Merge branch 'pr-1885'
2019-06-28 22:00:02 +02:00
Andreas Dangel
f6f4512a92
Update release notes, refs #1885
2019-06-28 21:59:34 +02:00
Andreas Dangel
f05cde6f24
[plsql] Fix lookahead for CaseExpression
2019-06-28 21:56:16 +02:00
Hugo Araya Nash
5570e65baf
[plsql] Correct case expression
2019-06-28 21:56:16 +02:00
Andreas Dangel
43dde7f8bb
Merge branch 'pr-1876'
2019-06-28 21:44:39 +02:00
Andreas Dangel
3589b6b739
Update release notes, refs #1876
2019-06-28 21:43:47 +02:00
Andreas Dangel
3e5b3d66aa
[plsql] Fix PrimaryPrefix: parse literals first
2019-06-28 21:42:09 +02:00
Andreas Dangel
8c750d57f6
(doc) Update generated rule documentation
2019-06-28 21:20:32 +02:00
Andreas Dangel
793f7808be
(doc) Fix typo
2019-06-28 21:13:51 +02:00
Andreas Dangel
c66fb768ef
Merge branch 'pr-1889'
2019-06-28 21:10:55 +02:00
Andreas Dangel
939a1dfb78
Update release notes, fixes #1854
2019-06-28 21:10:39 +02:00
Andreas Dangel
d7b0a21f99
Merge branch 'pr-1887'
2019-06-28 20:59:39 +02:00
Andreas Dangel
79ae09638f
Update release notes, fixes #1853
2019-06-28 20:58:56 +02:00
Andreas Dangel
6b852e4e98
Merge branch 'pr-1883'
2019-06-28 20:48:03 +02:00
Andreas Dangel
930309bb61
Update release notes, fixes #1873 , refs #1883
2019-06-28 20:46:12 +02:00
Andreas Dangel
598c9b79ad
[plsql] Simplify condition / compound condition
2019-06-28 20:42:38 +02:00
Andreas Dangel
b97a1f29dd
[plsql] Keep the grammar compatible
2019-06-28 20:31:25 +02:00
Maikel Steneker
cd66277c19
Added Lua support to CPD.
...
The tokenizer uses an ANTLR4 grammar based on the one at https://github.com/antlr/grammars-v4/tree/master/lua .
2019-06-28 16:51:45 +02:00
Andreas Dangel
d631c153a8
Merge branch 'pr-1891'
2019-06-27 20:30:05 +02:00
Andreas Dangel
7c90c42fe5
Update release notes, fixes #1664
2019-06-27 20:28:40 +02:00
Andreas Dangel
ef011c526d
[apex] False positive ApexSharingViolationsRule, unsupported Apex feature
...
Fixes #1664
2019-06-27 20:22:05 +02:00
Andreas Dangel
e7427a3db0
Merge branch 'pr-1884'
2019-06-27 19:51:03 +02:00
Andreas Dangel
558fea1c05
Update release notes, fixes #1878 , refs #1884
2019-06-27 19:50:44 +02:00
Andreas Dangel
a84869153d
[plsql] Fixes #1878
2019-06-27 19:49:01 +02:00
Andreas Dangel
b1ba1bbbfe
[plsql] Add more JoinClause test cases
2019-06-27 19:21:57 +02:00
Clément Fournier
9cf19214ff
Move to bestpractices
2019-06-26 22:18:45 +02:00
Clément Fournier
45331699ab
Add to quickstart ruleset
2019-06-26 19:59:16 +02:00
Clément Fournier
8fc0e9c875
Add test cases
2019-06-26 19:53:18 +02:00
Clément Fournier
8e988fd7fd
Add DoubleBraceInitialization to design.xml
2019-06-26 19:40:11 +02:00
Hugo Araya Nash
c3591dcc1a
[plsql] Suport table alias for Insert Clause
2019-06-24 20:02:01 +02:00
Hugo Araya Nash
bcb33fd5ea
[plsql] fix #1878 Simplified solution
2019-06-24 19:53:48 +02:00
Hugo Araya Nash
ac285e50a5
[plsql] fix #1878 Support explicit INNER word for INNER JOIN
2019-06-24 19:53:48 +02:00
Hugo Araya Nash
4b7e2c97d5
[plsql] fix #1873 Expression list not working
2019-06-24 19:49:50 +02:00
Hugo Araya Nash
82cda02eb1
[plsql] Add date/time literal support for Expressions
2019-06-24 19:45:47 +02:00
Andreas Dangel
cd2bbdb46e
Merge branch 'pr-1874'
2019-06-24 19:26:56 +02:00
Andreas Dangel
5694e0414a
Update release notes, refs #1874
2019-06-24 19:26:34 +02:00
Clément Fournier
6b3ccdf069
Add a test case
2019-06-24 12:11:12 +02:00
Robert Sösemann
54b2267a34
Update news.md
2019-06-23 21:18:42 +02:00
Robert Sösemann
903f0c9241
Added Apex PMD related content
2019-06-23 21:16:21 +02:00
Andreas Dangel
86ce57ca3c
[java] CloseResource: support try-with-resources
2019-06-22 19:01:24 +02:00
Andreas Dangel
1e03ae5c06
[java] CloseResource - add allowedResourceTypes property for exceptions
...
By default, ByteArrayOutputStream and StringWriter are excluded from
the rule.
2019-06-22 12:24:43 +02:00