15198 Commits

Author SHA1 Message Date
Juan Martín Sotuyo Dodero
e72a92d2fb Merge branch 'master' into issue-1952 2019-09-02 17:46:20 -03:00
Juan Martín Sotuyo Dodero
de13f7a0ae Add missing imports to fix tests 2019-09-02 17:40:33 -03:00
Juan Martín Sotuyo Dodero
3a7f747c05 Improve TypeHelper.isA to better handle edge cases 2019-09-02 17:40:03 -03:00
Juan Martín Sotuyo Dodero
42197f68b2 Merge pull request #1996 from pmd/dependabot/bundler/docs/nokogiri-1.10.4
Bump nokogiri from 1.8.5 to 1.10.4 in /docs
2019-09-02 16:27:20 -03:00
Juan Martín Sotuyo Dodero
89443f5373 Merge branch 'pr-1994' 2019-09-02 14:44:51 -03:00
Juan Martín Sotuyo Dodero
e93ec2bcc2 Update changelog, refs #1994 2019-09-02 14:44:35 -03:00
dependabot[bot]
1192ca5051 Bump nokogiri from 1.8.5 to 1.10.4 in /docs
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.8.5 to 1.10.4.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.8.5...v1.10.4)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-02 17:41:26 +00:00
Clément Fournier
3755d5d7d4 Tag n.s.pmd.cache as internal API,
update release notes
2019-08-29 22:18:01 +02:00
Clément Fournier
6cd8ae38ff Merge branch 'Monits-issue-1990' 2019-08-29 22:09:48 +02:00
Juan Martín Sotuyo Dodero
29921f03e5 Fix breaking tests 2019-08-29 12:53:22 -03:00
Amish Shah
230af90386 [core] Resolve pmd-report failure when java folder in filepath - refs 1465 2019-08-29 08:00:07 -05:00
Juan Martín Sotuyo Dodero
bf2ad56799 Update changelog, refs #1990 2019-08-27 11:03:37 -03:00
Juan Martín Sotuyo Dodero
b85d71f632 [core] Resolve cached rule instances by more than class name
- Fixes #1990
2019-08-27 11:02:27 -03:00
Travis CI (pmd-bot)
056b0f73a8 Update documentation
TRAVIS_JOB_NUMBER=4118.1
TRAVIS_COMMIT_RANGE=febf512e9c77...780edaa5f5af
2019-08-18 04:55:24 +00:00
Juan Martín Sotuyo Dodero
780edaa5f5 Merge branch 'pr-1970' 2019-08-18 01:37:02 -03:00
Juan Martín Sotuyo Dodero
f5b9f6be23 Update changelog, refs #1970 2019-08-18 01:36:19 -03:00
Juan Martín Sotuyo Dodero
febf512e9c Merge branch 'pr-1968' 2019-08-18 01:28:07 -03:00
Andreas Dangel
882d5c67d2 Merge branch 'pr-1983' 2019-08-17 16:42:57 +02:00
Andreas Dangel
5dd890c1bb Update release notes, refs #1983 2019-08-17 16:42:21 +02:00
Andreas Dangel
29ea6834a5 Merge branch 'pr-1971' 2019-08-17 16:30:28 +02:00
Andreas Dangel
c8034b7d30 Update release notes, fixes #1862, refs #1971 2019-08-17 16:30:10 +02:00
Juan Martín Sotuyo Dodero
8e9b992338 Improve assertion 2019-08-16 14:22:23 -03:00
Juan Martín Sotuyo Dodero
660c018511 Fix failing test 2019-08-15 14:34:05 -03:00
Juan Martín Sotuyo Dodero
032acbd65d Add failing test for non-existing entries in classpath 2019-08-15 14:33:35 -03:00
Anton Kot
9796dc1431 docs_and_kotlin_version_rollback 2019-08-14 09:52:13 +02:00
Anton Kot
e581bba71e review_changes 2019-08-13 17:48:25 +02:00
Anton Kot
ce4b2c6041 Issue_1862_No_Message_Digest_class_field 2019-08-12 13:02:26 +02:00
Tobias Weimer
f8bb126c6c [java] DoubleBraceInitialization:
* Updated documentation to make the example compile (there is no varargs version of addAll(..))
2019-08-11 11:16:33 +02:00
Andreas Dangel
fac5604d63 Merge branch 'pr-1956' 2019-08-10 22:21:22 +02:00
Andreas Dangel
fc9a3cd5a0 Update release notes - add rule designer documentation 2019-08-10 22:21:06 +02:00
Andreas Dangel
331a9f941d (doc) Improve css for displaying details/summary tag 2019-08-10 22:14:27 +02:00
Andreas Dangel
7f7213b8e7 [java] CloseResource: Fix NPE if type of method parameter is not known 2019-08-10 19:04:08 +02:00
Andreas Dangel
27164804f1 [java] CloseResource: fix false-negative when byte array is passed in 2019-08-10 18:11:28 +02:00
Andreas Dangel
c87af46d3f Update release notes
* Reference fixed issues in test cases for CloseResources
* Fixes #1922
* Fixes #1966
* Fixes #1967
2019-08-10 12:25:42 +02:00
Andreas Dangel
cb63f5f8c4 [java] CloseResource: add test case for #1076
The problem is not reproducible.
2019-08-10 12:03:17 +02:00
Andreas Dangel
377275edae [java] CloseResource: possible false positive with Streams
By default `java.util.stream.Stream` is now ignored.
Fixes #1922
2019-08-10 12:03:09 +02:00
Andreas Dangel
e0535f4bce [java] CloseResource: add additional test case 2019-08-10 12:03:09 +02:00
Andreas Dangel
ef8ed08ee0 [java] CloseResource: fix false positive with assignments before try 2019-08-10 12:03:09 +02:00
Andreas Dangel
619172560b [java] CloseResource: consider method parameters in general 2019-08-10 12:03:09 +02:00
Andreas Dangel
5b63d787c7 [java] CloseResource: ignore variables that are initialized from parameters
If a closable local variable is initialized from a method/constructor
parameter, then it is ignored. In that case, the resource is not created
in this method, but somewhere else. Therefore the resources should
be closed there.
2019-08-10 12:03:03 +02:00
Andreas Dangel
4a2943510c Fix excludes when creating src dist zip
The biggest part was the "vendor/**" stuff from ruby.
This is created during the build and should not be
part of the source distribution.

Also added a test to assert that some sensitive data
from .travis/ doesn't accidentally leak.
2019-08-09 21:46:03 +02:00
Andreas Dangel
1a5486dc30 Merge branch 'pr-1954' 2019-08-04 11:22:56 +02:00
Andreas Dangel
1b7d0f8576 Update release notes, fixes #1951 2019-08-04 10:40:46 +02:00
Andreas Dangel
f9d8898f7a [java] Fix FP for UnnecessaryFQNRule with sub packages 2019-08-04 10:39:56 +02:00
Andreas Dangel
8fdea448e4 [java] Compare ignored annotations by fully qualified names only
Fixes #1952
2019-08-03 12:31:28 +02:00
Clément Fournier
46a8d87fb7 Try to fix confused image reference
Build of #1956 is failing but just on macosx...
See https://travis-ci.org/pmd/pmd/jobs/566211322

Idk what's the problem, maybe it's because '(?!)' looks
like a negative lookahead
2019-08-01 01:37:32 +02:00
Clément Fournier
959c98c906 Fix dead link detection for image links 2019-08-01 01:00:25 +02:00
Clément Fournier
79b2de8549 Put designer wiki doc on the website
Fix absolute links

Add css for details tag

Add installation doc
2019-07-31 19:01:11 +02:00
Clément Fournier
225430953b Checkstyle 2019-07-30 19:43:49 +02:00
Andreas Dangel
091ce3d40e [java] Deprecate ASTImportDeclaration#getImportedNameNode() as well
Refs #1888
2019-07-30 19:30:19 +02:00