aa672e9d0e
[cli] Remove unnecessary logging
2024-02-29 20:49:33 +01:00
80db40b6a2
[core] Include revision and build time in PMDVersion
...
- Using git-commit-id-maven-plugin
- Adding the version via an explicit property file
and resource filtering
- For snapshots, it will be the git commit timestamp
- For release, it will be the release timestamp
2024-02-29 18:42:44 +01:00
3a7b570df0
Merge branch 'master' into experimental-apex-parser
2024-02-22 18:38:17 +01:00
9e71e36ab1
Merge pull request #4811 from adangel:issue-4349-cleanup-deprecations
...
Cleanup remaining experimental and deprecated API #4811
2024-02-22 17:08:51 +01:00
59537fb15c
Merge branch 'master' into experimental-apex-parser
2024-02-13 20:12:39 +01:00
dbde030d8f
[core] Remove @DeprecatedUntil700
2024-02-10 13:10:53 +01:00
1b4acab7c4
Merge branch 'master' into issue-4349-cleanup-deprecations
2024-02-10 12:36:58 +01:00
5705847594
[core] Consolidate internal api in properties
...
PropertyTypeId - moved to internal
PropertyDescriptor#getTypeId
2024-02-10 11:56:58 +01:00
68d4561544
[core] Consolidate internal api in XPath Attribute
...
Attribute#replacementIfDeprecated
2024-02-10 10:51:19 +01:00
5e92b5907e
[core] Consolidate internal api in FileCollector
...
FileCollector#newCollector
2024-02-10 10:47:07 +01:00
3a635da9c2
[core] Consolidate internal api in PMDConfiguration
...
PMDConfiguration#setAnalysisCache
PMDConfiguration#getAnalysisCache
2024-02-10 10:38:26 +01:00
2cc9ae9d7e
[core] Consolidate internal api in LexException
2024-02-10 10:05:56 +01:00
7c5bf74402
[core] Consolidate internal api in n.s.p.lang.rule
...
RuleSet#applies
RuleSetLoader#loadRuleSetsWithoutException
RuleSetLoadException ctors
2024-02-10 09:58:53 +01:00
72edaee08a
[core] Internalize ParametricRuleViolation
2024-02-09 22:02:36 +01:00
bc5be45566
Merge branch 'master' into issue-4348-internal-api
2024-02-09 21:31:05 +01:00
19496ef198
Merge pull request #4808 from adangel:issue-3905-tree-export-api
...
[core] Promote Tree Export API as stable #4808
2024-02-09 16:56:56 +01:00
5931461ca9
Merge pull request #4804 from adangel:issue-4309-xpath-cleanups
...
[core] XPath cleanups #4804
2024-02-09 16:23:58 +01:00
a2f2720f77
Fix imports
2024-02-09 15:41:36 +01:00
6a328d6cd0
Merge pull request #4803 from adangel:issue-3903-reporting-package
...
[core] Consolidate n.s.pmd.reporting package #4803
2024-02-09 15:32:55 +01:00
2a3128fb86
Merge pull request #4799 from adangel:issue-3917-rule-package
...
[core] Consolidate n.s.pmd.lang.rule package #4799
2024-02-09 14:39:03 +01:00
17848c484d
Merge branch 'master' into experimental-apex-parser
2024-02-09 09:29:16 +01:00
baef47bf19
Remove unused imports
2024-02-09 09:23:08 +01:00
0d40878b0a
Promote experimental APIs as stable
...
- HTML support and Kotlin support no more experimental
- The only left over experimental APIs are java preview features
2024-02-09 08:46:48 +01:00
d92f9ae0d8
Fix checkstyle
2024-02-08 18:31:33 +01:00
5599a8fd65
Merge branch 'master' into issue-4349-cleanup-deprecations
2024-02-08 18:23:41 +01:00
b6adbf5bb5
[java] Remove deprecated classes and methods
...
AbstractPackageNameModuleDirective#getImage
AbstractTypeDeclaration#getImage
ASTAnnotation#getAnnotationName
ASTClassType#ASTClassType(String)
ASTClassType#getImage
ASTClassType#isReferenceToClassSameCompilationUnit
ASTFieldDeclaration#getVariableName
ASTLiteral#is_xxx_Literal
ASTMethodDeclaration#getMethodName
ASTMethodReference#getImage
ASTModuleName#getImage
ASTPrimitiveType#getImage
ASTType#getTypeImage
ASTType#getArrayDepth
ASTType#isPrimitiveType #isArrayType #isClassOrInterfaceType
ASTTypeDeclaration#getImage
ASTUnaryExpression#isPrefix
ASTVariableId#getImage
ASTVariableId#getVariableName
JavaComment#getImage
JavaNode#jjtAccept
JavaParserVisitor
JavaParserVisitorAdapter
ModifierOwner#isFinal #isAbstract ... #isPublic ...
TypeNode#getType
2024-02-08 17:54:19 +01:00
77beab517a
[core] Remove deprecated methods in RuleSetLoader and RuleViolation
...
RuleSetLoader#toFactory
RuleViolation#getPackageName
RuleViolation#getClassName
RuleViolation#getMethodName
RuleViolation#getVariableName
2024-02-08 13:47:53 +01:00
d1ff6b89e7
[core] Remove deprecated method Report#merge
2024-02-08 13:33:08 +01:00
28f2cf8e40
[core] Remove deprecated methods in AbstractConfiguration and PMDConfiguration
...
AbstractConfiguration#setIgnoreFilePath
AbstractConfiguration#setInputFilePath
AbstractConfiguration#setInputPaths
AbstractConfiguration#setInputUri
PMDConfiguration#prependClasspath
PMDConfiguration#getRuleSets
PMDConfiguration#setRuleSets
PMDConfiguration#setReportFile
PMDConfiguration#getReportFile
2024-02-08 11:16:00 +01:00
0543cf0819
[core] Remove deprecated methods in CollectionUtil
...
CollectionUtil#invertedMapFrom
CollectionUtil#mapFrom
2024-02-08 10:54:07 +01:00
bc5ba3a54f
[core] Remove deprecated DataSource classes
...
DataSource
FileDataSource
ReaderDataSource
ZipDataSource
2024-02-08 10:36:11 +01:00
5c02b62623
[core] Remove deprecated members in Reportable
...
Reportable#getBeginLine
Reportable#getBeginColumn
Reportable#getEndLine
Reportable#getEndColumn
2024-02-08 10:10:09 +01:00
50cbfe6834
[core] Remove deprecated members in AbstractPropertySource
...
AbstractPropertySource#propertyDescriptors (private now)
AbstractPropertySource#propertyValuesByDescriptor (private now)
AbstractPropertySource#copyPropertyDescriptors
AbstractPropertySource#copyPropertyValues
2024-02-08 09:53:48 +01:00
9e5115479d
[core] Remove deprecated methods in Language, LanguageRegistry
...
Language#getTerseName
LanguageModuleBase#getTerseName
LanguageRegistry#getLanguage
LanguageRegistry#findLanguageByTerseName
LanguageRegistry#findByExtension
2024-02-08 09:53:34 +01:00
90ab50ca29
[core] Remove XPathRule#XPATH_DESCRIPTOR
2024-02-08 09:00:33 +01:00
cdc70c633a
[core] Remove deprecated methods in RuleReference
...
RuleReference#setRuleSetReference
RuleReference#hasOverriddenProperty
2024-02-08 08:29:55 +01:00
1900aa79c4
[core] Remove deprecated methods in AbstractRule
...
AbstractRule#deepCopyValuesTo
AbstractRule#addRuleChainVisit
AbstractRule#addViolation
AbstractRule#addViolationWithMessage
2024-02-08 08:25:45 +01:00
f95431f336
[core] Remove deprecated AbstractDelegateRule
2024-02-06 21:33:33 +01:00
3ec38df9b0
[core] Remove deprecated XPathVersions
2024-02-06 21:33:08 +01:00
5e4b7f5eb5
Merge pull request #4798 from adangel:textcolor-renderer
...
[core] TextColorRenderer: Remove property color #4798
2024-02-02 20:02:02 +01:00
fa97cff7ff
Merge pull request #4797 from adangel:lexexception-cpdlexer
...
[core] Rename TokenMgrError to LexException, Tokenizer to CpdLexer #4797
2024-02-02 19:59:41 +01:00
a78e17b7a6
Merge pull request #4796 from adangel:remove-deprecated-and-release-rulesets
...
Remove deprecated and release rulesets #4796
2024-02-02 19:57:04 +01:00
a76ec3410c
Merge pull request #4795 from adangel:remove-ruleset-factory-compatibility
...
[core] Remove ruleset compatibility filter (RuleSetFactoryCompatibility) and CLI option --no-ruleset-compatibility #4795
2024-02-02 19:53:51 +01:00
a411bc5dac
Merge pull request #4793 from adangel:undeprecate-dysfunction-reason
...
[core] Undeprecate PropertySource::dysfunctionReason in PMD 7 #4793
2024-02-02 19:51:05 +01:00
c8686a0dff
Merge pull request #4792 from adangel:undeprecate-node-getImage
...
[core] Undeprecate Node::getImage() in PMD 7 #4792
2024-02-02 19:49:26 +01:00
5b2b03847e
Merge pull request #4786 from adangel:issue-4313-remove-old-rule-reference-notation
...
[core] Remove support for deprecated rule set references notation #4786
2024-02-02 19:46:55 +01:00
c6ce5a9557
Merge branch 'master' into avoid-image
2024-02-02 16:56:54 +01:00
5c69ec0360
[core] Remove deprecated classes/methods
...
FileCollector#addZipFile
TextDocument#readOnlyString
TextFile#dataSourceCompat
2024-02-02 16:20:54 +01:00
8111d450c2
[core] Remove deprecated classes/methods
...
Node#getParentsOfType
Node#findChildrenOfType
Node#findDescendantsOfType
Node#getFirstChildOfType
Node#getFirstDescendantOfType
Node#hasDescendantOfType
2024-02-02 15:57:34 +01:00
19f9bdde5f
[core] Remove deprecated classes/methods
...
CpdLanguageProperties#DEFAULT_SKIP_BLOCKS_PATTERN
BaseAntlrNode#joinTextToken
Node#getNthParent
Node#getFirstChildOfType
2024-02-02 14:41:45 +01:00