Commit Graph

1653 Commits

Author SHA1 Message Date
Juan Martín Sotuyo Dodero
94103cb0c2 Merge branch 'pr-1030' 2018-04-15 02:09:35 -03:00
Juan Martín Sotuyo Dodero
052c46f5b6 Merge branch 'pr-1006' 2018-04-15 02:06:41 -03:00
Andreas Dangel
28714a156b [java] enable type resolution for AvoidUsingShortType
refs #586
2018-04-13 11:12:51 +02:00
Andreas Dangel
5fa3167868 Corrections from PR #1032 2018-04-10 17:29:23 +02:00
Andreas Dangel
b720210723 [java] AvoidUsingShortType erroneously triggered on overrides of 3rd party methods
Fixes #586
2018-04-10 16:29:04 +02:00
Andreas Dangel
9d40872259 Avoid potential NPE 2018-04-09 20:29:49 +02:00
Andreas Dangel
f1923bd4b2 Merge branch 'pr-1026' 2018-04-09 19:30:22 +02:00
Andreas Dangel
ee5a7eefa3 [java] Refactor how the classloader is passed along, avoiding static 2018-04-09 17:07:07 +02:00
Juan Martín Sotuyo Dodero
b30a31397c Fix checkstyle 2018-04-09 10:43:36 -03:00
Andreas Dangel
82cbd52240 [java] Fix wrong classloader for JavaQualifiedName 2018-04-09 15:34:25 +02:00
Andreas Dangel
354108dc40 [java] False positive for useless parenthesis
Fixes #1023
2018-04-09 12:28:13 +02:00
Juan Martín Sotuyo Dodero
50158421c1 [java] Prevent NPEs during JavaTypeDefinitionSimple.toString
- Resolves #894
 - Resolves #899
2018-04-09 02:20:25 -03:00
Andreas Dangel
bfae79011d Fix checkstyle 2018-04-08 09:33:12 +02:00
Juan Martín Sotuyo Dodero
a24e52b658 Merge branch 'pr-1024' 2018-04-07 21:30:25 -03:00
Juan Martín Sotuyo Dodero
f8e64abb6e Simplify regexp 2018-04-07 21:23:12 -03:00
Juan Martín Sotuyo Dodero
ae48542132 Revert check on initializers 2018-04-07 21:06:02 -03:00
Clément Fournier
8ae3916505 Merge branch 'master' into update-classnamingconventions 2018-04-07 17:42:19 +02:00
Clément Fournier
a3c93766df Move toCamelCase to StringUtil 2018-04-07 17:38:59 +02:00
Clément Fournier
4496aa7d6a Add getKind to AnyTypeBodyDeclaration 2018-04-07 17:24:24 +02:00
Utku Cuhadaroglu
56bf57ec2e Try to fix problem about enum whitlist 2018-04-07 18:09:45 +03:00
Andreas Dangel
99a73ca59b Merge branch 'pr-1012'
Closes #1009
2018-04-06 10:01:52 +02:00
Utku Cuhadaroglu
e869ea43da fixed test typo 2018-04-05 18:22:22 +03:00
Utku Cuhadaroglu
ace459c670 Accept Enums as a Declaration 2018-04-05 18:18:22 +03:00
BBG
c94890b353 fixed comments 2018-04-05 18:41:20 +08:00
Andreas Dangel
fff1a5eeee Merge branch 'pr-1010' 2018-04-04 16:44:53 +02:00
Juan Martín Sotuyo Dodero
c9621b8880 More explicit implementation 2018-04-03 21:29:47 -03:00
Juan Martín Sotuyo Dodero
cb5c100465 [java] Ignore receiver parameters when matching signatures
- Allow sto match all method calls, meaning UnusedPrivateMethod will
not longer produce false positives
 - Resolves #719
2018-04-03 03:42:43 -03:00
Juan Martín Sotuyo Dodero
2052087676 [java] Allow UnusedFormalParameter to ignore receiver params
- Part of #719
2018-04-03 03:42:09 -03:00
BBG
27d2d88158 fixed comments 2018-04-02 10:36:35 +08:00
BBG
c0846c26a7 merge master 2018-04-01 19:46:45 +08:00
BBG
ca1aff2e8e fixed pmd violation 2018-04-01 19:16:28 +08:00
BBG
eb09126fb0 detects unnecessary constructor in enum 2018-04-01 19:16:28 +08:00
BBG
a8b3cebb96 Issue #1003: rewriting UneccessaryConstructorRule into java rule 2018-04-01 19:16:28 +08:00
Clément Fournier
3ca6e40197 Merge branch 'master' into update-classnamingconventions 2018-03-29 18:48:31 +02:00
BBG
c1306659fb Issue #1009: fixed FP of JUnitAssertionsShouldIncludeMessage with assertEquals in Junit5 2018-03-29 17:11:00 +08:00
Juan Martín Sotuyo Dodero
1e3b1bf0b5 Merge branch 'master' into tree-transversal-boundaries 2018-03-29 01:54:56 -03:00
Clément Fournier
66983f0882 Use the rulechain 2018-03-27 15:32:25 +02:00
Clément Fournier
82799bdfe2 Fix property names and utility class detection 2018-03-27 15:05:06 +02:00
Clément Fournier
600ff54187 Update rule documentation and changelog 2018-03-27 14:10:40 +02:00
Clément Fournier
c7f5de7aa1 Make ClassNamingConventions configurable 2018-03-27 13:41:22 +02:00
Clément Fournier
74bb7598c3 Ensure java rules don't use deprecated attributes
This could be extended to other languages once we
tackle #360
2018-03-26 20:36:40 +02:00
Andreas Dangel
f3ab54d6da [maven-release-plugin] prepare for next development iteration 2018-03-26 09:23:23 +02:00
Andreas Dangel
59b360a60a [maven-release-plugin] prepare release pmd_releases/6.2.0 2018-03-26 09:23:14 +02:00
Andreas Dangel
3bcecddbb0 Merge branch 'pr-986' 2018-03-26 09:03:24 +02:00
Juan Martín Sotuyo Dodero
7ef2168eae Merge branch 'pr-958' 2018-03-25 23:39:14 -03:00
BBG
9d9fa22c31 Issue #956: fixed comments 2018-03-25 14:06:43 +08:00
Clément Fournier
dbcaf663f4 Fix CompareObjectsWithEquals 2018-03-24 22:17:59 +01:00
Andreas Dangel
14d474f333 Merge branch 'pr-991'
Closes #974
2018-03-24 22:13:37 +01:00
Clément Fournier
ee85254bd0 Merge branch 'master' 2018-03-24 19:05:13 +01:00
Clément Fournier
a193af1d4a Use auxclasspath ClassLoader to resolve type qualified names 2018-03-24 19:03:29 +01:00