11543 Commits

Author SHA1 Message Date
Clément Fournier
c58921303d Support Java 9 and 8 2017-11-01 15:29:11 +01:00
Clément Fournier
1295f29ac9 Export to rule wizard 2017-10-31 19:01:51 +01:00
Clément Fournier
d7d502e0c4 Fix maven 2017-10-16 19:53:43 +02:00
Clément Fournier
a986e38b3d Merge branch 'master' of https://github.com/pmd/pmd into fx-designer 2017-10-16 13:54:30 +02:00
Clément Fournier
4f6e55ce26 Mediator pattern 2017-10-14 20:02:00 +02:00
Andreas Dangel
598c7910a3 Merge branch 'pr-664' 2017-10-13 10:51:00 +02:00
Andreas Dangel
d2c52eb37b Merge branch 'pr-662' 2017-10-13 10:48:31 +02:00
Andreas Dangel
e737e38d73 [ci] check for var encrypted_5630fbebf057_iv in setup-secrets
This should now allow forked builds to finally run on travis...
2017-10-13 10:37:16 +02:00
Juan Martín Sotuyo Dodero
6f5f6d3d97 Update changelog, refs #328 2017-10-10 12:10:59 -03:00
Juan Martín Sotuyo Dodero
dbe0168865 [java] Avoid errors upon resolving invalid classes
- Resolves #328
 - Take the chance to simplify some error handling
(`NoClassDefFoundError` extends `LinkageError`)
2017-10-10 12:08:52 -03:00
Juan Martín Sotuyo Dodero
a81d142317 [core] Avoid a phony warning about not using cache
- Avoid creating a NoopAnalysisCache by default to prevent a phony
warning about not using the cache being printed.
 - This way, we only produce a new instance lazily if not configured,
preserving the same behaviour bu without the warning.
2017-10-10 00:46:07 -03:00
Travis CI (pmd-bot)
da8ac69f4e Update documentation 2017-10-09 19:10:37 +00:00
Juan Martín Sotuyo Dodero
6000bcb2e2 Merge branch 'pr-660' 2017-10-09 15:51:11 -03:00
Juan Martín Sotuyo Dodero
047dfa54f0 Update changelog, refs #660 2017-10-09 15:48:40 -03:00
Juan Martín Sotuyo Dodero
4dcef95e43 Add new apex-performance/AvoidSoslInLoops rule to 600 ruleset 2017-10-09 15:44:20 -03:00
Jan Aertgeerts
96de1715cd [apex] avoid sosl in loops 2017-10-09 16:04:54 +02:00
Travis CI (pmd-bot)
591eedecea Update documentation 2017-10-08 23:28:51 +00:00
Juan Martín Sotuyo Dodero
60c87ff783 Merge branch 'pr-625' 2017-10-08 20:20:10 -03:00
Juan Martín Sotuyo Dodero
34a565ca00 Update changelog, refs #625 2017-10-08 20:00:36 -03:00
Juan Martín Sotuyo Dodero
3c067d8071 Add references to 6.0.0 release ruleset 2017-10-08 19:55:32 -03:00
Travis CI (pmd-bot)
ec63573517 Update documentation 2017-10-08 22:54:47 +00:00
Juan Martín Sotuyo Dodero
33804aa08f Merge branch 'pr-632' 2017-10-08 19:45:38 -03:00
Juan Martín Sotuyo Dodero
f3b3bdb693 Update changelog, refs #632 2017-10-08 19:44:56 -03:00
Juan Martín Sotuyo Dodero
9b28bdbe86 Add AvoidDirectAccessTriggerMap to 6.0.0 release rs 2017-10-08 19:37:16 -03:00
Andreas Dangel
5279901a03 [ci] fix script 2017-10-08 09:54:02 +02:00
Andreas Dangel
f13ba86f9c [ci] consider forked builds as pull requests
forked builds are travis builds on forked repos
2017-10-08 09:43:56 +02:00
Jan Aertgeerts
dedf954cb0 [apex] move to style ruleset and add literal expression in arrayload exception 2017-10-07 23:28:38 +02:00
Andreas Dangel
61376f8112 [core] add temporary support for maven debug output
refs #650
2017-10-07 21:28:56 +02:00
Juan Martín Sotuyo Dodero
005e0d0fdf Merge branch 'pr-653' 2017-10-06 19:09:21 -03:00
Juan Martín Sotuyo Dodero
312d896db8 update changelog, refs #653 2017-10-06 19:08:59 -03:00
Andreas Dangel
1c3049ee6c Fix checkstyle 2017-10-06 21:07:25 +02:00
Andreas Dangel
1af49cdca9 Fix checkstyle 2017-10-06 20:25:01 +02:00
Andreas Dangel
af4ddfbbcf [java] Fix rule StringToString after arrays are arrays 2017-10-06 20:17:09 +02:00
Andreas Dangel
e84866aa8d [java] typeresolution: don't throw if the type variables couldn't be resolved 2017-10-06 20:09:26 +02:00
Andreas Dangel
ece871c2f7 [java] typeresolution: when we couldn't resolve a method in
the first two phases, we assumed, that it would be varargs method.
This is not always the case.
2017-10-06 19:48:55 +02:00
Andreas Dangel
afae1385aa [java] typeresolution: support varags with generics 2017-10-06 18:05:30 +02:00
Andreas Dangel
acc05d4c9c [java] typeresolution: resolve arrays in some cases correctly 2017-10-06 18:05:27 +02:00
Andreas Dangel
04e65cd20c [java] typeresolution: avoid NPE if no type is known for a method argument 2017-10-06 18:05:27 +02:00
Andreas Dangel
231956c47e [java] typeresolution: simple inheritance/override check 2017-10-06 18:05:24 +02:00
Andreas Dangel
c0302cd314 [java] check for parsing/processing errors in unit test 2017-10-05 22:40:37 +02:00
Andreas Dangel
1582e40055 [java] typeresolution - add unit test for abstract return type case 2017-10-05 22:31:55 +02:00
Andreas Dangel
716e21221c [java] typeresolution: add test for generic wildcard method parameters 2017-10-05 22:28:00 +02:00
Juan Martín Sotuyo Dodero
d5a83ae807 Revert "Revert "Merge branch 'pr-287'""
This reverts commit 63ea1906afacc108871bb42c8e98d1e684df58c8.
2017-10-05 17:03:57 -03:00
Andreas Dangel
efb78e9f79 [java] TypeResolution - support basic method overriding 2017-10-05 21:39:16 +02:00
Andreas Dangel
2e5dcf9a95 [java] Fix NPE in NcssCount rule
Parent could also be a enum or an annotation and not just a class/interface.
2017-10-05 21:04:25 +02:00
Andreas Dangel
dd596f0aef [java] Typeresolution: Return empty set instead of null for erased cadidate set 2017-10-05 20:56:46 +02:00
Andreas Dangel
b517838fbb [java] Fix ClassTypeResolver when using annotated types 2017-10-04 21:09:49 +02:00
Andreas Dangel
1ecf87c2b5 [java] Fix RedundantFieldInitializerRule not able to parse java7 literals with underscore 2017-10-04 20:54:42 +02:00
Clément Fournier
0cb4d99645 Make it work 2017-10-02 23:05:04 +02:00
Clément Fournier
15b638082b Split fxml and controllers 2017-10-02 02:24:39 +02:00