Commit Graph

17227 Commits

Author SHA1 Message Date
3571608234 Handle chained method calls.
This wasn't working because they had a null image. Turns out that nodes
have a method called `hasImageEqualTo` which handles the null case for
us.
2020-05-06 11:26:14 +01:00
acbf53e8ab Variable is used if method is called on it 2020-05-06 11:11:13 +01:00
3fba3f6217 Update hamcrest to 2.2, Junit to 4.13, mockito to 2.28.2 2020-05-04 23:00:28 +03:00
e7512fd46d Checkout setChild from java-grammar
Remove AbstractNode::setChildren
Hide setChildIndex
2020-05-02 22:54:40 +02:00
57177abba3 Merge branch 'pr-2447' into pmd/7.0.x
[core] Cleanup Node and AbstractNode 
2020-05-02 17:15:20 +02:00
efef060e9d Merge branch '7.0.x' into cleanup-abstract-node 2020-05-01 16:25:40 +02:00
301cb8ca33 Fix merge 2020-05-01 16:20:05 +02:00
fed55b0725 Merge branch 'master' into 7.0.x 2020-05-01 16:13:52 +02:00
a2cd3fd8e5 Removed tab character in pom.xml 2020-04-30 16:38:03 -04:00
3a3b0a0908 Adding antlr4 to pom, tests 2020-04-30 15:16:31 -04:00
4d2749b697 Merge branch 'pr-2452'
[doc] Fix "Making Rulesets" doc sample code indentation 
2020-04-30 19:42:13 +02:00
f636c1fe8c [doc] Update release notes, refs 2020-04-30 19:41:39 +02:00
522e98b65f Merge branch 'pr-2446'
[core] Update maven-compiler-plugin to 3.8.1 
2020-04-30 19:29:38 +02:00
fdabf7e25d [doc] Update release notes, refs 2020-04-30 19:28:35 +02:00
15da8cb16a Adding XML to CPD 2020-04-30 13:06:52 -04:00
01c5900e7e Merge branch 'pr-2449'
[plsql] Additional info in SqlStatement, FormalParameter and FetchStatement 
2020-04-30 18:55:44 +02:00
6c97fb093b [doc] Update release notes, refs 2020-04-30 18:54:36 +02:00
ad8662ccc4 [plsql] Add more tests 2020-04-30 18:52:21 +02:00
ef9d5fd89d [plsql] Small improvements, see 2020-04-30 18:24:59 +02:00
bd835c0bb5 Merge branch '7.0.x' into cleanup-abstract-node 2020-04-29 09:19:00 +02:00
bb9341ed7c Merge branch 'master' into 7.0.x 2020-04-28 08:24:56 +02:00
0adb7c8635 Add some DeprecatedAttribute annotations
This improves warnings for XPath rules
2020-04-28 08:23:27 +02:00
e34beeb1e6 Fix "Making Rulesets" doc sample code indentation 2020-04-27 22:28:31 +03:00
b88a8b2fcf Merge branch 'harsh-kukreja-master' 2020-04-27 21:25:30 +02:00
9416a8fa65 Update release notes, refs 2020-04-27 21:25:23 +02:00
4192f04c1d [apex] clarify AvoidGlobalModifier, refs 2020-04-27 19:41:33 +02:00
5b8a9fabe1 Update ASTFormalParameter.java
Code style refactoring
2020-04-27 16:26:40 +02:00
944752da3f Update ASTFetchStatement.java
InternalApi annotation added.
2020-04-27 15:38:19 +02:00
08a430ed3f Update ASTSqlStatement.java
InternalApi annotation added
2020-04-27 15:32:31 +02:00
ffd573e1b5 Merge branch 'master' into additional_info 2020-04-27 15:05:22 +02:00
15b0bda348 [plsql] added some additional info in userData 2020-04-27 11:24:03 +02:00
b2dc358aba Operator Wrap check 2020-04-27 09:09:07 +05:30
020f2a9a0c Make AbstractPLSQLNode package-private 2020-04-26 22:07:16 +02:00
541b4c368d Bring back SimpleNodeTest
No real reason to remove it, but it should be
moved to pmd-core
2020-04-26 21:58:50 +02:00
1bb7e3d6e7 Checkstyle 2020-04-26 21:44:36 +02:00
7e10867973 Fix apex module 2020-04-26 21:38:38 +02:00
a237ae4adc Reinstate ClassScope building of enum valueOf 2020-04-26 21:32:14 +02:00
b26eb20636 Fix dataflow code 2020-04-26 21:31:57 +02:00
24c4abd9f4 Remove tparam of JjtreeBuilder 2020-04-26 20:24:43 +02:00
aaceca5574 Fix compil 2020-04-26 19:33:02 +02:00
1a6d7b393c Add a type parameter to AbstractNode 2020-04-26 19:04:31 +02:00
13e414c73d Add insertChild 2020-04-26 18:28:47 +02:00
3e892e1323 Make children array private, fix comment nodes 2020-04-26 18:07:50 +02:00
7028157808 Ensure Parser returns a RootNode 2020-04-26 17:29:27 +02:00
443703f4f3 Doc 2020-04-26 17:23:31 +02:00
c74446a50c Merge branch '7.0.x' into cleanup-abstract-node 2020-04-26 17:10:31 +02:00
7beb2824c1 Cleanup ecmascript visitor 2020-04-26 17:08:20 +02:00
24a9bf5df6 Merge branch '7.0.x' into cleanup-abstract-node 2020-04-26 17:03:28 +02:00
3a72f3c4fa update maven-compiler-plugin to 3.8.1 and remove workaround for a bug in IDEA that was closed 2020-04-26 14:27:37 +03:00
9c45d90a14 [doc] Extend documentation for writing AST regression tests 2020-04-25 18:58:02 +02:00