14422 Commits

Author SHA1 Message Date
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
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
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
Juan Martín Sotuyo Dodero
0703b041a8 Update changelog, refs #1635 2019-01-30 12:15:53 -03:00
Shubham
0547897934 Reviewed code updated 2019-01-30 19:43:09 +05:30
Shubham
cb0c70f1ac Review changes implemented 2019-01-30 18:58:47 +05:30
Shubham
d1c75ccff4 Unused Formatter need not be checked for synchronization. 2019-01-30 14:57:39 +05:30
Shubham
149f85a7e4 #1633 [java] UnsynchronizedStaticFormatter reports commons lang FastDateFormat
Thread safe formatter org.apache.commons.lang3.time.FastDateFormat can not avoid UnsynchronizedStaticFormatterRule.
2019-01-30 14:02:17 +05:30
Shubham
9532552eaa BeanMembersShouldSerializeRule aware of lombok accessors
Extended AbstractLombokAwareRule to make BeanMembersShouldSerializeRule aware of lombok annotations. Checking if class or any of the variables have lombok annotations and avoid BeanMembersShouldSerializeRule on these variables.
2019-01-30 11:09:44 +05:30
Travis CI (pmd-bot)
dab1fb24c6 Update documentation
TRAVIS_JOB_NUMBER=3376.1
TRAVIS_COMMIT_RANGE=add4a78b57a2...8a7913a30d93
2019-01-29 03:22:02 +00:00
Juan Martín Sotuyo Dodero
8a7913a30d Merge branch 'pr-1628' 2019-01-29 00:04:40 -03:00
Juan Martín Sotuyo Dodero
754a812ad2 Update changelog, refs #1628 2019-01-29 00:03:44 -03:00
Juan Martín Sotuyo Dodero
add4a78b57 Merge branch 'pr-1625' 2019-01-29 00:00:11 -03:00
Juan Martín Sotuyo Dodero
212fd100aa Update changelog, refs #1625 2019-01-28 23:59:30 -03:00
Juan Martín Sotuyo Dodero
081ee17349 Simplify test 2019-01-28 23:59:19 -03:00
Juan Martín Sotuyo Dodero
b15a5087e0 Merge branch 'pr-1623' 2019-01-28 23:46:23 -03:00
Juan Martín Sotuyo Dodero
c76c9734e0 Update changelog, refs #1623 2019-01-28 23:46:03 -03:00
Shubham
6f2cd5fe29 Test cases added
Updated testcases.
2019-01-28 23:02:59 +05:30