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
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
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
Clément Fournier
b74e205663
Added test case
2017-03-26 23:38:25 -03:00
Clément Fournier
746f7c0682
Get the @Rule annotated ExpectedExceptions fields
2017-03-26 23:38:25 -03:00
Clément Fournier
38d3f4f67f
Cleaned up one method
2017-03-26 23:38:22 -03:00
Juan Martín Sotuyo Dodero
ff580ffe84
Merge branch 'pr-307'
2017-03-23 13:28:09 -03:00
Juan Martín Sotuyo Dodero
74b6c71025
Merge branch 'pr-307' into pmd/5.5.x
2017-03-23 13:15:52 -03:00
Clément Fournier
a07b8c7fd0
Separated test cases
2017-03-23 13:02:08 -03:00
Clément Fournier
beac88cef6
Optimised conditionals
2017-03-23 13:01:58 -03:00
Clément Fournier
94e3e25c03
Cleaned up
2017-03-23 13:01:50 -03:00
Clément Fournier
c63d8f3191
Fixed bug with inverted ternary expression
2017-03-23 13:01:45 -03:00
Juan Martín Sotuyo Dodero
606f7e3c87
Merge branch 'master' of https://github.com/Oowekyala/pmd
2017-03-22 15:57:06 -03:00
Juan Martín Sotuyo Dodero
11fa26ebef
Merge branch 'pr-303'
2017-03-22 15:56:13 -03:00
Juan Martín Sotuyo Dodero
e261b71258
Merge branch 'pr-303' into pmd/5.5.x
2017-03-22 15:40:43 -03:00
Clément Fournier
c62ad45cf6
Specialized condition
2017-03-22 15:14:09 -03:00
Clément Fournier
3454c6eb4e
Removed test class
2017-03-22 15:13:59 -03:00
Clément Fournier
6bf8138aaf
Added violation case for InefficientEmptyStringCheckRule
...
String.trim().isEmpty() now triggers a violation.
Fixed checkstyle
2017-03-22 15:13:41 -03:00
Clément Fournier
ddf49c4f17
Specialized condition
2017-03-22 18:50:30 +01:00
Clément Fournier
22139c14b4
Removed test class
2017-03-22 17:29:37 +01:00
Clément Fournier
adef0e6e8c
Added violation case for InefficientEmptyStringCheckRule
...
String.trim().isEmpty() now triggers a violation.
Fixed checkstyle
2017-03-22 11:07:48 +01:00
Andreas Dangel
42741e3b48
Merge branch 'issue-282'
2017-03-18 11:05:06 +01:00
Juan Martín Sotuyo Dodero
8e9f9388d4
[java] Fix FP on UnnecessaryLocalBeforeReturn
...
- If the local is initialized using another variable that is later
used, don't consider it a violation. Assume the later use is destructive
and the order is important.
- Fixes #282
2017-03-18 10:58:57 +01:00
Juan Martín Sotuyo Dodero
b05d42de48
[java] Revamp AccessorClassGeneration
...
- Fixes #291
- Complete rewrite. Simpler and faster, using the RuleChain and SymbolTable.
2017-03-18 10:38:19 +01:00
Juan Martín Sotuyo Dodero
6ccd252070
[java] Revamp AccessorClassGeneration
...
- Fixes #291
- Complete rewrite. Simpler and faster, using the RuleChain and SymbolTable.
2017-03-12 23:51:38 -03:00
Andreas Dangel
2d4da66072
Merge branch 'issue-275'
2017-03-03 19:20:26 +01:00
Andreas Dangel
16f2094401
Merge branch 'issue-275' into pmd/5.5.x
2017-03-03 19:12:51 +01:00
Juan Martín Sotuyo Dodero
19114a7030
Simplify XPath expression
2017-03-03 19:03:26 +01:00