3d429019ee
Fix rules
2020-03-20 18:47:40 +01:00
0d65c2e6e6
Add relevant property tag
2020-03-20 18:47:40 +01:00
eaceefc39e
Update XPath rules to 2.0
2020-03-20 18:47:40 +01:00
138c0e3e86
Deprecate tokManagers for more module
2020-03-17 15:08:58 +01:00
d90d5d267c
Remove trailing whitespace everywhere
2020-01-24 23:40:06 +01:00
5feca7fd93
Exclude generated AST*.java files from internalization
2020-01-24 16:19:24 +01:00
60e97d0ec8
Deprecate javacc generated code
2020-01-22 17:19:29 +01:00
4450d826f7
Merge branch 'pr-2225'
...
[core] CPD: report endLine / column informations for found duplications
2020-01-17 14:59:02 +01:00
817c3d1127
CPD: Remove deprecations in Mark / TokenEntry
...
* Provide these values for more languages
2020-01-17 14:47:23 +01:00
d9ad819dab
Replace usages of node methods everywhere
2020-01-17 11:57:19 +01:00
f53993427c
Merge branch 'pr-2172'
...
[core] Deprecate jjtree methods from the Node interface
2020-01-17 08:18:50 +01:00
c53d9508e9
Small changes from code review
...
* rename BaseParserHelper
* Not using org.jetbrains.annotations.NotNull
2020-01-10 12:18:43 +01:00
4269fd1b73
Refactor tests for javascript, jsp, plsql, scala, visualforce, xml
...
using BaseParsingHelper
Revert "REVERT ME Remove some diff"
This reverts commit f72810088d
.
2020-01-10 12:12:34 +01:00
f72810088d
REVERT ME Remove some diff
2019-12-20 18:32:47 +01:00
8afe5ae7a8
Abstract away parser utils
...
Convert a few pieces of code
Share with modelica
Remove yet another dup
Fix tests
Doc
Share with plsql
Fix tests
Fix build
Cleanup
Minimize diff
Share with JSP module
Share with JS module
Share with XML module
Share with VisualForce module
Share with Scala module
Fix last tests
2019-12-20 18:30:17 +01:00
1aabc53fa2
Deprecate childrenAccept in all modules
2019-12-17 17:39:13 +01:00
eb6ceef085
Add comments and update release notes
2019-12-05 15:23:07 +01:00
bb7478cd0a
Deprecate RuleViolationFactory impls
...
Internal APIs
2019-12-05 15:18:35 +01:00
6f4123afcc
Annotated overriding #getDumpFacade as Deprecated
2019-05-02 16:22:04 +02:00
1c9a73426c
deprecate: DumpFacade will be removed in PMD 7
...
Refs #1801
2019-05-01 11:38:35 +02:00
89c8f47b2b
Move JavaCCTokenizer to internal package
2019-01-26 19:19:46 +01:00
08b7dd49dd
[core] Add a generic JavaCCTokenizer for CPD
2019-01-26 11:24:32 +01:00
b745f331b8
CPD: Fix error handling for lexical errors
...
* TokenMgrError must not be caught by the tokenizer. This is handled
by CPD itself
* The token managers need to know the filename for proper error messages
2019-01-20 10:18:56 +01:00
4962bc2831
Remove usages of EnumeratedProperty
2018-12-06 15:21:00 +01:00
81c9d39bd8
Remove most usages of BooleanProperty
2018-12-04 13:49:35 +01:00
e735ee0f84
Dogfood - IdenticalCatchBranches, AvoidFileStream
2018-11-25 16:00:47 +01:00
b62b216b29
Merge branch 'pr-1399'
2018-10-27 22:55:10 +02:00
39f87ca5f3
Update schema location in rulesets
2018-10-27 21:02:16 +02:00
377baf7caf
Replacing IOUtils.closeQuietly(foo) with try-with-resources statements
2018-10-19 14:23:51 -05:00
1f7c827323
Merge branch 'master' into unit-test-split
2018-10-05 20:39:22 +02:00
6d00e74142
Use new base class PmdRuleTst for rule tests
2018-10-05 20:33:38 +02:00
52be023f80
Simplify rule tests, directly inherit from SimpleAggregatorTst
...
for apex, javascript, jsp, plsql, visualforce, vm, xml
2018-09-09 13:10:44 +02:00
6e2e389520
[javascript] Split the rule tests
2018-09-09 12:01:36 +02:00
af5130ab00
Improvements and planned updates around PropertySource
2018-08-28 00:25:06 +02:00
5a7bbe19a2
dogfood: fix missing override
...
Note: the rule is disabled for pmd-xml, refs #1074
2018-06-16 17:48:36 +02:00
9bb638fef2
Reformatting
2018-06-01 09:38:15 +02:00
439624319a
[ecmascript] InnaccurateNumericLiteral false positive with hex literals
...
Fixes #861
2018-06-01 09:38:08 +02:00
78f7343713
[javascript] Support comment based CPD suppressions
2018-04-15 02:21:28 -03:00
8bd1e3b486
Fix PMD dogfood: UncommentedEmptyMethodBody, SimplifyBooleanReturns,
...
UnnecessaryLocalBeforeReturn, OptimizableToArrayCall,
ClassWithOnlyPrivateConstructorsShouldBeFinal,
UseLocaleWithCaseConversions, NonStaticInitializer, UseCollectionIsEmpty
2018-03-10 12:04:50 +01:00
6a3b332aee
Abstract toString into AbstractNode, deprecate the implementation
...
Log that the default implementation will be removed
2018-01-25 03:02:44 +01:00
3c0bb45a60
Add getXPathNodeName to the Node interface
...
A default implementation is available in AbstractNode
to preserve compatibility with the previous way, which
used Object.toString.
Fixes #569
2018-01-24 19:22:36 +01:00
6bba28acbe
Add categories.properties files
2017-11-07 22:23:17 +01:00
f00224cd90
[javascript] Update rule category descriptions
2017-11-03 12:27:00 +01:00
69be69c35c
[javascript] Add category descriptions
2017-11-01 18:44:34 +01:00
fb79716cfa
[javascript] Move rule AvoidTrailingComma to errorprone
2017-11-01 18:43:35 +01:00
a4248afbbc
[javascript] Move rules and tests to new packages
2017-10-31 15:48:05 +01:00
b2f8cc094c
[javascript] Reorganize rules into categories
2017-10-31 15:32:50 +01:00
91b8a22b42
Update GenericToken specialToken method to obtain only comment tokens
2017-10-28 14:42:44 -03:00
e8fdbdbca4
Update GenericToken interface to expose directly region methods
2017-10-28 14:42:44 -03:00
647a17f060
Change ant tasks over (Ecmascript5) Token class
2017-10-28 14:42:44 -03:00