2532 Commits

Author SHA1 Message Date
Clément Fournier
45331699ab Add to quickstart ruleset 2019-06-26 19:59:16 +02:00
Clément Fournier
8fc0e9c875 Add test cases 2019-06-26 19:53:18 +02:00
Clément Fournier
8e988fd7fd Add DoubleBraceInitialization to design.xml 2019-06-26 19:40:11 +02:00
Clément Fournier
6b3ccdf069 Add a test case 2019-06-24 12:11:12 +02:00
Andreas Dangel
86ce57ca3c [java] CloseResource: support try-with-resources 2019-06-22 19:01:24 +02:00
Andreas Dangel
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
Andreas Dangel
eab41508da [java] CloseResource: Use java.lang.AutoCloseable by default 2019-06-22 10:25:27 +02:00
Andreas Dangel
2da9708d20 [java] The rule CloseResource should deal with IO stream as default
Fixes #1000
2019-06-22 10:25:26 +02:00
Juan Martín Sotuyo Dodero
ecfcfaf8ae Merge branch 'pr-1851' 2019-06-16 21:44:11 -03:00
artem.krosheninnikov
fadaf07015 review fixes 2019-06-14 13:02:15 +03:00
artem.krosheninnikov
3e280cd9d0 Merge branch 'master' into 1845-fix-methodreturnsinternalarray-regression 2019-06-14 12:33:41 +03:00
artem.krosheninnikov
5f40ab11cf enum with array instead of copy, inner enums with error and no error 2019-06-14 01:47:17 +03:00
artem.krosheninnikov
c5a77fbc35 add inner interface, inner and top-level annotations 2019-06-13 01:04:50 +03:00
Andreas Dangel
427b5003a3 Merge branch 'pr-1829' 2019-06-08 17:22:18 +02:00
Andreas Dangel
142a706d5e Merge branch 'pr-1792' 2019-06-08 17:10:23 +02:00
Clément Fournier
348a9972e6 Fix #1853 false positive in NonStaticInitializer 2019-06-02 09:26:13 +02:00
Andreas Dangel
2bcb8dcfdc Merge branch 'pr-1849' 2019-06-01 19:41:20 +02:00
Andreas Dangel
fe420562a1 More deprecations of node setters and constructors 2019-06-01 19:16:37 +02:00
Andreas Dangel
2d60e2b822 Remove more unnecessary comments from javacc 2019-06-01 19:15:50 +02:00
Andreas Dangel
b76fefb974 Merge branch 'master' into pr-1829 2019-06-01 11:02:18 +02:00
Andreas Dangel
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
Andreas Dangel
f1f20b97f2 [java] UnsynchronizedStatic(Date)Formatter - test cases, documentation
* Fixes #1814
* Fixes #1815
2019-06-01 10:31:20 +02:00
Andreas Dangel
8492c32273 UseUtilityClass - fix false-negatives with inner classes 2019-06-01 10:04:33 +02:00
Andreas Dangel
3227f7e605 [java] UseUtilityClass should be LombokAware
Fixes #1094
2019-05-31 20:36:45 +02:00
Andreas Dangel
9758f3afb0 Move lombok annotations to UnusedPrivateFieldRule and SingularFieldRule
Add additional test cases for ImmutableField and BeanMembersShouldSerialize
2019-05-31 19:49:19 +02:00
Andreas Dangel
1f7cc9b74c Merge branch 'master' into pr-1792 2019-05-31 19:28:40 +02:00
Andreas Dangel
a5780c6372 Fix lombok annotation lombok.experimental.Delegate 2019-05-31 19:28:30 +02:00
Andreas Dangel
34853337a0 Add test cases of #1703 for SingularField and UnusedPrivateField
Co-Authored: jakivey32
2019-05-31 19:28:06 +02:00
artem.krosheninnikov
7f619ebe14 fix checkstyle violation 2019-05-31 16:37:58 +03:00
Clément Fournier
94afed80df Fix ambiguity with switch 2019-05-30 15:48:55 +02:00
Clément Fournier
0df9870ec4 Add regression test for modifiers mixed with annotations 2019-05-30 15:11:17 +02:00
Clément Fournier
39921f40b4 Add to grammar changelog 2019-05-30 15:06:50 +02:00
Clément Fournier
396bdeea90 Fix package privateism 2019-05-30 14:59:25 +02:00
artem.krosheninnikov
06b84079b9 #1845 Regression in MethodReturnsInternalArray not handling enums 2019-05-30 15:54:05 +03:00
Clément Fournier
10158751d2 Fix local class modifiers being forgotten 2019-05-30 14:53:16 +02:00
Clément Fournier
ff579dfd53 Fix repeated annotation 2019-05-29 10:15:15 +02:00
Clément Fournier
fb8744d8a8 Remove duplicate annotations 2019-05-28 21:57:46 +02:00
Clément Fournier
ccbf12a267 Add visit comment 2019-05-28 21:57:44 +02:00
Clément Fournier
97db569ccd Remove jjtree comments 2019-05-28 21:57:07 +02:00
Clément Fournier
31f15b7622 Deprecate setters 2019-05-28 21:16:41 +02:00
Clément Fournier
76e638c83f Deprecate base node classes 2019-05-28 21:09:21 +02:00
Clément Fournier
3e66d232d7 Deprecate AST constructors 2019-05-28 21:05:46 +02:00
Andreas Dangel
5ac687918a [maven-release-plugin] prepare for next development iteration 2019-05-26 11:02:26 +02:00
Andreas Dangel
ba2d795f59 [maven-release-plugin] prepare release pmd_releases/6.15.0 2019-05-26 11:02:18 +02:00
Andreas Dangel
145753eab7 Improve deprecation notice for LoggerIsNotStaticFinal 2019-05-26 10:21:23 +02:00
Clément Fournier
6d9356cb05 Merge branch 'bedla-logger-class-names' for PR #1762 2019-05-26 00:56:18 +02:00
Clément Fournier
fb8a422d73 Merge branch for pr #1647 2019-05-26 00:46:33 +02:00
Andreas Dangel
b9ac84ef33 Fix unit test for QuickstartRuleset
check the logger directly instead of System.err.
2019-05-25 18:49:05 +02:00
Andreas Dangel
1f01557ca9 Merge branch 'pr-1843' 2019-05-25 18:11:42 +02:00
Andreas Dangel
8563ed8c35 Merge branch 'pr-1798' 2019-05-25 17:52:27 +02:00