Commit Graph

716 Commits

Author SHA1 Message Date
05308ef730 java UnnecessaryLocalBeforeReturn: add property "statementOrderMatters"
Fixes #310
2017-04-22 10:53:08 +02:00
2f98c5e679 Merge branch 'issue-330' of https://github.com/Monits/pmd into issue-330 2017-04-21 18:07:07 +02:00
6a3b509feb [java] Fix NPE in JUnitTestsShouldIncludeAssert
- Fixes #330
2017-04-15 10:40:13 -03:00
98b4b96c4c [java] Fix ClassCastException in AccessorClassGeneration
- Fixes #352
2017-04-15 10:09:26 -03:00
8bba026974 Merge branch 'faster-symboltable' of https://github.com/Monits/pmd into pr-333 2017-04-14 11:27:11 +02:00
271e059c04 Merge branch 'rename-unusedmodifier' of https://github.com/Monits/pmd into pr-299 2017-04-12 21:38:00 +02:00
523495750f Merge branch 'pr-332' 2017-04-11 12:37:52 -03:00
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
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
f3612139da Merge remote-tracking branch 'origin/master' into feature/import_java.lang.invoke 2017-04-07 18:40:20 -04:00
0e5160e488 Updating code to make more future proof 2017-04-07 18:29:40 -04:00
2fe1271788 Allow java.lang.invoke. imports in the DontImportJavaLangRule 2017-04-07 07:09:18 -07:00
2c79299ecb Added test case 2017-04-06 23:47:17 +02:00
4b45d1a7e6 Rules handles AllocationExpressions 2017-04-06 23:38:51 +02:00
6202f46718 Merge branch 'pmd/5.5.x' 2017-03-27 22:45:13 +02:00
5d55f43d70 [maven-release-plugin] prepare for next development iteration 2017-03-27 22:34:45 +02:00
8477966aad [maven-release-plugin] prepare release pmd_releases/5.5.5 2017-03-27 22:34:37 +02:00
350152e795 Merge branch 'pmd/5.4.x' into pmd/5.5.x 2017-03-27 22:17:14 +02:00
998fac4d55 [maven-release-plugin] prepare for next development iteration 2017-03-27 22:07:10 +02:00
d9675bbc6f [maven-release-plugin] prepare release pmd_releases/5.4.6 2017-03-27 22:07:00 +02:00
19ee0cd37b InefficientEmptyStringCheck: Fix NPE 2017-03-27 21:55:38 +02:00
aaf9419344 Merge branch 'issue-309' 2017-03-27 21:21:38 +02:00
23ac01aa90 Merge branch 'issue-309' into pmd/5.5.x 2017-03-27 21:14:56 +02:00
abe2e8561c Fixes #309: [java] Parse error on method reference 2017-03-27 21:07:28 +02:00
9f0bffbd38 Merge branch 'pr-308' 2017-03-27 00:18:50 -03:00
0c3a72fa9e Merge branch 'pr-308' into pmd/5.5.x 2017-03-26 23:58:19 -03:00
6458883a61 Improve test, cover cases whith no rule / assert 2017-03-26 23:38:26 -03:00
493e289200 Added test case 2017-03-26 23:38:26 -03:00
80a469c4c7 Removed debug outputs 2017-03-26 23:38:25 -03:00
0a25010869 Cleaned up 2017-03-26 23:38:25 -03:00
d2642920ec Added original test case 2017-03-26 23:38:25 -03:00
b9bb0ca373 Completed bug fix 2017-03-26 23:38:25 -03:00
b74e205663 Added test case 2017-03-26 23:38:25 -03:00
746f7c0682 Get the @Rule annotated ExpectedExceptions fields 2017-03-26 23:38:25 -03:00
38d3f4f67f Cleaned up one method 2017-03-26 23:38:22 -03:00
ff580ffe84 Merge branch 'pr-307' 2017-03-23 13:28:09 -03:00
74b6c71025 Merge branch 'pr-307' into pmd/5.5.x 2017-03-23 13:15:52 -03:00
a07b8c7fd0 Separated test cases 2017-03-23 13:02:08 -03:00
beac88cef6 Optimised conditionals 2017-03-23 13:01:58 -03:00
94e3e25c03 Cleaned up 2017-03-23 13:01:50 -03:00
c63d8f3191 Fixed bug with inverted ternary expression 2017-03-23 13:01:45 -03:00
606f7e3c87 Merge branch 'master' of https://github.com/Oowekyala/pmd 2017-03-22 15:57:06 -03:00
11fa26ebef Merge branch 'pr-303' 2017-03-22 15:56:13 -03:00
e261b71258 Merge branch 'pr-303' into pmd/5.5.x 2017-03-22 15:40:43 -03:00
c62ad45cf6 Specialized condition 2017-03-22 15:14:09 -03:00
3454c6eb4e Removed test class 2017-03-22 15:13:59 -03:00
6bf8138aaf Added violation case for InefficientEmptyStringCheckRule
String.trim().isEmpty() now triggers a violation.

Fixed checkstyle
2017-03-22 15:13:41 -03:00
ddf49c4f17 Specialized condition 2017-03-22 18:50:30 +01:00
22139c14b4 Removed test class 2017-03-22 17:29:37 +01:00
adef0e6e8c Added violation case for InefficientEmptyStringCheckRule
String.trim().isEmpty() now triggers a violation.

Fixed checkstyle
2017-03-22 11:07:48 +01:00