Andreas Dangel
084c78a5ea
[xml] Improve example for MistypedCDATASection
2019-07-13 19:39:41 +02:00
artem.krosheninnikov
75d40e741d
fixed output typo
2019-06-14 23:51:41 +03:00
artem.krosheninnikov
4f58cc695c
fix #1666 wrong cdata rule description and examples
2019-06-14 18:03:51 +03:00
Clément Fournier
6f4123afcc
Annotated overriding #getDumpFacade as Deprecated
2019-05-02 16:22:04 +02:00
Andreas Dangel
1c9a73426c
deprecate: DumpFacade will be removed in PMD 7
...
Refs #1801
2019-05-01 11:38:35 +02:00
Clément Fournier
39f87ca5f3
Update schema location in rulesets
2018-10-27 21:02:16 +02:00
Andreas Dangel
dc6b4e90a9
Merge branch 'pr-1382'
2018-10-17 08:46:47 +02:00
Will Herrmann
cba4e87acd
Replacing deprecated IO methods with ones that specify a charset
...
Standardizing with StandardCharsets.UTF_8, given that it was used in
several places of code already, and it provides compile-time checking
(as opposed to "UTF-8")
2018-10-12 17:25:08 -05:00
Andreas Dangel
1f7c827323
Merge branch 'master' into unit-test-split
2018-10-05 20:39:22 +02:00
Andreas Dangel
6d00e74142
Use new base class PmdRuleTst for rule tests
2018-10-05 20:33:38 +02:00
Andreas Dangel
52be023f80
Simplify rule tests, directly inherit from SimpleAggregatorTst
...
for apex, javascript, jsp, plsql, visualforce, vm, xml
2018-09-09 13:10:44 +02:00
Andreas Dangel
83b0fc542a
[xml] Split the rule tests
2018-09-09 12:01:36 +02:00
Clément Fournier
af5130ab00
Improvements and planned updates around PropertySource
2018-08-28 00:25:06 +02:00
Andreas Dangel
5a7bbe19a2
dogfood: fix missing override
...
Note: the rule is disabled for pmd-xml, refs #1074
2018-06-16 17:48:36 +02:00
Juan Martín Sotuyo Dodero
b7b31d16f6
Merge branch 'pr-1179'
2018-06-10 02:26:56 -03:00
Clément Fournier
735b8dfe37
Use better name
2018-06-10 03:41:22 +02:00
Clément Fournier
5cf7891d71
Add getXPathAttributes() to Node interface
...
Deprecate AttributeNode
2018-06-10 03:26:28 +02:00
Clément Fournier
c3aa662b77
Add unit test
2018-06-10 02:23:30 +02:00
Clément Fournier
226de4875d
Fix XML node length with autoclosing element
2018-06-08 21:40:53 +02:00
Clément Fournier
18df5835ff
Fix Saxon not reading Xml attributes
2018-06-08 20:36:08 +02:00
Andreas Dangel
81c5051832
Fixes #715 : [xml] ProjectVersionAsDependencyVersion false positive
2018-05-30 09:23:00 +02:00
Andreas Dangel
8bd1e3b486
Fix PMD dogfood: UncommentedEmptyMethodBody, SimplifyBooleanReturns,
...
UnnecessaryLocalBeforeReturn, OptimizableToArrayCall,
ClassWithOnlyPrivateConstructorsShouldBeFinal,
UseLocaleWithCaseConversions, NonStaticInitializer, UseCollectionIsEmpty
2018-03-10 12:04:50 +01:00
Andreas Dangel
c85abd258a
Fix PMD dogfood: AvoidPrefixingMethodParameters, UnnecessaryConstructor,
...
AvoidUsingShortType
2018-03-09 16:04:15 +01:00
Juan Martín Sotuyo Dodero
f62fe38d97
Minor cleanups
2018-02-17 14:12:23 -03:00
Clément Fournier
c401e2cbc6
Move boilerplate to an abstract class
2018-02-16 15:31:52 +01:00
Clément Fournier
3d8d9ff013
Corrections for PR comments #901
2018-02-04 20:47:20 +01:00
Clément Fournier
5a3e1941d0
Use multi valued property as a PoC
2018-02-03 14:31:31 +01:00
Clément Fournier
5e8e125afa
Replace synthetic proxy with static proxy for Xml nodes
...
Fixes #739
2018-02-03 14:24:24 +01:00
Clément Fournier
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
Andreas Dangel
05d29f4c9b
[doc] fix documentation of rule pom/ProjectVersionAsDependencyVersion
2017-12-15 16:46:34 +01:00
Andreas Dangel
d6a9be55a8
Unify rule category names
2017-12-15 11:22:33 +01:00
Andreas Dangel
6bba28acbe
Add categories.properties files
2017-11-07 22:23:17 +01:00
Andreas Dangel
d07dcb085a
[xml] Move pom/ProjectVersionAsDependencyVersion to errorprone
2017-11-06 21:22:45 +01:00
Andreas Dangel
e0f92716d9
[xml] Reorganize rules into categories
2017-11-03 17:36:25 +01:00
Clément Fournier
6a162c238c
Moved properties to n.s.pmd.properties
2017-09-14 00:05:55 +02:00
Andreas Dangel
d10d4abe52
Apply schema for xml rules tests
2017-09-11 21:56:06 +02:00
Andreas Dangel
b8cea8b7d4
[xml] Fix unit tests
2017-08-15 14:31:03 +02:00
Andreas Dangel
819da2c3b4
[doc] [xml] Adjust externalInfoUrl properties to new site - Part 11
...
Note: I also took the chance to fix tab damage
2017-08-15 14:31:03 +02:00
Andreas Dangel
3d9511a0e5
[doc] Remove old maven site
2017-08-15 14:31:03 +02:00
Matias Comercio
5880a85bb1
Autofix line ending issues
...
These files didn't have the expected line ending according to
the .gitattributes rule: `* text=auto`.
Don't know why this could have happened, but all these files
where created before the mentioned rule
2017-07-27 17:28:29 -03:00
Andreas Dangel
d92688a07d
Introduce end-of-line normalization
...
References pmd/build-tools#2
2017-02-02 20:52:08 +01:00
Andreas Dangel
d2bc0f3739
Checkstyle fixes
2016-12-03 11:31:01 +01:00
Andreas Dangel
617c6c622c
Merge remote-tracking branch 'origin/master' into codestyle
...
# Conflicts:
# pmd-core/src/main/java/net/sourceforge/pmd/RuleContext.java
# pmd-core/src/main/java/net/sourceforge/pmd/RuleSetFactory.java
# pmd-core/src/main/java/net/sourceforge/pmd/RuleSets.java
# pmd-core/src/main/java/net/sourceforge/pmd/RulesetsFactoryUtils.java
# pmd-core/src/main/java/net/sourceforge/pmd/SourceCodeProcessor.java
# pmd-core/src/main/java/net/sourceforge/pmd/lang/ast/SourceCodePositioner.java
# pmd-core/src/main/java/net/sourceforge/pmd/lang/ast/xpath/AttributeAxisIterator.java
# pmd-core/src/main/java/net/sourceforge/pmd/lang/symboltable/AbstractScope.java
# pmd-core/src/main/java/net/sourceforge/pmd/processor/MonoThreadProcessor.java
# pmd-core/src/main/java/net/sourceforge/pmd/processor/MultiThreadProcessor.java
# pmd-core/src/test/java/net/sourceforge/pmd/ConfigurationTest.java
# pmd-core/src/test/java/net/sourceforge/pmd/RuleSetFactoryTest.java
# pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/imports/UnnecessaryFullyQualifiedNameRule.java
# pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symboltable/TypeSet.java
# pmd-java/src/test/java/net/sourceforge/pmd/lang/java/symboltable/ClassScopeTest.java
# pmd-java/src/test/java/net/sourceforge/pmd/lang/java/symboltable/STBBaseTst.java
# pmd-plsql/src/main/java/net/sourceforge/pmd/lang/plsql/rule/AbstractPLSQLRule.java
# pmd-xml/src/test/java/net/sourceforge/pmd/lang/xml/XmlParserTest.java
2016-12-02 15:42:31 +01:00
Andreas Dangel
344d14f676
pmd-xml: checkstyle / formatting
2016-12-02 14:54:02 +01:00
Andreas Dangel
8522bdaa78
Merge branch 'bug-1518'
2016-11-20 18:13:32 +01:00
Andreas Dangel
4d8dcf3443
Fixes #1518 [xml] Error while processing xml file with ".webapp" in the file or directory name
2016-11-20 17:55:35 +01:00
Andreas Dangel
d1419f6b77
pom: Add a language module for Maven POM
2016-04-23 18:40:11 +02:00
Andreas Dangel
334ae8b9ba
Fix missing rulesets.properties file for wsdl
2016-04-11 22:18:10 +02:00
Andreas Dangel
e215d372ef
xml: use source code positioner from pmd-core
2016-04-11 20:24:43 +02:00
Andreas Dangel
b71b95c3ba
Merge branch 'bug-1458'
2016-04-01 21:44:51 +02:00