1a690ed1e8
Fix DoubleBraceInitialization example
2019-07-01 18:33:48 +02:00
73a8e4cc69
[maven-release-plugin] prepare for next development iteration
2019-06-30 10:33:08 +02:00
45facbd323
[maven-release-plugin] prepare release pmd_releases/6.16.0
2019-06-30 10:32:58 +02:00
92184ba56f
Merge branch 'pr-1539'
2019-06-30 09:28:16 +02:00
210a3dc8f9
Merge branch 'pr-1894'
2019-06-30 09:25:45 +02:00
da69dc777a
[java] CloseResource: fix another FP
2019-06-29 15:29:03 +02:00
c2a45c64ca
[java] CloseResource: verify first argument for chained streams
2019-06-29 15:01:24 +02:00
74f36bf18e
[java] Deprecate AvoidFinalLocalVariable
...
Fixes #1612 , Refs #1482
2019-06-29 14:34:36 +02:00
d10d522d1f
Explain the existence of AvoidFinalLocalVariable in it's description
2019-06-29 14:20:36 +02:00
40849dda65
[java] CloseResource: consider chained streams
...
This assumes that the underlaying stream is always the
first argument in the constructor call.
2019-06-29 14:13:42 +02:00
5825f6190f
Merge branch 'master' into close-resource-io
2019-06-29 12:30:18 +02:00
18006de84c
[java] CloseResource: Update release notes and rule documentation
2019-06-29 12:29:40 +02:00
ae046bb516
[java] CloseResource: verify old behaviour can be restored
2019-06-29 12:19:24 +02:00
62a2c12585
[java] CloseResource: consider javax.jms.Connection as before
...
Adding back the default types java.sql.Connection etc. so that
we also match javax.jms.Connection in case no type information
is available as before.
Also fix the reported type when method calls are involved.
2019-06-29 12:15:19 +02:00
f6cc999f2c
[java] CloseResource: Use simple class name in message
...
Report simple class name to retain same message as before.
This helps in comparing the reports.
2019-06-29 11:22:03 +02:00
314bb71336
Fix reporting of nested classes inside interfaces/enums
2019-06-29 11:13:51 +02:00
7db495f7aa
[java] CommentDefaultAccessModifier: add new property "checkTopLevelTypes"
...
Fixes #1880
2019-06-29 10:30:45 +02:00
c66fb768ef
Merge branch 'pr-1889'
2019-06-28 21:10:55 +02:00
d7b0a21f99
Merge branch 'pr-1887'
2019-06-28 20:59:39 +02:00
9cf19214ff
Move to bestpractices
2019-06-26 22:18:45 +02:00
45331699ab
Add to quickstart ruleset
2019-06-26 19:59:16 +02:00
8fc0e9c875
Add test cases
2019-06-26 19:53:18 +02:00
8e988fd7fd
Add DoubleBraceInitialization to design.xml
2019-06-26 19:40:11 +02:00
6b3ccdf069
Add a test case
2019-06-24 12:11:12 +02:00
86ce57ca3c
[java] CloseResource: support try-with-resources
2019-06-22 19:01:24 +02:00
1e03ae5c06
[java] CloseResource - add allowedResourceTypes property for exceptions
...
By default, ByteArrayOutputStream and StringWriter are excluded from
the rule.
2019-06-22 12:24:43 +02:00
eab41508da
[java] CloseResource: Use java.lang.AutoCloseable by default
2019-06-22 10:25:27 +02:00
2da9708d20
[java] The rule CloseResource should deal with IO stream as default
...
Fixes #1000
2019-06-22 10:25:26 +02:00
ecfcfaf8ae
Merge branch 'pr-1851'
2019-06-16 21:44:11 -03:00
fadaf07015
review fixes
2019-06-14 13:02:15 +03:00
3e280cd9d0
Merge branch 'master' into 1845-fix-methodreturnsinternalarray-regression
2019-06-14 12:33:41 +03:00
5f40ab11cf
enum with array instead of copy, inner enums with error and no error
2019-06-14 01:47:17 +03:00
c5a77fbc35
add inner interface, inner and top-level annotations
2019-06-13 01:04:50 +03:00
427b5003a3
Merge branch 'pr-1829'
2019-06-08 17:22:18 +02:00
142a706d5e
Merge branch 'pr-1792'
2019-06-08 17:10:23 +02:00
348a9972e6
Fix #1853 false positive in NonStaticInitializer
2019-06-02 09:26:13 +02:00
2bcb8dcfdc
Merge branch 'pr-1849'
2019-06-01 19:41:20 +02:00
fe420562a1
More deprecations of node setters and constructors
2019-06-01 19:16:37 +02:00
2d60e2b822
Remove more unnecessary comments from javacc
2019-06-01 19:15:50 +02:00
b76fefb974
Merge branch 'master' into pr-1829
2019-06-01 11:02:18 +02:00
0c219e2a59
[java] UnsynchronizedStatic(Date)Formatter - new property allowMethodLevelSynchronization
...
This new property is added to allow backwards compatibility, since
the rule now allows by default only synchronized blocks.
2019-06-01 10:53:40 +02:00
f1f20b97f2
[java] UnsynchronizedStatic(Date)Formatter - test cases, documentation
...
* Fixes #1814
* Fixes #1815
2019-06-01 10:31:20 +02:00
8492c32273
UseUtilityClass - fix false-negatives with inner classes
2019-06-01 10:04:33 +02:00
3227f7e605
[java] UseUtilityClass should be LombokAware
...
Fixes #1094
2019-05-31 20:36:45 +02:00
9758f3afb0
Move lombok annotations to UnusedPrivateFieldRule and SingularFieldRule
...
Add additional test cases for ImmutableField and BeanMembersShouldSerialize
2019-05-31 19:49:19 +02:00
1f7cc9b74c
Merge branch 'master' into pr-1792
2019-05-31 19:28:40 +02:00
a5780c6372
Fix lombok annotation lombok.experimental.Delegate
2019-05-31 19:28:30 +02:00
34853337a0
Add test cases of #1703 for SingularField and UnusedPrivateField
...
Co-Authored: jakivey32
2019-05-31 19:28:06 +02:00
7f619ebe14
fix checkstyle violation
2019-05-31 16:37:58 +03:00
94afed80df
Fix ambiguity with switch
2019-05-30 15:48:55 +02:00