14581 Commits

Author SHA1 Message Date
Andreas Dangel
18afdad101 Merge remote-tracking branch 'adangel/issue-1590' into plsql-parser-fixes2 2019-02-16 20:07:03 +01:00
Andreas Dangel
ee3dd2db7a Merge remote-tracking branch 'adangel/issue-1589' into plsql-parser-fixes2 2019-02-16 20:02:09 +01:00
Andreas Dangel
0a26a3bb17 Merge remote-tracking branch 'adangel/issue-1587' into plsql-parser-fixes2 2019-02-16 20:00:39 +01:00
lsoncini
72f2e425b2 KotlinTokenizer refactor 2019-02-16 15:49:03 -03:00
Tomi De Lucca
3cff4f3d22 Minor fixes 2019-02-16 01:19:05 -03:00
Tomi De Lucca
017f50df3e Merge branch 'master' of github.com:pmd/pmd into feature/token-filter 2019-02-16 00:25:10 -03:00
Tomi De Lucca
f049a36e5c Refactored token filter 2019-02-16 00:24:16 -03:00
Andreas Dangel
833119e00c [plsql] Fix test cases
* table is a reserved word and cannot be used as an identifier
* correctly name test class for TableCollectionExpressionTest
2019-02-10 10:41:58 +01:00
Andreas Dangel
b32e5b0910 [plsql] Support REGEXP_LIKE condition 2019-02-10 10:30:23 +01:00
Andreas Dangel
2e07139f8d [plsql] Add multiset condition in where clause 2019-02-10 10:30:23 +01:00
Andreas Dangel
06eb3e24eb [plsql] Parse Exception with EXISTS
Fixes #1587
2019-02-10 10:30:23 +01:00
Andreas Dangel
fcdded6d5d [plsql] ParseException with subqueries in WHERE clause
Fixes #1589
2019-02-10 10:27:42 +01:00
Andreas Dangel
c03910fb99 Update release notes, refs #1590 2019-02-10 10:25:13 +01:00
Andreas Dangel
adfc8511e6 [plsql] FunctionCall is now used again for user defined functions 2019-02-10 10:24:40 +01:00
Andreas Dangel
fcba29a3b7 [plsql] ParseException when using hierarchical query clause
Fixes #1590

* Moves function calls down to primary expression so that functions
  can be used in a select expression
* Restrict FunctionCall to built-in functions. User defined functions
  are parsed as primary expressions.
* Parse function name of built-in function as general ID.
* The Tokens _DEFAULT, ELSE and EXCEPTION are reserved words and not
  available for identifiers.
2019-02-10 10:24:40 +01:00
Andreas Dangel
544238244b [java] Rename UseDiamondOperator -> UseDiamondOperatorTest 2019-02-10 09:42:41 +01:00
Juan Martín Sotuyo Dodero
e57d365da9 Merge branch 'pr-1646' 2019-02-09 13:13:09 -03:00
Juan Martín Sotuyo Dodero
f012dca515 Update changelog, refs #1646 2019-02-09 13:12:47 -03:00
Juan Martín Sotuyo Dodero
189c5990f4 Split test cases for granularity 2019-02-09 13:11:16 -03:00
Shubham
74d45a90f0 New test case added 2019-02-09 16:31:09 +05:30
Shubham
5bb24d96cf XPATH for UseDiamondOperator Rule Updated 2019-02-08 17:26:35 +05:30
Shubham
50f64f5fb1 Update UseDiamondOperator.xml 2019-02-07 10:46:06 +05:30
Shubham
1d321d9a0a Removed var from getting checked by UseDiamondOperatorRule
Also includes Minor Correction in one test case.
2019-02-06 16:51:46 +05:30
Juan Martín Sotuyo Dodero
cfe07822be Merge branch 'pr-1644' 2019-02-05 23:33:41 -03:00
Juan Martín Sotuyo Dodero
be73856c7c Update changelog, refs #1644 2019-02-05 23:32:52 -03:00
Juan Martín Sotuyo Dodero
a558133822 Merge branch 'pr-1645' 2019-02-05 22:53:10 -03:00
Juan Martín Sotuyo Dodero
3f436ddbbd Update changelog, refs #1645 2019-02-05 22:52:54 -03:00
Juan Martín Sotuyo Dodero
2165fb056c Remove TryStatement from parent blocks
- We should treat appends over the try edge as consecutive, it's only
   catch / finally that maye break the linear execution flow
2019-02-05 22:50:11 -03:00
Juan Martín Sotuyo Dodero
58b52a4fd8 Add more test cases 2019-02-05 22:49:53 -03:00
Shubham
709f9ed4ea Catch and Finally Statements added 2019-02-05 12:58:39 +05:30
tomdaly
7dd44ec414 Fix PR comments 2019-02-04 19:16:08 +00:00
tomdaly
37f5031769 Merge branch 'master' of git://github.com/pmd/pmd into enhancement-1573 2019-02-04 10:51:41 +00:00
Shubham
86c72a87b4 Try Statement added to list of block parents
ASTTryStatement added to BLOCK_PARENTS.
2019-02-04 15:29:23 +05:30
Clément Fournier
28725841ab Make channel not static 2019-02-04 07:22:19 +01:00
Clément Fournier
e2ed8447e6 Simplify and abstract selection logic with messenger pattern 2019-02-04 07:04:09 +01:00
tomdaly
295c945978 Add property to allow apex test methods to contain underscores
Add a 'skipTestMethodUnderscore' boolean property that allows an
annotated Apex test method (@isTest or testMethod) to contain underscores
Fixes issue #1573
2019-02-03 19:11:40 +00:00
Clément Fournier
1daa3382ae Simplify event log popup flow 2019-02-03 17:53:36 +01:00
Juan Martín Sotuyo Dodero
db2348baec Merge branch 'pr-1637' 2019-02-02 13:58:39 -03:00
Juan Martín Sotuyo Dodero
f1c0afddab Update changelog, refs #1637 2019-02-02 13:58:00 -03:00
Juan Martín Sotuyo Dodero
422f44cf1a Add todo for follow up improvements 2019-02-02 13:56:29 -03:00
Shubham
1e1d6aafae code review changes 2019-02-02 20:38:23 +05:30
Juan Martín Sotuyo Dodero
d5b3da2c11 Merge branch 'pr-1640' 2019-02-01 19:26:41 -03:00
Juan Martín Sotuyo Dodero
6d17dc2e45 Update changelog, refs #1640 2019-02-01 19:25:35 -03:00
Phokham Nonava
f0830eb973 Update instead of override classHasLombokAnnotation flag
Fixes issues where inner classes would override this flag.
2019-02-01 22:59:04 +01:00
Shubham
23ce8435e4 all compile time constants are avoided by AccessorMethodGenerationRule 2019-02-01 19:36:51 +05:30
Shubham
7a5ed78a73 constants initialized by literals avoided by AccessorMethodGenerationRule
Compile time constants with literals only expression avoiding AccessorMethodGenerationRule.
2019-01-31 15:40:22 +05:30
Travis CI (pmd-bot)
bd7c6c3a17 Update documentation
TRAVIS_JOB_NUMBER=3387.1
TRAVIS_COMMIT_RANGE=0ae9ed045b8e...e2a4b744fd54
2019-01-30 15:45:01 +00:00
Juan Martín Sotuyo Dodero
e2a4b744fd Merge branch 'pr-1634' 2019-01-30 12:27:17 -03:00
Juan Martín Sotuyo Dodero
db3d1c8362 Update changelog, refs #1634 2019-01-30 12:26:17 -03:00
Juan Martín Sotuyo Dodero
0ae9ed045b Merge branch 'pr-1635' 2019-01-30 12:16:09 -03:00