John Zhang
aeb554ee62
Issue 872 fix
...
This commit attempts a fix to issue 872.
The inputFileName ('master' file) parameter may be null,
in which case the function returns just the file name if short name is required.
2018-01-23 11:46:02 +11:00
Travis CI (pmd-bot)
8aeddd09a4
Update documentation
2018-01-21 20:01:11 +00:00
Juan Martín Sotuyo Dodero
02e84360aa
[doc] Update sidebar generation
2018-01-21 16:50:02 -03:00
Juan Martín Sotuyo Dodero
10d8b194bb
Revert "Update documentation"
...
This reverts commit 3548fd14c06717460473cf417d3e1b397f0a6165.
2018-01-21 16:24:40 -03:00
Travis CI (pmd-bot)
3548fd14c0
Update documentation
2018-01-21 18:12:05 +00:00
Juan Martín Sotuyo Dodero
142fb16358
Merge branch 'pr-860'
2018-01-21 14:59:31 -03:00
Juan Martín Sotuyo Dodero
33edaeb46b
Update changelog, refs #803
2018-01-21 14:52:55 -03:00
Juan Martín Sotuyo Dodero
527bfce72f
Merge branch 'pr-803'
2018-01-21 14:52:00 -03:00
Juan Martín Sotuyo Dodero
77f3637f53
Remove quotes
2018-01-21 14:51:43 -03:00
Juan Martín Sotuyo Dodero
1065006b8a
Upodate changelog, refs #790
2018-01-21 14:47:45 -03:00
Juan Martín Sotuyo Dodero
e1e8ad5984
Merge branch 'pr-790'
2018-01-21 14:47:11 -03:00
Juan Martín Sotuyo Dodero
17c925b9db
Update changelog, refs #830
2018-01-21 14:45:06 -03:00
Juan Martín Sotuyo Dodero
3de3335714
Merge branch 'pr-830'
2018-01-21 14:42:09 -03:00
Juan Martín Sotuyo Dodero
69fc4ffc2d
Update changelog, refs #791
2018-01-21 14:39:57 -03:00
Juan Martín Sotuyo Dodero
e6be5b3e44
Merge branch 'pr-818'
2018-01-21 14:39:07 -03:00
Andreas Dangel
5bcc09ccc4
Release script: add step to update docs/_config.yml
2018-01-21 16:51:52 +01:00
Andreas Dangel
182dadaa4b
Prepare next development version
2018-01-21 16:45:02 +01:00
Andreas Dangel
8fbb156fd9
[maven-release-plugin] prepare for next development iteration
2018-01-21 16:42:50 +01:00
Andreas Dangel
0e460317e4
[maven-release-plugin] prepare release pmd_releases/6.0.1
pmd_releases/6.0.1
2018-01-21 16:42:42 +01:00
Andreas Dangel
585b2c4642
Prepare pmd release 6.0.1
2018-01-21 16:30:51 +01:00
Andreas Dangel
34b9d23887
Update/fix release script
...
* fix syntax error
* allow to override the next version
2018-01-21 16:22:59 +01:00
Travis CI (pmd-bot)
81c5b27df0
Update documentation
2018-01-21 15:02:06 +00:00
Andreas Dangel
b3f4520ed1
Merge branch 'pr-867'
2018-01-21 15:42:40 +01:00
Andreas Dangel
02989303a6
[java] Avoid double rule de-referincing in controversial and migrating_*
2018-01-21 15:42:28 +01:00
Andreas Dangel
594f7e3254
Merge branch 'pr-865'
2018-01-21 15:30:48 +01:00
Andreas Dangel
f7ecfaa01b
Update release notes, refs #865
2018-01-21 15:30:41 +01:00
Juan Martín Sotuyo Dodero
15db5ad0b4
[java] typeresolution points directly to categories
...
- Fixes #866
2018-01-21 06:21:55 -03:00
Juan Martín Sotuyo Dodero
abc73bfc7b
[core] Log all rules' movements to categories
...
- All rules will log where they where moved to, even if the ruleset is
referenced as a whole
- All deprecation warnings now let's users know on which version
support will be removed.
2018-01-21 05:43:49 -03:00
Andreas Dangel
c6bc5ff306
Merge branch 'pr-857'
...
Closes #827
2018-01-20 17:57:38 +01:00
Clément Fournier
f8ca4a75d3
Extract Pattern constant from parse method
2018-01-20 01:53:23 +01:00
Andreas Dangel
3472bf1764
[doc] Fix wrong bootclasspath to be able to use java8 api
2018-01-18 16:33:33 +01:00
Andreas Dangel
7faba76809
Update release notes, fixes #848
2018-01-17 20:57:28 +01:00
Andreas Dangel
411be4ac00
[doc] Further changes for windows compatibility
2018-01-17 20:51:56 +01:00
Andreas Dangel
090975a972
[doc] Fix file handle leak in SidebarGenerator
2018-01-17 20:19:33 +01:00
Andreas Dangel
1ef5367498
[doc] Fix build/unit tests under windows
...
* expect line names with windows path normalized to unix paths
* normalize line endings
* File.separator might be a backslash and needs to be escaped in regex
2018-01-17 19:41:45 +01:00
Clément Fournier
6e461f09d7
Update release notes, refs #827
2018-01-17 00:15:35 +01:00
Clément Fournier
65949bcf6e
Merge branch 'master' of github.com:pmd/pmd into issue-827
2018-01-17 00:15:13 +01:00
Clément Fournier
2ca4b347c3
Make TCC consider local classes.
...
If a local class is declared inside a method of the outer class,
then attribute accesses made by the local class count as if they
are made by the enclosing method.
2018-01-16 23:42:29 +01:00
Clément Fournier
8cfc073b8c
Add local class support to JavaQualifiedName
2018-01-16 20:35:15 +01:00
Clément Fournier
27b4abe221
Add isLocal() to ASTClassOrInterfaceDeclaration
2018-01-16 18:18:23 +01:00
Juan Martín Sotuyo Dodero
c843a6f534
Make test cases more direct
...
- No personal interpretation, but let Java process the values
2018-01-16 01:14:42 -03:00
Andreas Dangel
96cc4f01f3
Merge branch 'pr-849'
...
Closes #841
2018-01-15 20:45:34 +01:00
Andreas Dangel
23a673114c
Merge branch 'pr-835'
2018-01-15 20:42:48 +01:00
Juan Martín Sotuyo Dodero
fe53f8bb91
Update changelog, refs #841
2018-01-14 16:17:11 -03:00
Juan Martín Sotuyo Dodero
391c1e8842
Unify literal parsing logic
2018-01-14 16:15:22 -03:00
Juan Martín Sotuyo Dodero
ab96e34099
[java] Resolve NumberFormatException
...
- InsufficientStringBufferDeclaration now supports all numbr formats
(even octal and binary)
- We move the logic of understanding the literal value to the literal
node. Looking for other places where this logic is being replicated is
pending
2018-01-14 16:14:38 -03:00
Juan Martín Sotuyo Dodero
a5b546d044
Java 7 compatible implementation
2018-01-13 21:01:37 -03:00
Juan Martín Sotuyo Dodero
79a43fac0f
Update changelog, refs #831
2018-01-13 20:44:29 -03:00
Juan Martín Sotuyo Dodero
303f05d8d3
[java] Resolve StackOverflow in JavaTypeDefinitionSimple.toString()
...
- Resolves #831
2018-01-13 20:43:01 -03:00
Juan Martín Sotuyo Dodero
0c9f27bbbe
Inline gitter badge
2018-01-13 20:42:22 -03:00