Andreas Dangel
544c819274
[test] Kotlin DSL to ease test writing
...
* Merge branch 'pr-1395'
* Fixes #1318
* Update release notes
* Update version for new module
2018-10-29 19:23:06 +01:00
Andreas Dangel
3c50db2439
[maven-release-plugin] prepare for next development iteration
2018-10-28 16:49:09 +01:00
Andreas Dangel
7e4e859c5f
[maven-release-plugin] prepare release pmd_releases/6.9.0
2018-10-28 16:48:57 +01:00
Clément Fournier
db979ecaaf
Merge branch 'master' into pr-1409
2018-10-27 23:45:46 +02:00
Clément Fournier
a822deabc4
Merge branch 'master' into pr-1410
2018-10-27 23:39:02 +02:00
Andreas Dangel
2f5cba1b5b
Merge remote-tracking branch 'origin/master'
2018-10-27 23:04:44 +02:00
Clément Fournier
b62b216b29
Merge branch 'pr-1399'
2018-10-27 22:55:10 +02:00
Andreas Dangel
c4e7117f5e
[java] CommentDefaultAccessModifierRule
...
* refactor
* extend documentation
2018-10-27 22:53:44 +02:00
Andreas Dangel
741f204739
Merge branch 'pr-1400'
2018-10-27 22:41:15 +02:00
Andreas Dangel
ada6d83a83
[java] CommentDefaultAccessModifier: add test case for ignoredAnnotations
2018-10-27 22:36:52 +02:00
Andreas Dangel
2dd0033520
Fix checkstyle
2018-10-27 22:12:41 +02:00
Clément Fournier
39f87ca5f3
Update schema location in rulesets
2018-10-27 21:02:16 +02:00
Jan Brümmer
ae97d9f112
Issue-1343: Remove unnecessary method call.
2018-10-27 15:18:23 +02:00
Andreas Dangel
1d48c49c81
Merge branch 'pr-1401'
2018-10-26 18:29:06 +02:00
Will Herrmann
3cd41d799c
Changing printStackTrace() into throwing a RuntimeException
2018-10-25 16:47:40 -05:00
Andreas Dangel
666dc36343
[java] UnusedImports false positive for static import with package-private method usage
...
Fixes #1209
2018-10-24 19:46:58 +02:00
Andreas Dangel
b8111a5c13
[java] UnusedImports false positive with static ondemand import with method call
...
Fixes #1404
2018-10-24 19:26:36 +02:00
Clément Fournier
dec7f21841
Deprecate rule classes of deprecated rules
2018-10-22 22:50:22 +02:00
Will Herrmann
377baf7caf
Replacing IOUtils.closeQuietly(foo) with try-with-resources statements
2018-10-19 14:23:51 -05:00
Jan Brümmer
74378ae0d9
Issue-1343: Add method from super class
2018-10-19 15:32:00 +02:00
Jan Brümmer
73b3a0e6da
Fix Issue-1343: CommentDefaultAccesModifierRule now extends AbstractIgnoredAnnotationRule
2018-10-19 13:15:27 +02:00
Andreas Dangel
7edaf78e4a
[java] Improve UnnecessaryModifier explanation
...
Merge branch 'pr-1380'
2018-10-17 20:05:18 +02:00
Andreas Dangel
d558f528b9
Merge branch 'pr-1392'
2018-10-17 19:46:12 +02:00
Andreas Dangel
5e641cdf76
Merge branch 'pr-1388'
2018-10-17 08:52:38 +02:00
Andreas Dangel
dc6b4e90a9
Merge branch 'pr-1382'
2018-10-17 08:46:47 +02:00
Will Herrmann
ead382b686
Replacing IOUtils.toString() with readAsString()
2018-10-16 16:34:23 -05:00
Juan Martín Sotuyo Dodero
53a60ee924
Simplify rule
2018-10-15 23:18:17 -03:00
Clément Fournier
3dc9edaa7b
Port group tests
2018-10-15 16:51:42 +02:00
Juan Martín Sotuyo Dodero
b0b74ff610
Fix the rulechain usage
...
- Thanks to https://github.com/pmd/build-tools/pull/10
2018-10-15 05:32:03 -03:00
Juan Martín Sotuyo Dodero
51a743515e
Fix #1199
2018-10-15 04:33:23 -03:00
Juan Martín Sotuyo Dodero
39b4bfdcd2
Add failing test scenario for #1199
2018-10-15 04:32:54 -03:00
Juan Martín Sotuyo Dodero
54830cd579
Fix #1369
2018-10-15 03:52:08 -03:00
Juan Martín Sotuyo Dodero
5ce73a5ce0
Add failing test case
2018-10-15 03:52:00 -03:00
Juan Martín Sotuyo Dodero
03983d8481
Merge branch 'pr-1383'
2018-10-14 14:13:28 -03:00
Clément Fournier
cce3fa5815
Merge branch 'pr-1282'
2018-10-14 18:25:01 +02:00
Felix Lampe
e8ac08c387
Improved message for GuardLogStatement rule (Issue #1202 ).
2018-10-14 17:03:02 +02:00
Will Herrmann
cba4e87acd
Replacing deprecated IO methods with ones that specify a charset
...
Standardizing with StandardCharsets.UTF_8, given that it was used in
several places of code already, and it provides compile-time checking
(as opposed to "UTF-8")
2018-10-12 17:25:08 -05:00
Clément Fournier
b073960dc0
Followup on #1366
2018-10-12 11:43:19 +02:00
Juan Martín Sotuyo Dodero
4398004953
Merge branch 'pr-1374'
2018-10-09 22:00:38 -03:00
Juan Martín Sotuyo Dodero
7a54afaa89
Remove duplicated test case
2018-10-09 21:57:18 -03:00
Will Winder
5b324578f3
Add test cases.
2018-10-08 15:29:42 -04:00
Juan Martín Sotuyo Dodero
14a375a510
Merge pull request #1370 from adangel/issue-1330
...
[java] PMD crashes with java.lang.ClassFormatError: Absent Code
2018-10-08 15:42:30 -03:00
Will Winder
2acd68ddef
Add missing null check.
2018-10-08 09:33:25 -04:00
Will Winder
b49f5d9e1a
Simplify check for 'Test' annotation in JUnitTestsShouldIncludeAssertRule. Issue #1365
2018-10-08 09:25:48 -04:00
Andreas Dangel
17b651190e
[java] PMD crashes with java.lang.ClassFormatError: Absent Code
...
attribute in method that is not native or abstract in class file
javax/xml/ws/Service
Fixes #1330
2018-10-06 11:17:45 +02:00
Andreas Dangel
1f7c827323
Merge branch 'master' into unit-test-split
2018-10-05 20:39:22 +02:00
Andreas Dangel
6d00e74142
Use new base class PmdRuleTst for rule tests
2018-10-05 20:33:38 +02:00
Andreas Dangel
a28657d8dd
[test] Add a PMD specific PmdRuleTst base class for PMD's own tests.
...
Restore SimpleAggregatorTst to be general again.
2018-10-05 19:47:40 +02:00
Vishva007
33f58b3282
bar spell
2018-10-04 00:28:10 +05:30
Vishva007
eb95804ea8
Static Modifier on Interface pmd #1356
2018-10-04 00:03:38 +05:30