10740 Commits

Author SHA1 Message Date
Bendegúz Nagy
35597c9ef0 Java, typres: Add simple method type resolution 2017-07-04 00:06:32 +02:00
Bendegúz Nagy
0c2099ab98 Java, typeres: add method applicability tests 2017-07-03 19:48:45 +02:00
oowekyala
8fd95190b2 Removed AbstractSimpleJavaMetricsRule 2017-07-03 14:44:46 +02:00
oowekyala
cd2f414ace Merge branch 'master' of https://github.com/pmd/pmd into metrics 2017-07-02 15:58:34 +02:00
Andreas Dangel
6652ec9545 [travis] fix release script for upload site 2017-07-01 20:01:19 +02:00
Andreas Dangel
a271c49152 Merge branch 'pmd/5.8.x' 2017-07-01 19:27:43 +02:00
Andreas Dangel
7c9f438eaf Prepare next development version 2017-07-01 19:13:16 +02:00
Andreas Dangel
3ef33bc37e [maven-release-plugin] prepare for next development iteration 2017-07-01 19:08:17 +02:00
Andreas Dangel
de28e518d4 [maven-release-plugin] prepare release pmd_releases/5.8.1 pmd_releases/5.8.1 2017-07-01 19:08:08 +02:00
Andreas Dangel
92c325eb6a Prepare pmd release 5.8.1 2017-07-01 19:02:04 +02:00
Andreas Dangel
b09ac82062 Update release script to take bug fix releases into account 2017-07-01 18:56:33 +02:00
Juan Martín Sotuyo Dodero
8954bb037d Update changelog, refs #478 2017-06-30 18:59:49 -03:00
Juan Martín Sotuyo Dodero
f7f46dbe93 Fix anonymous class naming
- Properly handle nested anonymous classes
2017-06-30 18:56:18 -03:00
Juan Martín Sotuyo Dodero
4783c4e14f Add failing test for nested anonymous classes 2017-06-30 18:56:13 -03:00
oowekyala
f65207639b Removed a change to CollectionUtil 2017-06-30 18:54:28 +02:00
oowekyala
a30449d475 Enhanced wrappers 2017-06-30 16:25:14 +02:00
oowekyala
2b56f54824 Cleaned up abstract metric 2017-06-30 13:32:38 +02:00
Juan Martín Sotuyo Dodero
deaa47ebb0 Fix anonymous classes directly from interfaces
- Fix the failing scenarios such as new Comaprator<String>() {...
2017-06-30 00:52:13 -03:00
Juan Martín Sotuyo Dodero
10aab46ba6 Better comments for edge cases 2017-06-29 21:19:43 -03:00
Juan Martín Sotuyo Dodero
08e8dbc08a Checkstyle fixes 2017-06-29 20:47:26 -03:00
Juan Martín Sotuyo Dodero
15ec10ff35 Updated changelog 2017-06-29 20:39:35 -03:00
Juan Martín Sotuyo Dodero
b6482bb33b Fixes #477
- Allow for references to classes not in the classpath
2017-06-29 20:36:30 -03:00
Juan Martín Sotuyo Dodero
3bd69b15f1 Rework type resolution
- JavaTypeDefinition now lazily resolves generics, meaning less
overhead and avoiding access order problems (ie: class Foo extends <A
extends B, B>). These means you can no longer request the generics list
all at once... but you probably shouldn't anyway
 - I took the chance to move most type resolution code dealing with
Java's Type to the JavaTypeDefinition. This makes things a little
clearer and tidier
 - There are some minor API changes, but since 5.8.0 is recently out I
doubt these have any impact. Plus, there was no easy way to just patch
away the open issues in the old greedy algorithm
2017-06-29 20:16:23 -03:00
oowekyala
6a3b394aa0 Solve plugin errors 2017-06-28 23:59:22 +02:00
Andreas Dangel
ecaa8cb24d Merge branch 'issue-471' into pmd/5.8.x 2017-06-28 21:18:19 +02:00
Andreas Dangel
3692eb0400 Update changelog, fixes #471 2017-06-28 21:11:20 +02:00
Andreas Dangel
6657d741ab Merge branch 'master' of https://github.com/WinterGrascph/pmd into issue-471 2017-06-28 21:06:53 +02:00
Andreas Dangel
11e973bf8f Set version to 5.8.1-SNAPSHOT 2017-06-28 20:59:29 +02:00
oowekyala
b103d8f011 Specialised BasicPropertyDescriptorFactory 2017-06-28 17:48:11 +02:00
oowekyala
c51cab446a Split interfaces 2017-06-27 15:45:33 +02:00
oowekyala
2fe8ded6bd Made properties final 2017-06-27 14:15:14 +02:00
oowekyala
40282e77ae Added NcssCountRule 2017-06-27 09:33:19 +02:00
oowekyala
bc8637d23e Use ParameterizedMetricKeys again 2017-06-27 08:01:50 +02:00
oowekyala
fbf72de7ca Rearranged code 2017-06-27 07:02:16 +02:00
oowekyala
d5f69e5f81 Simplified getter and setter detection 2017-06-27 07:01:32 +02:00
oowekyala
a4af2220ec Merge branch 'master' of https://github.com/pmd/pmd into metrics 2017-06-27 05:58:14 +02:00
oowekyala
de1298f1fa Corrected multinumeric properties 2017-06-27 05:57:45 +02:00
oowekyala
df59eb8977 Finally the enum transformation is complete 2017-06-27 05:55:17 +02:00
oowekyala
e1b12da174 Some documentation 2017-06-27 05:01:15 +02:00
Bendegúz Nagy
39b3f62d33 Java, typeres: fix error with raw types
Issue was with determining the upper bounds of raw types when they had type parameters
with circular references, example: GenericClass<E extends Foo<E>>
2017-06-27 03:50:53 +02:00
oowekyala
68f869e81e Turned PropertyDescriptorFields into an enum
Fully commented multi valued properties
2017-06-26 23:51:50 +02:00
oowekyala
54f4a8647c Merge branch 'master' of https://github.com/pmd/pmd into typesafe-properties 2017-06-26 21:09:52 +02:00
oowekyala
1104b6cd49 Debugged tests 2017-06-26 21:08:53 +02:00
Juan Martín Sotuyo Dodero
affd0f7134 Update changelog, refs #469 2017-06-26 15:09:34 -03:00
Juan Martín Sotuyo Dodero
3c6eed61fc [java] Detect more unnecessary finals
- Mark unnecessary finals in anonymous class methods.
 - Mark unnecessary finals in enum instance methods.
 - Fixes #412
2017-06-26 15:03:23 -03:00
Juan Martín Sotuyo Dodero
d93c5ce676 Update changelog 2017-06-26 14:13:35 -03:00
Juan Martín Sotuyo Dodero
80f901187a Merge branch 'pr-379' 2017-06-26 14:11:35 -03:00
Juan Martín Sotuyo Dodero
4da86f2b8e Document API changes 2017-06-26 13:08:14 -03:00
Juan Martín Sotuyo Dodero
df80e52788 Merge branch 'pr-420' 2017-06-26 13:04:53 -03:00
Juan Martín Sotuyo Dodero
cd5ec52250 Update changelog, refs #420 2017-06-26 13:03:28 -03:00