Andreas Dangel
c7e493f283
[java] Enable security ruleset for all-java.xml
2018-04-23 21:21:22 +02:00
Andreas Dangel
ba6f3fb5cb
Merge branch 'pr-1042'
2018-04-23 21:02:48 +02:00
Andreas Dangel
1f662e81f7
Update release notes, refs #1042 - new rule
2018-04-23 21:01:11 +02:00
Andreas Dangel
092ec8264a
Merge branch 'pr-1045', fixes #1036
2018-04-23 20:29:40 +02:00
Andreas Dangel
391193c044
PMD dogfooding - avoid unnecessary local before return
2018-04-23 20:29:13 +02:00
Andreas Dangel
bf8855c1e5
Merge branch 'pr-1039'
2018-04-23 18:59:05 +02:00
Juan Martín Sotuyo Dodero
a91bc4bfb6
[core] Log only once all messages
...
- CLI runs log only to stderr, never to stdout
- Both Ant and CLI runs log only once, the root logger never gets a
hold of the logs, completely isolating PMD
2018-04-23 01:02:35 -03:00
Andreas Bergander
7c7a66d750
Make BasicProjectMemoizer thread safe. Fixes issue #1020 .
2018-04-17 17:51:32 +02:00
Juan Martín Sotuyo Dodero
29aed16cb9
PMD dogfooding
2018-04-15 12:53:06 -03:00
Juan Martín Sotuyo Dodero
dd1a2910c1
Fixing broken build
2018-04-15 12:46:08 -03:00
Juan Martín Sotuyo Dodero
052c46f5b6
Merge branch 'pr-1006'
2018-04-15 02:06:41 -03:00
Juan Martín Sotuyo Dodero
9d4354333d
Use atomic operations on concurrentmap
...
- Take the chance to actually use the lazy loading
2018-04-15 02:05:45 -03:00
Juan Martín Sotuyo Dodero
e838179bb2
Fix PMD dogfooding
2018-04-15 01:44:02 -03:00
Clément Fournier
83ce600782
Use JunitLoggingRule to intercept log
2018-04-14 04:00:38 +02:00
Clément Fournier
5a65701d0c
Add hamcrest matchers to pom for pmd-core
2018-04-14 03:51:35 +02:00
Clément Fournier
0138b1a69b
Use ConcurrentMap instead of Set
2018-04-14 03:34:36 +02:00
Juan Martín Sotuyo Dodero
d6bea21ed6
[core] Refactor CPD token filtering
...
- Define a generic `TokenFilter` interface in pmd-core
- Provide a base, extension-friendly `JavaCCTokenFilter` to process and
filter JavaCC token streams, honoring `CPD-OFF` and `CPD-ON` comments
- Refactor the `JavaTokenizer` to use `JavaCCTokenFilter` by extending
it and adding custom Java-specific token filters
2018-04-11 01:49:40 -03:00
Clément Fournier
8ae3916505
Merge branch 'master' into update-classnamingconventions
2018-04-07 17:42:19 +02:00
Clément Fournier
a3c93766df
Move toCamelCase to StringUtil
2018-04-07 17:38:59 +02:00
Juan Martín Sotuyo Dodero
8c6688b854
[core] Ignore missing files form auxclasspath
...
- Resolves #988
2018-04-03 02:33:44 -03:00
Clément Fournier
3ca6e40197
Merge branch 'master' into update-classnamingconventions
2018-03-29 18:48:31 +02:00
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
f3ab54d6da
[maven-release-plugin] prepare for next development iteration
2018-03-26 09:23:23 +02:00
Andreas Dangel
59b360a60a
[maven-release-plugin] prepare release pmd_releases/6.2.0
2018-03-26 09:23: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
Andreas Dangel
f335e83043
Cleanup pom.xml files
2018-03-23 10:21:16 +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