12013 Commits

Author SHA1 Message Date
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
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
Juan Martín Sotuyo Dodero
b0775343ca Merge pull request #840 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2018-01-13 20:41:48 -03:00
Juan Martín Sotuyo Dodero
554abc4ac9 Merge branch 'pr-846' 2018-01-13 20:40:46 -03:00
Andreas Dangel
ff9a951c9e Determine java7 home with jdk_switcher 2018-01-13 11:23:26 +01:00
Andreas Dangel
4f62e84392 Use openjdk7
See https://raw.githubusercontent.com/michaelklishin/jdk_switcher/1e091549285fb0f2591cef679b4135cfbfcc0b4c/jdk_switcher.sh for the paths
See travis-ci/travis-ci#7964
2018-01-13 11:13:59 +01:00
Andreas Dangel
12409be1ef Update release notes, refs #842 2018-01-12 23:37:14 +01:00
Andreas Dangel
4ba1cbcb46 Use bootclasspath when building for java7
Note: this is only works correctly, if the property java7.home is set
Fixes #842
2018-01-12 23:36:18 +01:00
Andreas Dangel
9bc7074fb9 Merge branch 'pr-821' 2018-01-11 17:30:40 +01:00
Andreas Dangel
b6fc30964e Add unit test, refs #817 2018-01-11 17:29:34 +01:00
Andreas Dangel
17ea5a89a0 Merge branch 'pr-820' 2018-01-11 17:16:04 +01:00
The Gitter Badger
e6df2c4436 Add Gitter badge 2018-01-11 07:48:19 +00:00
Clément Fournier
4b43bbcb19 Merge branch 'pr-822' 2018-01-08 00:33:17 +01:00
Juan Martín Sotuyo Dodero
dd0c94a082 Merge branch 'pr-826' 2018-01-07 18:17:31 -03:00
Juan Martín Sotuyo Dodero
4ce6a019e1 Add test scenario 2018-01-07 17:33:33 -03:00
Andreas Dangel
baee671c4a Update release notes, refs #782 2018-01-01 16:33:35 +01:00
Clément Fournier
17dee8d1aa Merge branch 'pr-823' 2017-12-31 18:54:14 +01:00
Juan Martín Sotuyo Dodero
72b22cfa5f Update changelog, refs #812 2017-12-31 01:38:26 -03:00
Juan Martín Sotuyo Dodero
2059eac54b [java] Fix concurrency issue on metrics' framework
- Resolves #812
2017-12-31 01:36:56 -03:00
Juan Martín Sotuyo Dodero
99f8a72f27 Update changelog, refs #800 2017-12-31 01:23:13 -03:00
Juan Martín Sotuyo Dodero
c64f6af157 [java] Avoid NPE in ForLoopCanBeForeachRule
- Take the chance to make this rule use the rulechain
 - This partially fixes #800, but the FN is still unhandled
2017-12-31 01:20:04 -03:00
Juan Martín Sotuyo Dodero
c10a8c6844 Update changelog, refs #817 2017-12-31 01:03:13 -03:00
Juan Martín Sotuyo Dodero
83496c0e59 [java] Fix NPE on UnnecessaryModifierRule
- Fixes #817
2017-12-31 01:01:30 -03:00
Juan Martín Sotuyo Dodero
ec7f64fe55 Update changelog, refs #814 2017-12-31 00:49:59 -03:00