85874e7e9c
[maven-release-plugin] prepare for next development iteration
2018-04-29 09:54:45 +02:00
10c66fbf38
[maven-release-plugin] prepare release pmd_releases/6.3.0
2018-04-29 09:54:36 +02:00
751ee8e167
Merge branch 'master' into improve-method-naming-conventions-rule
2018-04-27 00:07:52 +02:00
0942ae36f8
Make MultiThreadProcessor more space efficient
2018-04-24 15:51:10 -03:00
c7e493f283
[java] Enable security ruleset for all-java.xml
2018-04-23 21:21:22 +02:00
ba6f3fb5cb
Merge branch 'pr-1042'
2018-04-23 21:02:48 +02:00
1f662e81f7
Update release notes, refs #1042 - new rule
2018-04-23 21:01:11 +02:00
092ec8264a
Merge branch 'pr-1045', fixes #1036
2018-04-23 20:29:40 +02:00
391193c044
PMD dogfooding - avoid unnecessary local before return
2018-04-23 20:29:13 +02:00
bf8855c1e5
Merge branch 'pr-1039'
2018-04-23 18:59:05 +02:00
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
7c7a66d750
Make BasicProjectMemoizer thread safe. Fixes issue #1020 .
2018-04-17 17:51:32 +02:00
47923d6eb4
Add regex properties to MethodNamingConventions
...
Brush up some AST classes
2018-04-16 16:00:12 +02:00
29aed16cb9
PMD dogfooding
2018-04-15 12:53:06 -03:00
dd1a2910c1
Fixing broken build
2018-04-15 12:46:08 -03:00
052c46f5b6
Merge branch 'pr-1006'
2018-04-15 02:06:41 -03:00
9d4354333d
Use atomic operations on concurrentmap
...
- Take the chance to actually use the lazy loading
2018-04-15 02:05:45 -03:00
e838179bb2
Fix PMD dogfooding
2018-04-15 01:44:02 -03:00
83ce600782
Use JunitLoggingRule to intercept log
2018-04-14 04:00:38 +02:00
5a65701d0c
Add hamcrest matchers to pom for pmd-core
2018-04-14 03:51:35 +02:00
0138b1a69b
Use ConcurrentMap instead of Set
2018-04-14 03:34:36 +02:00
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
8ae3916505
Merge branch 'master' into update-classnamingconventions
2018-04-07 17:42:19 +02:00
a3c93766df
Move toCamelCase to StringUtil
2018-04-07 17:38:59 +02:00
8c6688b854
[core] Ignore missing files form auxclasspath
...
- Resolves #988
2018-04-03 02:33:44 -03:00
3ca6e40197
Merge branch 'master' into update-classnamingconventions
2018-03-29 18:48:31 +02:00
1e3b1bf0b5
Merge branch 'master' into tree-transversal-boundaries
2018-03-29 01:54:56 -03:00
82799bdfe2
Fix property names and utility class detection
2018-03-27 15:05:06 +02:00
958a26db38
CStyle
2018-03-26 20:53:29 +02:00
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
f3ab54d6da
[maven-release-plugin] prepare for next development iteration
2018-03-26 09:23:23 +02:00
59b360a60a
[maven-release-plugin] prepare release pmd_releases/6.2.0
2018-03-26 09:23:14 +02:00
3bcecddbb0
Merge branch 'pr-986'
2018-03-26 09:03:24 +02:00
14d474f333
Merge branch 'pr-991'
...
Closes #974
2018-03-24 22:13:37 +01:00
8dfef6c165
Update changelog, refs #974
2018-03-24 22:13:27 +01:00
ee85254bd0
Merge branch 'master'
2018-03-24 19:05:13 +01:00
a193af1d4a
Use auxclasspath ClassLoader to resolve type qualified names
2018-03-24 19:03:29 +01:00
579914fb7e
Delete old dogfood rulesets
2018-03-23 10:33:41 +01:00
f335e83043
Cleanup pom.xml files
2018-03-23 10:21:16 +01:00
c71db57733
Merge branch 'master' into tree-transversal-boundaries
2018-03-23 01:19:46 -03:00
257d11e4f1
Add unit test for boundary checking
2018-03-23 01:18:53 -03:00
809310cbd2
Improve javadocs
2018-03-23 01:17:05 -03:00
a1ea36adc0
Simplify calls where possible
2018-03-23 00:52:54 -03:00
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
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
36ac7ddd4c
Merge branch 'pr-975'
2018-03-19 01:39:06 -03:00
4254fb3f15
Merge branch 'pr-895'
2018-03-19 01:33:07 -03:00
acd365ad98
Add new rule to release ruleset
2018-03-18 12:32:04 -03:00
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
f725f1ebfa
[java] Honor find boundaries
...
- This fixes #904
- `hasDescendantOfType`, `getFirstDescendantOfType` and
`findDescendantsOfType` are now consistent
2018-03-12 01:13:29 -03:00