Commit Graph

936 Commits

Author SHA1 Message Date
Oowekyala
5d308a5312 Introduced marker interface for AST method and constructor nodes 2017-05-05 17:33:59 +02:00
Oowekyala
5d9434b623 Merge branch 'master' into metrics-prework 2017-05-05 14:52:39 +02:00
Andreas Dangel
44bb2826f1 [java] FieldDeclarationsShouldBeAtStartOfClass: Add unit test
for new "ignoreInterfaceDeclarations" property
Fixes #345
2017-05-01 17:38:14 +02:00
Alex Saveau
fa1e54f87f Add property to ignore interfaces in FieldDeclarationsShouldBeAtStartOfClassRule 2017-04-30 09:47:09 -07:00
Andreas Dangel
0d0134b4fd Change version to 5.7.0-SNAPSHOT 2017-04-29 20:27:03 +02:00
Andreas Dangel
7373b040c9 [maven-release-plugin] prepare for next development iteration 2017-04-29 20:20:16 +02:00
Andreas Dangel
65a18787e9 [maven-release-plugin] prepare release pmd_releases/5.6.1 2017-04-29 20:20:07 +02:00
Andreas Dangel
379f8bc5ec Fix artifact name for pmd-build-tools-plugin
Fixes #363
2017-04-24 20:15:40 +02:00
Andreas Dangel
d4edeefa63 [maven-release-plugin] prepare for next development iteration 2017-04-22 13:20:12 +02:00
Andreas Dangel
38fb34dc17 [maven-release-plugin] prepare release pmd_releases/5.6.0 2017-04-22 13:20:03 +02:00
Andreas Dangel
ece6d81163 java UnnecessaryLocalBeforeReturn: Update property description 2017-04-22 10:58:45 +02:00
Andreas Dangel
05308ef730 java UnnecessaryLocalBeforeReturn: add property "statementOrderMatters"
Fixes #310
2017-04-22 10:53:08 +02:00
Andreas Dangel
2f98c5e679 Merge branch 'issue-330' of https://github.com/Monits/pmd into issue-330 2017-04-21 18:07:07 +02:00
Juan Martín Sotuyo Dodero
6a3b509feb [java] Fix NPE in JUnitTestsShouldIncludeAssert
- Fixes #330
2017-04-15 10:40:13 -03:00
Juan Martín Sotuyo Dodero
98b4b96c4c [java] Fix ClassCastException in AccessorClassGeneration
- Fixes #352
2017-04-15 10:09:26 -03:00
Andreas Dangel
8bba026974 Merge branch 'faster-symboltable' of https://github.com/Monits/pmd into pr-333 2017-04-14 11:27:11 +02:00
Andreas Dangel
271e059c04 Merge branch 'rename-unusedmodifier' of https://github.com/Monits/pmd into pr-299 2017-04-12 21:38:00 +02:00
Juan Martín Sotuyo Dodero
523495750f Merge branch 'pr-332' 2017-04-11 12:37:52 -03:00
Michael Pellegrini
b78ed9d1a4 Enhance to allow on-demand imports of inner classes
- Allow for import java.lang.ProcessBuilder.*
- Update test cases to test for above scenario
2017-04-10 22:32:52 -04:00
Juan Martín Sotuyo Dodero
5929e57b23 [java] Avoid recomputing qualified types
- This method is called millions of times, to help resolve variable and
argument types. Memoization of the result can reduce symboltable
analysis times by up to 50%
2017-04-09 13:57:34 -03:00
Michael Pellegrini
f3612139da Merge remote-tracking branch 'origin/master' into feature/import_java.lang.invoke 2017-04-07 18:40:20 -04:00
Michael Pellegrini
0e5160e488 Updating code to make more future proof 2017-04-07 18:29:40 -04:00
Michael Pellegrini
2fe1271788 Allow java.lang.invoke. imports in the DontImportJavaLangRule 2017-04-07 07:09:18 -07:00
Clément Fournier
2c79299ecb Added test case 2017-04-06 23:47:17 +02:00
Clément Fournier
4b45d1a7e6 Rules handles AllocationExpressions 2017-04-06 23:38:51 +02:00
Clément Fournier
1ad748764d Support for constructors 2017-04-01 13:57:07 +02:00
Clément Fournier
4b671f5d12 Abstracted signatures 2017-04-01 13:57:07 +02:00
Clément Fournier
7a5894c856 Implemented signatures 2017-04-01 13:57:07 +02:00
Clément Fournier
92568e3174 Started holder impl 2017-04-01 13:57:06 +02:00
Clément Fournier
b922bcd04c Started holder impl 2017-04-01 13:57:06 +02:00
Clément Fournier
af650cc987 Double enum selection 2017-04-01 13:57:06 +02:00
Clément Fournier
9fedb69d42 Simple Key enum selection 2017-04-01 13:57:06 +02:00
Andreas Dangel
6202f46718 Merge branch 'pmd/5.5.x' 2017-03-27 22:45:13 +02:00
Andreas Dangel
5d55f43d70 [maven-release-plugin] prepare for next development iteration 2017-03-27 22:34:45 +02:00
Andreas Dangel
8477966aad [maven-release-plugin] prepare release pmd_releases/5.5.5 2017-03-27 22:34:37 +02:00
Andreas Dangel
350152e795 Merge branch 'pmd/5.4.x' into pmd/5.5.x 2017-03-27 22:17:14 +02:00
Andreas Dangel
998fac4d55 [maven-release-plugin] prepare for next development iteration 2017-03-27 22:07:10 +02:00
Andreas Dangel
d9675bbc6f [maven-release-plugin] prepare release pmd_releases/5.4.6 2017-03-27 22:07:00 +02:00
Andreas Dangel
19ee0cd37b InefficientEmptyStringCheck: Fix NPE 2017-03-27 21:55:38 +02:00
Andreas Dangel
aaf9419344 Merge branch 'issue-309' 2017-03-27 21:21:38 +02:00
Andreas Dangel
23ac01aa90 Merge branch 'issue-309' into pmd/5.5.x 2017-03-27 21:14:56 +02:00
Andreas Dangel
abe2e8561c Fixes #309: [java] Parse error on method reference 2017-03-27 21:07:28 +02:00
Juan Martín Sotuyo Dodero
9f0bffbd38 Merge branch 'pr-308' 2017-03-27 00:18:50 -03:00
Juan Martín Sotuyo Dodero
0c3a72fa9e Merge branch 'pr-308' into pmd/5.5.x 2017-03-26 23:58:19 -03:00
Juan Martín Sotuyo Dodero
6458883a61 Improve test, cover cases whith no rule / assert 2017-03-26 23:38:26 -03:00
Clément Fournier
493e289200 Added test case 2017-03-26 23:38:26 -03:00
Clément Fournier
80a469c4c7 Removed debug outputs 2017-03-26 23:38:25 -03:00
Clément Fournier
0a25010869 Cleaned up 2017-03-26 23:38:25 -03:00
Clément Fournier
d2642920ec Added original test case 2017-03-26 23:38:25 -03:00
Clément Fournier
b9bb0ca373 Completed bug fix 2017-03-26 23:38:25 -03:00