7997297e0b
test case for
...
public void createNonNullArray() {
return new MetaColumn @NonNull [value];
}
2017-05-30 14:13:38 +02:00
b5474cdcf8
test case and fix for
...
public static <T extends @NonNull Enum<T>> getEnum() {
return null;
}
2017-05-30 14:05:29 +02:00
0660c7298a
+ simplified
2017-05-30 12:31:03 +02:00
d314a2c301
test case for
...
private byte @Nullable [] getBytes(){
return null;
}
2017-05-30 12:20:26 +02:00
7a4766e8a6
[java] Parsing Problem with Annotation for Array Member Types #417
2017-05-30 10:52:09 +02:00
68ab7048cb
*[java]* Java 8 parsing problem with annotations for wildcards #414
2017-05-29 18:20:12 +02:00
7ef9b93b90
Add method reference test case
2017-05-26 14:24:24 -03:00
43c13b4c8c
Merge branch 'master' into PR18700
2017-05-26 10:26:19 +02:00
4f826d2e08
Fix for PR 18700: False positive Design8 (lambda expression containing function call).
...
Fixed it by having ASTLambdaExpression.isFindBoundary() return true, analogous to ASTClassOrInterfaceBodyDeclaration.isFindBoundary().
2017-05-23 09:54:39 +02:00
1e64c0d864
[maven-release-plugin] prepare for next development iteration
2017-05-20 22:35:55 +02:00
9b70c1a0d1
[maven-release-plugin] prepare release pmd_releases/5.7.0
2017-05-20 22:35:46 +02:00
0434f9bd22
Fix javadoc
2017-05-20 21:51:31 +02:00
4e72eef495
[java] Parser Error for empty statements
...
Fixes #378
2017-05-20 21:28:39 +02:00
92d2e68396
Merge branch 'master' of https://github.com/fsherstobitov/pmd into issue-358
2017-05-20 20:54:06 +02:00
6d768485dd
Merge branch 'master' of https://github.com/alwa/pmd into pr-392
2017-05-20 20:46:00 +02:00
fb471281b0
Merge branch 'trailingwhitespace' of https://github.com/vanniktech/pmd into pr-390
2017-05-20 20:36:21 +02:00
ff67aa0799
Update changelog, refs #334 #382
2017-05-20 20:04:38 +02:00
b82228d8df
Fixes #358 Mockito verify method is not taken into account in JUnitTestsShouldIncludeAssert rule - treat Mockito's verify and Mockito.verify as assert statements
2017-05-17 11:27:04 +05:00
207cbf9c91
False positive for Law Of Demeter: https://sourceforge.net/p/pmd/bugs/1427/
2017-05-10 23:56:34 +02:00
e297f7c48b
Removed copypaste suggestion
2017-05-10 11:35:09 +02:00
d076264813
Remove trailing whitespaces in design.xml
2017-05-09 10:32:50 +02:00
01164e2de5
Use a permalink
2017-05-07 01:04:16 +02:00
fdff9bb964
Added documentation details
2017-05-06 02:14:05 +02:00
44bb2826f1
[java] FieldDeclarationsShouldBeAtStartOfClass: Add unit test
...
for new "ignoreInterfaceDeclarations" property
Fixes #345
2017-05-01 17:38:14 +02:00
fa1e54f87f
Add property to ignore interfaces in FieldDeclarationsShouldBeAtStartOfClassRule
2017-04-30 09:47:09 -07:00
0d0134b4fd
Change version to 5.7.0-SNAPSHOT
2017-04-29 20:27:03 +02:00
7373b040c9
[maven-release-plugin] prepare for next development iteration
2017-04-29 20:20:16 +02:00
65a18787e9
[maven-release-plugin] prepare release pmd_releases/5.6.1
2017-04-29 20:20:07 +02:00
379f8bc5ec
Fix artifact name for pmd-build-tools-plugin
...
Fixes #363
2017-04-24 20:15:40 +02:00
d4edeefa63
[maven-release-plugin] prepare for next development iteration
2017-04-22 13:20:12 +02:00
38fb34dc17
[maven-release-plugin] prepare release pmd_releases/5.6.0
2017-04-22 13:20:03 +02:00
ece6d81163
java UnnecessaryLocalBeforeReturn: Update property description
2017-04-22 10:58:45 +02:00
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