Juan Martín Sotuyo Dodero
1e3b1bf0b5
Merge branch 'master' into tree-transversal-boundaries
2018-03-29 01:54:56 -03:00
Clément Fournier
82799bdfe2
Fix property names and utility class detection
2018-03-27 15:05:06 +02:00
Clément Fournier
958a26db38
CStyle
2018-03-26 20:53:29 +02:00
Clément Fournier
7754224f9d
Fix deprecated XPath attribute not found
...
Deprecated attributes are not eliminated from the attribute iterator
anymore, which made deprecating attributes API breaking.
Instead, deprecated attribute usage are now detected and logged as
warnings
2018-03-26 20:29:14 +02:00
Andreas Dangel
3bcecddbb0
Merge branch 'pr-986'
2018-03-26 09:03:24 +02:00
Andreas Dangel
14d474f333
Merge branch 'pr-991'
...
Closes #974
2018-03-24 22:13:37 +01:00
Andreas Dangel
8dfef6c165
Update changelog, refs #974
2018-03-24 22:13:27 +01:00
Clément Fournier
ee85254bd0
Merge branch 'master'
2018-03-24 19:05:13 +01:00
Clément Fournier
a193af1d4a
Use auxclasspath ClassLoader to resolve type qualified names
2018-03-24 19:03:29 +01:00
Andreas Dangel
579914fb7e
Delete old dogfood rulesets
2018-03-23 10:33:41 +01:00
Juan Martín Sotuyo Dodero
c71db57733
Merge branch 'master' into tree-transversal-boundaries
2018-03-23 01:19:46 -03:00
Juan Martín Sotuyo Dodero
257d11e4f1
Add unit test for boundary checking
2018-03-23 01:18:53 -03:00
Juan Martín Sotuyo Dodero
809310cbd2
Improve javadocs
2018-03-23 01:17:05 -03:00
Juan Martín Sotuyo Dodero
a1ea36adc0
Simplify calls where possible
2018-03-23 00:52:54 -03:00
Clément Fournier
ccc1443373
Use JavaQualifiedName to resolve anonymous classes types in ClassTypeResolver
...
Success! We still need to figure out a straightforward bridge between JavaTypeDefinition and qualified names
2018-03-19 14:25:00 +01:00
Clément Fournier
06e38128c4
Wire the visitor into SourceCodeProcessor
...
We need a way to configure which visitors are run on nodes
obtained from ParserTstUtil
2018-03-19 14:05:51 +01:00
Juan Martín Sotuyo Dodero
36ac7ddd4c
Merge branch 'pr-975'
2018-03-19 01:39:06 -03:00
Juan Martín Sotuyo Dodero
4254fb3f15
Merge branch 'pr-895'
2018-03-19 01:33:07 -03:00
Juan Martín Sotuyo Dodero
acd365ad98
Add new rule to release ruleset
2018-03-18 12:32:04 -03:00
Juan Martín Sotuyo Dodero
8deaf20f4d
findDescendantsOfType defaults to not crossing boundaries
...
- A few places actually need to do so, and some other were simply wrong
- We can now cross the boundary if searching dowm from it
- Anonymous inner classes are still somewhat inconsistent
2018-03-12 01:20:00 -03:00
Juan Martín Sotuyo Dodero
f725f1ebfa
[java] Honor find boundaries
...
- This fixes #904
- `hasDescendantOfType`, `getFirstDescendantOfType` and
`findDescendantsOfType` are now consistent
2018-03-12 01:13:29 -03:00
Clément Fournier
9eb79af16b
Update docs
2018-03-12 01:01:58 +01:00
Clément Fournier
e643da230d
Merge branch 'master'
2018-03-12 00:36:56 +01:00
Andreas Dangel
d27273581f
Fix PMD / Checkstyle issues
2018-03-11 10:32:37 +01:00
Andreas Dangel
f4441ce938
Merge branch 'pr-912'
2018-03-11 10:15:28 +01:00
Andreas Dangel
96446f384b
Update release notes, new rule MissingOverride, refs #912
2018-03-11 10:07:51 +01:00
Juan Martín Sotuyo Dodero
451815bf0a
Merge branch 'pr-954'
2018-03-11 02:23:26 -03:00
Andreas Dangel
d6ccc58f20
Corrections from PR review ( #908 ), make the metrics visitors extendable again
2018-03-10 20:52:11 +01: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
Andreas Dangel
cf88117820
Fix PMD dogfood: UnusedFormalParameter, UselessParentheses and UselessOverridingMethod
2018-03-09 12:52:20 +01:00
Andreas Dangel
f452adbf6a
Fix PMD dogfood: SimplifiedTernary
2018-03-09 10:26:23 +01:00
Andreas Dangel
5972c32ecf
Fix checkstyle
2018-03-09 10:01:00 +01:00
Andreas Dangel
f3a358c419
Fix PMD dogfood: EmptyCatchBlock
2018-03-09 09:58:04 +01:00
Andreas Dangel
4ace14899c
Fix PMD dogfood: UnusedPrivateField
...
Refs #361
2018-03-09 09:57:15 +01:00
Clément Fournier
ca4500b40b
Delete multi property, add tests
2018-03-06 23:42:41 +01:00
Clément Fournier
9fcf146241
Add RegexMultiProperty
2018-03-06 23:41:32 +01:00
Clément Fournier
d489698157
Add RegexProperty
2018-03-06 23:40:56 +01:00
Clément Fournier
f8864e9060
Make real Ant test cases
2018-03-05 21:58:05 +01:00
Clément Fournier
5d590a259e
Add basic Ant test cases, correct behaviour
2018-03-05 20:52:39 +01:00
Clément Fournier
07a9859ce3
Update Ant task and user docs
2018-03-05 17:15:08 +01:00
Clément Fournier
ff1c90d753
Some corrections for PR #954
2018-03-05 16:47:34 +01:00
Clément Fournier
e2c6f1e467
Add '-no-cache' CLI switch, to disable incremental analysis
...
- The switch discards the argument provided to '-cache' if any
- Using the switch disables the suggestion to use incremental analysis
- Rule tests use that option to avoid the warning, which clutters build logs
- Refs #946
2018-03-05 13:47:48 +01:00
Juan Martín Sotuyo Dodero
0e4a793dd3
Merge branch 'pr-941'
2018-03-03 17:06:56 -03:00
Andreas Dangel
d6508c1b28
Fix checkstyle
2018-03-02 20:26:36 +01:00
reudismam
e1b954289a
Use char notation to represent a character to improve performance.
2018-02-26 19:40:40 -03:00
Juan Martín Sotuyo Dodero
5bf8945f99
Merge branch 'pr-937'
2018-02-25 19:24:52 -03:00
Andreas Dangel
84e388cdf2
Merge branch 'pr-801'
2018-02-24 22:42:20 +01:00
Andreas Dangel
3c280b8ef2
Use Files.move instead of File.renameTo
...
This prevents problems when building PMD under Windows
2018-02-24 20:40:38 +01:00
Andreas Dangel
8f6f8e9842
Corrections for PR #931
2018-02-22 08:54:29 +01:00